aboutsummaryrefslogtreecommitdiff
path: root/translate-i386.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-16 13:46:28 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-16 13:46:28 +0000
commitc0ad5542a8cc68d1d9b18ed5e2d43de6b6fc60bf (patch)
treec1ba88f88963174dad26c0d9543972ebd14691d6 /translate-i386.c
parent3a27ad0b57f5ac1dc5aaf1805d8caa4be2deb2dd (diff)
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
Diffstat (limited to 'translate-i386.c')
-rw-r--r--translate-i386.c1
1 files changed, 1 insertions, 0 deletions
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 */