CR8 support - FORCE_RET() fixes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1235 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-01-23 20:46:09 +00:00
parent 4d6b6c0aec
commit 39c61f49f4

View File

@ -1198,6 +1198,13 @@ void OPPROTO op_movl_crN_T0(void)
helper_movl_crN_T0(PARAM1);
}
void OPPROTO op_movtl_T0_cr8(void)
{
#if !defined(CONFIG_USER_ONLY)
T0 = cpu_get_apic_tpr(env);
#endif
}
/* DR registers access */
void OPPROTO op_movl_drN_T0(void)
{
@ -1279,12 +1286,14 @@ void OPPROTO op_jnz_T0_label(void)
{
if (T0)
GOTO_LABEL_PARAM(1);
FORCE_RET();
}
void OPPROTO op_jz_T0_label(void)
{
if (!T0)
GOTO_LABEL_PARAM(1);
FORCE_RET();
}
/* slow set cases (compute x86 flags) */