Commit c0ad5542a8cc68d1d9b18ed5e2d43de6b6fc60bf
1 parent
3a27ad0b
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
Showing
1 changed file
with
1 additions
and
0 deletions
translate-i386.c
@@ -3085,6 +3085,7 @@ long disas_insn(DisasContext *s, uint8_t *pc_start) | @@ -3085,6 +3085,7 @@ long disas_insn(DisasContext *s, uint8_t *pc_start) | ||
3085 | } | 3085 | } |
3086 | gen_pop_update(s); | 3086 | gen_pop_update(s); |
3087 | s->cc_op = CC_OP_EFLAGS; | 3087 | s->cc_op = CC_OP_EFLAGS; |
3088 | + s->is_jmp = 2; /* abort translation because TF flag may change */ | ||
3088 | } | 3089 | } |
3089 | break; | 3090 | break; |
3090 | case 0x9e: /* sahf */ | 3091 | case 0x9e: /* sahf */ |