Re: [PATCH v2 24/46] target/loongarch: Implement LASX logic instructions

2023-07-08 Thread Richard Henderson
On 6/30/23 08:58, Song Gao wrote: +len = (simd_oprsz(v) == 16) ? LSX_LEN : LASX_LEN; Use simd_oprsz directly, without the rest of the computation. r~

[PATCH v2 24/46] target/loongarch: Implement LASX logic instructions

2023-06-30 Thread Song Gao
This patch includes: - XV{AND/OR/XOR/NOR/ANDN/ORN}.V; - XV{AND/OR/XOR/NOR}I.B. Signed-off-by: Song Gao --- target/loongarch/disas.c | 12 target/loongarch/insn_trans/trans_lasx.c.inc | 11 +++ target/loongarch/insn_trans/trans_lsx.c.inc | 5 +++-- targe