target-arm: fix neon vsri, vshl and vsli ops
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Sat, 24 Oct 2009 12:19:05 +0000 (15:19 +0300)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 27 Oct 2009 08:46:26 +0000 (09:46 +0100)
commitc8898563578eb2c166d03d4de6dc52837738392e
treea470f736a4016252b83ea01048604fa44ff29fd0
parent69746de48682dc9ccd2e14e0c30a251754500a0e
target-arm: fix neon vsri, vshl and vsli ops

Shift by immediate value is incorrectly overwritten by a temporary
variable in the processing of NEON vsri, vshl and vsli instructions.
This patch has been revised to also include a fix for the special
case where the code would previously try to shift an integer value
over 31 bits left/right.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c