]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/arm: Optimize MVE VMVN
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Sep 2021 09:54:36 +0000 (10:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 21 Sep 2021 15:28:27 +0000 (16:28 +0100)
Optimize the MVE VMVN insn 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-9-peter.maydell@linaro.org

target/arm/translate-mve.c

index 13de55242e2523d52cdce2efbd91cad22910ae72..4583e22f21c820619288c8c05416ddb1940ea662 100644 (file)
@@ -769,7 +769,7 @@ static bool trans_VREV64(DisasContext *s, arg_1op *a)
 
 static bool trans_VMVN(DisasContext *s, arg_1op *a)
 {
-    return do_1op(s, a, gen_helper_mve_vmvn);
+    return do_1op_vec(s, a, gen_helper_mve_vmvn, tcg_gen_gvec_not);
 }
 
 static bool trans_VABS_fp(DisasContext *s, arg_1op *a)