Re: [PATCH v11 09/26] target/loongarch: Add fixed point extra instruction translation

2021-11-20 Thread Richard Henderson
On 11/19/21 7:13 AM, Song Gao wrote: +DEF_HELPER_3(crc32, tl, tl, tl, tl) +DEF_HELPER_3(crc32c, tl, tl, tl, tl) +DEF_HELPER_2(cpucfg, tl, env, tl) DEF_HELPER_FLAGS_N, TCG_CALL_NO_RWG_SE. +target_ulong helper_cpucfg(CPULoongArchState *env, target_ulong rj) +{ +return env->cpucfg[rj]; +}

[PATCH v11 09/26] target/loongarch: Add fixed point extra instruction translation

2021-11-18 Thread Song Gao
This includes: - CRC[C].W.{B/H/W/D}.W - SYSCALL - BREAK - ASRT{LE/GT}.D - RDTIME{L/H}.W, RDTIME.D - CPUCFG Signed-off-by: Song Gao Signed-off-by: Xiaojuan Yang Reviewed-by: Richard Henderson --- target/loongarch/helper.h | 4 ++ target/loongarch/insn_trans/trans_extra.c.in