target-ppc: fix SPE evsplat* instructions
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 23 Feb 2010 20:21:31 +0000 (12:21 -0800)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 27 Feb 2010 15:10:50 +0000 (16:10 +0100)
commit3c72af8f873430432610b29e29a7bae3d099426d
tree722eacb605abb20abb671076684d08606f34efd5
parentf6a4d4b22fb69ad0c045bd45c9e6ef31af760b00
target-ppc: fix SPE evsplat* instructions

The shifts in the gen_evsplat* functions were expecting rA to be masked,
not extracted, and so used the wrong shift amounts to sign-extend or pad
with zeroes.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-ppc/translate.c