diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2013-04-28 03:18:36 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-05-03 11:50:49 +0200 |
commit | 29851ee7c8bd3fb8542e21cd0270c73132590350 (patch) | |
tree | e046e54284c3d18bce7f363c670cecb0f01a72a6 /pc-bios | |
parent | 8ca27ce2e1150486ea2db4116a03706b28294f16 (diff) | |
download | qemu-29851ee7c8bd3fb8542e21cd0270c73132590350.zip qemu-29851ee7c8bd3fb8542e21cd0270c73132590350.tar.gz qemu-29851ee7c8bd3fb8542e21cd0270c73132590350.tar.bz2 |
target-mips: fix calculation of overflow for SHLL.PH and SHLL.QB
This change corrects and simplifies how discard is calculated for shift
left logical vector instructions. It is used to detect overflow and set bit
22 in the DSPControl register.
The existing tests (shll_ph.c, shll_qb.c) are extended with the corner cases
that expose incorrectness in the previous implementation.
Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions