Commit fdb0d09d02d8324533bb6d356d34e8bea8c7b3e3
1 parent
222a3336
x86 "popcnt" affects flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5412 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
target-i386/translate.c
... | ... | @@ -7470,6 +7470,8 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) |
7470 | 7470 | tcg_gen_helper_1_2(helper_popcnt, |
7471 | 7471 | cpu_T[0], cpu_T[0], tcg_const_i32(ot)); |
7472 | 7472 | gen_op_mov_reg_T0(ot, reg); |
7473 | + | |
7474 | + s->cc_op = CC_OP_EFLAGS; | |
7473 | 7475 | break; |
7474 | 7476 | case 0x10e ... 0x10f: |
7475 | 7477 | /* 3DNow! instructions, ignore prefixes */ | ... | ... |