diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-30 01:05:49 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-30 01:05:49 +0000 |
commit | 128b346e0a910d62162bc12588f38060f72e72df (patch) | |
tree | f1a8d72101188e9f39f9a8322130cd8727eef607 /target-i386 | |
parent | 415fa2ea77b726ea5a5768d659881e919df1fcf2 (diff) |
cmov fix (bug on PowerPC)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@430 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/opreg_template.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/opreg_template.h b/target-i386/opreg_template.h index f35a1bbc95..16a43f2db0 100644 --- a/target-i386/opreg_template.h +++ b/target-i386/opreg_template.h @@ -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 */ |