aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-12 11:35:12 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-12 11:35:12 +0000
commit658c8bdadc04fc3d66bad80c1234fea8cc7cca41 (patch)
treed45b05bd3a59dc102a4d014a624ce076444ee51a /target-i386
parent5fef40fb4d7ec8386c8c0c704782f2b1fed3d438 (diff)
added ffree - added cpu log option
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@919 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/translate.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c
index ee4f05ad3e..811356bafc 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -3166,6 +3166,9 @@ static uint8_t *disas_insn(DisasContext *s, uint8_t *pc_start)
gen_op_fcomi_ST0_FT0();
s->cc_op = CC_OP_EFLAGS;
break;
+ case 0x28: /* ffree sti */
+ gen_op_ffree_STN(opreg);
+ break;
case 0x2a: /* fst sti */
gen_op_fmov_STN_ST0(opreg);
break;
@@ -4635,6 +4638,9 @@ static inline int gen_intermediate_code_internal(CPUState *env,
}
#ifdef DEBUG_DISAS
+ if (loglevel & CPU_LOG_TB_CPU) {
+ cpu_dump_state(env, logfile, X86_DUMP_CCOP);
+ }
if (loglevel & CPU_LOG_TB_IN_ASM) {
fprintf(logfile, "----------------\n");
fprintf(logfile, "IN: %s\n", lookup_symbol(pc_start));