diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-11-30 19:40:08 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-11-30 19:40:08 +0000 |
commit | 163a7cb6207f3a412da54b8d213571812338a044 (patch) | |
tree | b8f725bde9b556ad23bff97d444c5814c0127b2f /target-arm | |
parent | 6bb705711b90a64dd1b4ff4dad41cf866e69de78 (diff) | |
download | qemu-163a7cb6207f3a412da54b8d213571812338a044.zip qemu-163a7cb6207f3a412da54b8d213571812338a044.tar.gz qemu-163a7cb6207f3a412da54b8d213571812338a044.tar.bz2 |
imull fix (suggested by Robert J. Harley)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@478 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/op.c b/target-arm/op.c index 73f95b7..a27db00 100644 --- a/target-arm/op.c +++ b/target-arm/op.c @@ -377,7 +377,7 @@ void OPPROTO op_mull_T0_T1(void) void OPPROTO op_imull_T0_T1(void) { uint64_t res; - res = (int64_t)T0 * (int64_t)T1; + res = (int64_t)((int32_t)T0) * (int64_t)((int32_t)T1); T1 = res >> 32; T0 = res; } |