提交 128b346e 编写于 作者: B bellard

cmov fix (bug on PowerPC)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@430 c046a42c-6fe2-441c-8c8c-71466251a162
上级 415fa2ea
...@@ -83,12 +83,14 @@ void OPPROTO glue(glue(op_cmovw,REGNAME),_T1_T0)(void) ...@@ -83,12 +83,14 @@ void OPPROTO glue(glue(op_cmovw,REGNAME),_T1_T0)(void)
{ {
if (T0) if (T0)
REG = (REG & 0xffff0000) | (T1 & 0xffff); REG = (REG & 0xffff0000) | (T1 & 0xffff);
FORCE_RET();
} }
void OPPROTO glue(glue(op_cmovl,REGNAME),_T1_T0)(void) void OPPROTO glue(glue(op_cmovl,REGNAME),_T1_T0)(void)
{ {
if (T0) if (T0)
REG = T1; REG = T1;
FORCE_RET();
} }
/* NOTE: T0 high order bits are ignored */ /* NOTE: T0 high order bits are ignored */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部