aboutsummaryrefslogtreecommitdiff
path: root/target-i386/opreg_template.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-30 01:05:49 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-30 01:05:49 +0000
commit128b346e0a910d62162bc12588f38060f72e72df (patch)
treef1a8d72101188e9f39f9a8322130cd8727eef607 /target-i386/opreg_template.h
parent415fa2ea77b726ea5a5768d659881e919df1fcf2 (diff)
downloadqemu-128b346e0a910d62162bc12588f38060f72e72df.zip
qemu-128b346e0a910d62162bc12588f38060f72e72df.tar.gz
qemu-128b346e0a910d62162bc12588f38060f72e72df.tar.bz2
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/opreg_template.h')
-rw-r--r--target-i386/opreg_template.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/opreg_template.h b/target-i386/opreg_template.h
index f35a1bb..16a43f2 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 */