target-arm: fix neon vshrn/vrshrn ops
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Sat, 24 Oct 2009 12:19:00 +0000 (15:19 +0300)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 27 Oct 2009 08:46:26 +0000 (09:46 +0100)
commit7cb95ac20fc160e011d32f7c7578a63133d13049
treeb5b42a288e2e799bb6ee676eabf1815ed2e4d062
parent2e5fbdd4c1c2b3a2838b3a3aafa9af49f8ae35a8
target-arm: fix neon vshrn/vrshrn ops

In the existing code shift value is clobbered during the pass loop.
This patch changes the code so that it stores the intermediate
result in the target neon register directly and eliminates the need
to use a temporary to hold the intermediate value thus leaving the
shift value in the temporary variable intact. This is a new patch
in this version of the patch series.

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