diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-06-17 13:16:26 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-06-21 17:12:52 +0100 |
commit | 952aaa96b13150a7e655f8b48fea2259cc01fee2 (patch) | |
tree | a6b69af1ca1642eff32291458c929ef63cc7809b /target/arm/translate-mve.c | |
parent | a9a26d9f93685ace9a3b84e9d817ec5fed99b9a0 (diff) |
target/arm: Implement MVE VHCADD
Implement the MVE VHCADD insn, which is similar to VCADD
but performs a halving step. This one overlaps with VADC.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210617121628.20116-43-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/translate-mve.c')
-rw-r--r-- | target/arm/translate-mve.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/arm/translate-mve.c b/target/arm/translate-mve.c index b164907426..73c15f4133 100644 --- a/target/arm/translate-mve.c +++ b/target/arm/translate-mve.c @@ -423,10 +423,12 @@ DO_2OP(VRHADD_U, vrhaddu) /* * VCADD Qd == Qm at size MO_32 is UNPREDICTABLE; we choose not to diagnose * so we can reuse the DO_2OP macro. (Our implementation calculates the - * "expected" results in this case.) + * "expected" results in this case.) Similarly for VHCADD. */ DO_2OP(VCADD90, vcadd90) DO_2OP(VCADD270, vcadd270) +DO_2OP(VHCADD90, vhcadd90) +DO_2OP(VHCADD270, vhcadd270) static bool trans_VQDMULLB(DisasContext *s, arg_2op *a) { |