Re: [PATCH RESEND v5 16/57] target/loongarch: Implement xvaddi/xvsubi

2023-09-09 Thread Richard Henderson
On 9/7/23 01:31, Song Gao wrote: +static bool gvec_xx_i(DisasContext *ctx, arg_vv_i *a, MemOp mop, + void (*func)(unsigned, uint32_t, uint32_t, + int64_t, uint32_t, uint32_t)) +{ +if (!check_vec(ctx, 32)) { +return true; +} +

[PATCH RESEND v5 16/57] target/loongarch: Implement xvaddi/xvsubi

2023-09-07 Thread Song Gao
This patch includes: - XVADDI.{B/H/W/D}U; - XVSUBI.{B/H/W/D}U. Signed-off-by: Song Gao Reviewed-by: Richard Henderson --- target/loongarch/insns.decode | 9 +++ target/loongarch/disas.c| 14 +++ target/loongarch/insn_trans/trans_vec.c.inc | 28