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