target-ppc: fix TCG argument
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 9 Nov 2008 18:27:28 +0000 (18:27 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 9 Nov 2008 18:27:28 +0000 (18:27 +0000)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5661 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/translate.c

index c23bd795ecc4b667c10903db909823d29041bddf..0046a474c648c792d07911df342404ecc56816fe 100644 (file)
@@ -1304,7 +1304,7 @@ static always_inline void gen_op_arith_neg (DisasContext *ctx, TCGv ret, TCGv ar
     TCGv t0 = tcg_temp_local_new(TCG_TYPE_TL);
 #if defined(TARGET_PPC64)
     if (ctx->sf_mode) {
-        tcg_gen_movi_tl(t0, arg1);
+        tcg_gen_mov_tl(t0, arg1);
         tcg_gen_brcondi_tl(TCG_COND_EQ, t0, INT64_MIN, l1);
     } else
 #endif