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