From c0ad5542a8cc68d1d9b18ed5e2d43de6b6fc60bf Mon Sep 17 00:00:00 2001 From: bellard Date: Fri, 16 May 2003 13:46:28 +0000 Subject: [PATCH] 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 --- translate-i386.c | 1 + 1 file changed, 1 insertion(+) diff --git a/translate-i386.c b/translate-i386.c index 086d74a4fc..32e188bbb7 100644 --- a/translate-i386.c +++ b/translate-i386.c @@ -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 */