]> Git Repo - qemu.git/commitdiff
tcg/ppc: Fix not_i32
authormalc <[email protected]>
Sun, 4 Apr 2010 16:36:29 +0000 (20:36 +0400)
committermalc <[email protected]>
Sun, 4 Apr 2010 16:36:29 +0000 (20:36 +0400)
Thanks to Alexander Graf for bug report and a good reproducible test
case.

Signed-off-by: malc <[email protected]>
tcg/ppc/tcg-target.c

index 0b80a201464860549c7fe3f767d60cd8d01fa824..18fdd273b66e9dcb0ff4c811e7b353f4e1281f5a 100644 (file)
@@ -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:
This page took 0.02918 seconds and 4 git commands to generate.