OSDN Git Service

target-arm: Fix unsigned VQRSHL by large shift counts
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Feb 2011 13:44:49 +0000 (13:44 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 20 Feb 2011 16:43:01 +0000 (17:43 +0100)
commit33ebc29337face0f030719960338af3d2654cdf8
tree05c87a0fc874b6f588df767feea11f7aca50213b
parent7b6ecf5b3a1605dfa6f3e3df3d8e42e9db9fcc71
target-arm: Fix unsigned VQRSHL by large shift counts

Correctly handle VQRSHL of unsigned values by a shift count of the
width of the data type or larger, which must be special-cased in the
qrshl_u* helper functions.

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