Commit 128b346e0a910d62162bc12588f38060f72e72df

Authored by bellard
1 parent 415fa2ea

cmov fix (bug on PowerPC)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@430 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
target-i386/opreg_template.h
... ... @@ -83,12 +83,14 @@ void OPPROTO glue(glue(op_cmovw,REGNAME),_T1_T0)(void)
83 83 {
84 84 if (T0)
85 85 REG = (REG & 0xffff0000) | (T1 & 0xffff);
  86 + FORCE_RET();
86 87 }
87 88  
88 89 void OPPROTO glue(glue(op_cmovl,REGNAME),_T1_T0)(void)
89 90 {
90 91 if (T0)
91 92 REG = T1;
  93 + FORCE_RET();
92 94 }
93 95  
94 96 /* NOTE: T0 high order bits are ignored */
... ...