target/arm: Implement MVE narrowing moves
commit54dc78a901188d208a3dfedb0f98230043509120
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Aug 2021 16:11:53 +0000 (13 17:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Aug 2021 09:48:49 +0000 (25 10:48 +0100)
tree2942079f2d66df32236419885f8466b374f5fef7
parent7f061c0ab9289cb0ed55eaf09bec1b6cb474e6ee
target/arm: Implement MVE narrowing moves

Implement the MVE narrowing move insns VMOVN, VQMOVN and VQMOVUN.
These take a double-width input, narrow it (possibly saturating) and
store the result to either the top or bottom half of the output
element.

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