target/arm: Implement MVE saturating narrowing shifts
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 28 Jun 2021 13:58:29 +0000 (14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jul 2021 10:48:37 +0000 (11:48 +0100)
commitd6f9e011e8643fb00303e3fec24dd1e424f3f5b3
treeed281b18cd89a52db8bbb01dcbe2e3449cf25e10
parent162e2655000689e44ac4c8e9e8dc413821e0adda
target/arm: Implement MVE saturating narrowing shifts

Implement the MVE saturating shift-right-and-narrow insns
VQSHRN, VQSHRUN, VQRSHRN and VQRSHRUN.

do_srshr() is borrowed from sve_helper.c.

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