From: malc Date: Sun, 4 Apr 2010 16:36:29 +0000 (+0400) Subject: tcg/ppc: Fix not_i32 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=36368cf0d513efff45b0dbb4350cdc04a2bee0c8;p=qemu.git tcg/ppc: Fix not_i32 Thanks to Alexander Graf for bug report and a good reproducible test case. Signed-off-by: malc --- diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index 0b80a20146..18fdd273b6 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: