qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [4493] fixed INC/DEC condition codes


From: Fabrice Bellard
Subject: [Qemu-devel] [4493] fixed INC/DEC condition codes
Date: Sun, 18 May 2008 19:19:59 +0000

Revision: 4493
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4493
Author:   bellard
Date:     2008-05-18 19:19:57 +0000 (Sun, 18 May 2008)

Log Message:
-----------
fixed INC/DEC condition codes

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

Modified: trunk/target-i386/translate.c
===================================================================
--- trunk/target-i386/translate.c       2008-05-18 13:58:19 UTC (rev 4492)
+++ trunk/target-i386/translate.c       2008-05-18 19:19:57 UTC (rev 4493)
@@ -1312,8 +1312,8 @@
         gen_op_mov_reg_T0(ot, d);
     else
         gen_op_st_T0_A0(ot + s1->mem_index);
+    gen_compute_eflags_c(cpu_cc_src);
     tcg_gen_mov_tl(cpu_cc_dst, cpu_T[0]);
-    gen_compute_eflags_c(cpu_cc_src);
 }
 
 static void gen_extu(int ot, TCGv reg)






reply via email to

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