CR8 support - FORCE_RET() fixes
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 23 Jan 2005 20:46:09 +0000 (20:46 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 23 Jan 2005 20:46:09 +0000 (20:46 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1235 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/op.c

index ab7501e..71365b5 100644 (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) */