aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-i386/op.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/target-i386/op.c b/target-i386/op.c
index ab7501e939..71365b5c2d 100644
--- a/target-i386/op.c
+++ b/target-i386/op.c
@@ -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) */