Re: [PATCH v4 15/48] target/loongarch: Implement xvadda
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
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 ++-