From 658c8bdadc04fc3d66bad80c1234fea8cc7cca41 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 12 Jun 2004 11:35:12 +0000 Subject: added ffree - added cpu log option git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@919 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/translate.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target-i386') 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)); -- cgit v1.2.3