diff options
author | Tom Musta <tommusta@gmail.com> | 2014-08-12 08:45:08 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-09-08 12:50:50 +0200 |
commit | 9824d01d5d789a57d27360c0f5e8ee44955eb1d7 (patch) | |
tree | aed8b85b25a9ac501f7df056fd4110cb5d259bb7 /target-ppc/translate.c | |
parent | 1fa74845f2bab36bfa37108b9054b53c1b8264b9 (diff) | |
download | qemu-9824d01d5d789a57d27360c0f5e8ee44955eb1d7.zip qemu-9824d01d5d789a57d27360c0f5e8ee44955eb1d7.tar.gz qemu-9824d01d5d789a57d27360c0f5e8ee44955eb1d7.tar.bz2 |
target-ppc: Bug Fix: mulldo OV Detection
Fix the code to properly detect overflow; the 128 bit signed
product must have all zeroes or all ones in the first 65 bits
otherwise OV should be set.
Example:
R3 45F086A5D5887509
R4 0000000000000002
mulldo 3,3,4
Should set XER[OV].
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/translate.c')
0 files changed, 0 insertions, 0 deletions