cmov fix (bug on PowerPC)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 30 Oct 2003 01:05:49 +0000 (01:05 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 30 Oct 2003 01:05:49 +0000 (01:05 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@430 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/opreg_template.h

index f35a1bbc9502d7d4df24baaa477cc1cf4c2d9c6a..16a43f2db03260b8452885c6f3d20e5f40e9ba2c 100644 (file)
@@ -83,12 +83,14 @@ void OPPROTO glue(glue(op_cmovw,REGNAME),_T1_T0)(void)
 {
     if (T0)
         REG = (REG & 0xffff0000) | (T1 & 0xffff);
+    FORCE_RET();
 }
 
 void OPPROTO glue(glue(op_cmovl,REGNAME),_T1_T0)(void)
 {
     if (T0)
         REG = T1;
+    FORCE_RET();
 }
 
 /* NOTE: T0 high order bits are ignored */