aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc/tcg-target.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2010-04-04 20:36:29 +0400
committermalc <av1474@comtv.ru>2010-04-04 20:36:29 +0400
commit36368cf0d513efff45b0dbb4350cdc04a2bee0c8 (patch)
treec3e46cb0f39cc3219994d8faa11c5b1090d0c716 /tcg/ppc/tcg-target.c
parent4a9590f32e5692114aaae4ca10da89dac633e164 (diff)
downloadqemu-36368cf0d513efff45b0dbb4350cdc04a2bee0c8.zip
qemu-36368cf0d513efff45b0dbb4350cdc04a2bee0c8.tar.gz
qemu-36368cf0d513efff45b0dbb4350cdc04a2bee0c8.tar.bz2
tcg/ppc: Fix not_i32
Thanks to Alexander Graf for bug report and a good reproducible test case. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'tcg/ppc/tcg-target.c')
-rw-r--r--tcg/ppc/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 0b80a20..18fdd27 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -1646,7 +1646,7 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args,
break;
case INDEX_op_not_i32:
- tcg_out32 (s, NOR | SAB (args[1], args[0], args[0]));
+ tcg_out32 (s, NOR | SAB (args[1], args[0], args[1]));
break;
case INDEX_op_qemu_ld8u: