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