Re: [PATCH v4 15/48] target/loongarch: Implement xvadda

2023-08-30 Thread Richard Henderson
On 8/30/23 01:48, Song Gao wrote: -#define DO_VABS(a) ((a < 0) ? (-a) : (a)) - -#define DO_VADDA(NAME, BIT, E, DO_OP) \ -void HELPER(NAME)(void *vd, void *vj, void *vk, uint32_t v) \ -{ \ -int i;

[PATCH v4 15/48] target/loongarch: Implement xvadda

2023-08-30 Thread Song Gao
This patch includes: - XVADDA.{B/H/W/D}. Signed-off-by: Song Gao --- target/loongarch/vec.h | 2 ++ target/loongarch/insns.decode| 5 target/loongarch/disas.c | 5 target/loongarch/vec_helper.c| 24 ++-