target/arm: Remove unnecessary range check for VSHL
commit2f27c5244db300387f15d9ffa5067a204ffd625d
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 13 May 2020 16:32:33 +0000 (13 09:32 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 May 2020 14:03:08 +0000 (14 15:03 +0100)
tree171c84e275e1c074e4d86211cbc09fcd6ee9a1f7
parent893ab0542aa385a287cbe46d5535c8b9e95ce699
target/arm: Remove unnecessary range check for VSHL

In 1dc8425e551, while converting to gvec, I added an extra range check
against the shift count.  This was unnecessary because the encoding of
the shift count produces 0 to the element size - 1.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200513163245.17915-5-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c