target-arm: Correct result in saturating cases for VQSHL of s8/16/32
commita5d88f3e030f9f83e63b0cb3c09a3293d8057f4a
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Dec 2010 14:13:45 +0000 (7 14:13 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Dec 2010 20:07:24 +0000 (27 21:07 +0100)
tree33b2f15964f11879bbe137e3a6830f57181816a3
parent620d791e341fe0b36e6c2a5659b2cc9f7866948f
target-arm: Correct result in saturating cases for VQSHL of s8/16/32

Where VQSHL of a signed 8/16/32 bit value saturated, the result
value was not being calculated correctly (it should be either
the minimum or maximum value for the size of the signed type).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/neon_helper.c