tcg/ppc: Fix typo
authormalc <av1474@comtv.ru>
Mon, 22 Feb 2010 21:50:03 +0000 (00:50 +0300)
committermalc <av1474@comtv.ru>
Mon, 22 Feb 2010 21:50:03 +0000 (00:50 +0300)
Signed-off-by: malc <av1474@comtv.ru>
tcg/ppc/tcg-target.c

index 31101c8..96cc461 100644 (file)
@@ -1575,7 +1575,7 @@ static void tcg_out_op(TCGContext *s, int opc, const TCGArg *args,
     case INDEX_op_rotr_i32:
         if (const_args[2]) {
             if (!args[2]) {
-                tcg_out_mov (s, args[0], args[2]);
+                tcg_out_mov (s, args[0], args[1]);
             }
             else {
                 tcg_out32 (s, RLWINM