qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4355] Fix MIPS64 branches.


From: Thiemo Seufer
Subject: [Qemu-devel] [4355] Fix MIPS64 branches.
Date: Tue, 06 May 2008 10:03:16 +0000

Revision: 4355
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4355
Author:   ths
Date:     2008-05-06 10:03:16 +0000 (Tue, 06 May 2008)

Log Message:
-----------
Fix MIPS64 branches. Funny how this survived testing.

Modified Paths:
--------------
    trunk/target-mips/translate.c

Modified: trunk/target-mips/translate.c
===================================================================
--- trunk/target-mips/translate.c       2008-05-06 09:55:56 UTC (rev 4354)
+++ trunk/target-mips/translate.c       2008-05-06 10:03:16 UTC (rev 4355)
@@ -1763,7 +1763,7 @@
     int r_tmp = tcg_temp_new(TCG_TYPE_TL);
 
     tcg_gen_ld_tl(r_tmp, cpu_env, offsetof(CPUState, bcond));
-    tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_i32(0), label);
+    tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_tl(0), label);
 }
 
 /* Branches (before delay slot) */






reply via email to

[Prev in Thread] Current Thread [Next in Thread]