Commit cd31fefaf217330ffd31a28ab121df18ac1de5d8

Authored by bellard
1 parent d238db7f

fixed INC/DEC condition codes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4493 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-i386/translate.c
... ... @@ -1312,8 +1312,8 @@ static void gen_inc(DisasContext *s1, int ot, int d, int c)
1312 1312 gen_op_mov_reg_T0(ot, d);
1313 1313 else
1314 1314 gen_op_st_T0_A0(ot + s1->mem_index);
1315   - tcg_gen_mov_tl(cpu_cc_dst, cpu_T[0]);
1316 1315 gen_compute_eflags_c(cpu_cc_src);
  1316 + tcg_gen_mov_tl(cpu_cc_dst, cpu_T[0]);
1317 1317 }
1318 1318  
1319 1319 static void gen_extu(int ot, TCGv reg)
... ...