提交 658c8bda 编写于 作者: B bellard

added ffree - added cpu log option


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@919 c046a42c-6fe2-441c-8c8c-71466251a162
上级 5fef40fb
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册