fixed popf TF flag bug (should never hapen in user code except in test-i386!)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@175 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-05-16 13:46:28 +00:00
parent 3a27ad0b57
commit c0ad5542a8
1 changed files with 1 additions and 0 deletions

View File

@ -3085,6 +3085,7 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
}
gen_pop_update(s);
s->cc_op = CC_OP_EFLAGS;
s->is_jmp = 2; /* abort translation because TF flag may change */
}
break;
case 0x9e: /* sahf */