[RFC PATCH 39/43] target/loongarch: Implement vinsgr2vr vpickve2gr vreplgr2vr

2022-12-24 Thread Song Gao
This patch includes: - VINSGR2VR.{B/H/W/D}; - VPICKVE2GR.{B/H/W/D}[U]; - VREPLGR2VR.{B/H/W/D}. Signed-off-by: Song Gao --- target/loongarch/disas.c| 33 + target/loongarch/helper.h | 18 +++ target/loongarch/insn_trans/trans_lsx.c.inc | 53 +++ ta

Re: [RFC PATCH 39/43] target/loongarch: Implement vinsgr2vr vpickve2gr vreplgr2vr

2022-12-24 Thread Richard Henderson
On 12/24/22 00:16, Song Gao wrote: +DEF_HELPER_4(vinsgr2vr_b, void, env, i32, i32, i32) +DEF_HELPER_4(vinsgr2vr_h, void, env, i32, i32, i32) +DEF_HELPER_4(vinsgr2vr_w, void, env, i32, i32, i32) +DEF_HELPER_4(vinsgr2vr_d, void, env, i32, i32, i32) +DEF_HELPER_4(vpickve2gr_b, void, env, i32, i32, i