target/arm: Implement MVE vector shift right by immediate insns
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 28 Jun 2021 13:58:25 +0000 (14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jul 2021 10:48:37 +0000 (11:48 +0100)
commit3394116f47d12bb577ee44493d3d61a30ec9dd68
treef0a94b1ecab8699575461df357d1b9018a81a63f
parentf9ed61741e5f26ee1bb933a87669697901d9327d
target/arm: Implement MVE vector shift right by immediate insns

Implement the MVE vector shift right by immediate insns VSHRI and
VRSHRI.  As with Neon, we implement these by using helper functions
which perform left shifts but allow negative shift counts to indicate
right shifts.

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