tcg-ppc64: bswap64 rotates output 32 bits
commit82e0f9170ac9307de4fc15bfb4d12d5534550322
authorAnton Blanchard <anton@samba.org>
Sun, 2 Jun 2013 12:28:27 +0000 (2 22:28 +1000)
committerRichard Henderson <rth@twiddle.net>
Mon, 17 Jun 2013 17:42:16 +0000 (17 10:42 -0700)
treec4061f7bf62d91518779aed336f76edda8f9ec90
parent8a94cfb05ea9a8991c832236b4174d354025a7b7
tcg-ppc64: bswap64 rotates output 32 bits

If our input and output is in the same register, bswap64 tries to
undo a rotate of the input. This just ends up rotating the output.

Cc: qemu-stable@nongnu.org
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ppc64/tcg-target.c