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