cmov fix (bug on PowerPC)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@430 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-10-30 01:05:49 +00:00
parent 415fa2ea77
commit 128b346e0a

View 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 */