OSDN Git Service

target/arm: Implement MVE VCADD
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 08:02:35 +0000 (09:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:16 +0000 (11:08 +0100)
commit104afc68cf6fbd518e202647e996a14dd0c70130
tree19a3e1fd99a4388338543f2ca78fc307b84502d0
parent82af0153d3a92230211b326b90f953a7e1877e29
target/arm: Implement MVE VCADD

Implement the MVE VCADD insn.  Note that here the size bit is the
opposite sense to the other 2-operand fp insns.

We don't check for the sz == 1 && Qd == Qm UNPREDICTABLE case,
because that would mean we can't use the DO_2OP_FP macro in
translate-mve.c.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper-mve.h
target/arm/mve.decode
target/arm/mve_helper.c
target/arm/translate-mve.c