From 450e62e768d98b701a48f583bcca2d8ee79a23d2 Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 26 Jul 2008 11:20:44 +0000 Subject: Fix EXTSW arguments git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4945 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/ppc64/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcg/ppc64/tcg-target.c') diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index a4b339efe9..e45021bde4 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; -- cgit v1.2.3