From 128b346e0a910d62162bc12588f38060f72e72df Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 30 Oct 2003 01:05:49 +0000 Subject: cmov fix (bug on PowerPC) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@430 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/opreg_template.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-i386') 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 */ -- cgit v1.1