target/arm: Implement MVE integer min/max across vector
commit688ba4cf33f4976e26124c4c24e9eb738615b0bf
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Aug 2021 16:11:52 +0000 (13 17:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Aug 2021 09:48:49 +0000 (25 10:48 +0100)
tree5a13ebbca9856a90caa11b5adf88596a5104cc7f
parent345910f8c1d687404b62194d929ca32f2ab54e80
target/arm: Implement MVE integer min/max across vector

Implement the MVE integer min/max across vector insns
VMAXV, VMINV, VMAXAV and VMINAV, which find the maximum
from the vector elements and a general purpose register,
and store the maximum back into the general purpose
register.

These insns overlap with VRMLALDAVH (they use what would
be RdaHi=0b110).

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