提交 163a7cb6 编写于 作者: B bellard

imull fix (suggested by Robert J. Harley)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@478 c046a42c-6fe2-441c-8c8c-71466251a162
上级 6bb70571
...@@ -377,7 +377,7 @@ void OPPROTO op_mull_T0_T1(void) ...@@ -377,7 +377,7 @@ void OPPROTO op_mull_T0_T1(void)
void OPPROTO op_imull_T0_T1(void) void OPPROTO op_imull_T0_T1(void)
{ {
uint64_t res; uint64_t res;
res = (int64_t)T0 * (int64_t)T1; res = (int64_t)((int32_t)T0) * (int64_t)((int32_t)T1);
T1 = res >> 32; T1 = res >> 32;
T0 = res; T0 = res;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册