diff options
author | Peter Maydell | 2021-06-17 14:16:08 +0200 |
---|---|---|
committer | Peter Maydell | 2021-06-24 15:58:47 +0200 |
commit | 644f717c35ec29d53f6fc34523e096fbad6eeaf9 (patch) | |
tree | 3e788150751eb8047b5d115a8930e76b2f849803 /target/arm/translate-mve.c | |
parent | target/arm: Implement MVE VSUB, VMUL (scalar) (diff) | |
download | qemu-644f717c35ec29d53f6fc34523e096fbad6eeaf9.tar.gz qemu-644f717c35ec29d53f6fc34523e096fbad6eeaf9.tar.xz qemu-644f717c35ec29d53f6fc34523e096fbad6eeaf9.zip |
target/arm: Implement MVE VHADD, VHSUB (scalar)
Implement the scalar variants of the MVE VHADD and VHSUB insns.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210617121628.20116-25-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/translate-mve.c')
-rw-r--r-- | target/arm/translate-mve.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/arm/translate-mve.c b/target/arm/translate-mve.c index 3c059ad91c..4b379bfe6e 100644 --- a/target/arm/translate-mve.c +++ b/target/arm/translate-mve.c @@ -429,6 +429,10 @@ static bool do_2op_scalar(DisasContext *s, arg_2scalar *a, DO_2OP_SCALAR(VADD_scalar, vadd_scalar) DO_2OP_SCALAR(VSUB_scalar, vsub_scalar) DO_2OP_SCALAR(VMUL_scalar, vmul_scalar) +DO_2OP_SCALAR(VHADD_S_scalar, vhadds_scalar) +DO_2OP_SCALAR(VHADD_U_scalar, vhaddu_scalar) +DO_2OP_SCALAR(VHSUB_S_scalar, vhsubs_scalar) +DO_2OP_SCALAR(VHSUB_U_scalar, vhsubu_scalar) static bool do_long_dual_acc(DisasContext *s, arg_vmlaldav *a, MVEGenDualAccOpFn *fn) |