aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc64
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-26 11:20:44 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-26 11:20:44 +0000
commit450e62e768d98b701a48f583bcca2d8ee79a23d2 (patch)
tree927355199b3b5b5b54b8f1342da91ef6f99c73c9 /tcg/ppc64
parent89cc7382030bfd7b1f1c3d826c26f17c7bd761a2 (diff)
downloadqemu-450e62e768d98b701a48f583bcca2d8ee79a23d2.zip
qemu-450e62e768d98b701a48f583bcca2d8ee79a23d2.tar.gz
qemu-450e62e768d98b701a48f583bcca2d8ee79a23d2.tar.bz2
Fix EXTSW arguments
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4945 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/ppc64')
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index a4b339e..e45021b 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -659,7 +659,7 @@ static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc)
case 2|4:
if (bswap) {
tcg_out32 (s, LWBRX | RT (data_reg) | RB (r0));
- tcg_out32 (s, EXTSW | RT (data_reg) | RS (data_reg));
+ tcg_out32 (s, EXTSW | RA (data_reg) | RS (data_reg));
}
else tcg_out32 (s, LWA | RT (data_reg)| RA (r0));
break;