mirror of https://github.com/proxmox/mirror_qemu
target/arm: Optimize MVE VSLI and VSRI
Optimize the MVE shift-and-insert insns by using TCG vector ops when possible. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210913095440.13462-12-peter.maydell@linaro.orgmaster
parent
a7789fabe1
commit
ce75c43f6d
|
@ -1668,8 +1668,8 @@ DO_2SHIFT_VEC(VSHRI_U, vshli_u, true, do_gvec_shri_u)
|
|||
DO_2SHIFT(VRSHRI_S, vrshli_s, true)
|
||||
DO_2SHIFT(VRSHRI_U, vrshli_u, true)
|
||||
|
||||
DO_2SHIFT(VSRI, vsri, false)
|
||||
DO_2SHIFT(VSLI, vsli, false)
|
||||
DO_2SHIFT_VEC(VSRI, vsri, false, gen_gvec_sri)
|
||||
DO_2SHIFT_VEC(VSLI, vsli, false, gen_gvec_sli)
|
||||
|
||||
#define DO_2SHIFT_FP(INSN, FN) \
|
||||
static bool trans_##INSN(DisasContext *s, arg_2shift *a) \
|
||||
|
|
Loading…
Reference in New Issue