avoid empty op

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1239 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-01-23 20:55:36 +00:00
parent bd3fae3df6
commit 82e41634cd
2 changed files with 4 additions and 2 deletions

View file

@ -1198,12 +1198,12 @@ void OPPROTO op_movl_crN_T0(void)
helper_movl_crN_T0(PARAM1);
}
#if !defined(CONFIG_USER_ONLY)
void OPPROTO op_movtl_T0_cr8(void)
{
#if !defined(CONFIG_USER_ONLY)
T0 = cpu_get_apic_tpr(env);
#endif
}
#endif
/* DR registers access */
void OPPROTO op_movl_drN_T0(void)

View file

@ -5638,9 +5638,11 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
gen_jmp_im(s->pc - s->cs_base);
gen_eob(s);
} else {
#if !defined(CONFIG_USER_ONLY)
if (reg == 8)
gen_op_movtl_T0_cr8();
else
#endif
gen_op_movtl_T0_env(offsetof(CPUX86State,cr[reg]));
gen_op_mov_reg_T0[ot][rm]();
}