]> git.proxmox.com Git - qemu.git/commit
tcg-ppc64: bswap64 rotates output 32 bits
authorAnton Blanchard <anton@samba.org>
Sun, 2 Jun 2013 12:28:27 +0000 (22:28 +1000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 17 Jun 2013 23:01:41 +0000 (18:01 -0500)
commit9534f66ac1a50015034acbe86c110bb89673460e
tree622081da3013af21134004e7dca60f07d28f050d
parentd208f05fd9f392bfce72aa65863114cef2f89e93
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>
(cherry picked from commit 82e0f9170ac9307de4fc15bfb4d12d5534550322)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tcg/ppc64/tcg-target.c