]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/arm: Implement MVE VMAXNMA and VMINNMA
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 08:02:36 +0000 (09:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:16 +0000 (11:08 +0100)
commit90257a4f35efef15380f45339fecc348e762acc6
tree7bf62bfd7bd177af35c5cdebbf9331aa95a1f084
parentd3cd965c846bb350637090d2d11bc578b79f87cd
target/arm: Implement MVE VMAXNMA and VMINNMA

Implement the MVE VMAXNMA and VMINNMA insns; these are 2-operand, but
the destination register must be the same as one of the source
registers.

We defer the decode of the size in bit 28 to the individual insn
patterns rather than doing it in the format, because otherwise we
would have a single insn pattern that overlapped with two groups (eg
VMAXNMA with the VMULH_S and VMULH_U groups). Having two insn
patterns per insn seems clearer than a complex multilevel nesting
of overlapping and non-overlapping groups.

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