diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2013-02-25 16:45:40 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-03-04 18:15:34 +0100 |
commit | 20c334a797bf46a4ee59a6e42be6d5e7c3cda585 (patch) | |
tree | bd6332ea17f9c46696842a252a3e2e3e6e693cb6 /ui/x_keymap.h | |
parent | 71df81afc618da79008a7071a666cf97b62e1237 (diff) | |
download | qemu-20c334a797bf46a4ee59a6e42be6d5e7c3cda585.zip qemu-20c334a797bf46a4ee59a6e42be6d5e7c3cda585.tar.gz qemu-20c334a797bf46a4ee59a6e42be6d5e7c3cda585.tar.bz2 |
target-mips: fix DSP overflow macro and affected routines
The previous implementation incorrectly used same macro to detect overflow
for addition and subtraction. This patch makes distinction between these
two, and creates separate macros. The affected routines are changed
accordingly.
This change also includes additions to the existing tests for SUBQ_S_PH and
SUBQ_S_W that would trigger the fixed issue, and it removes dead code from
the test file. The last test case in subq_s_w.c is a bug found/reported/
isolated by Klaus Peichl from Dolby.
Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'ui/x_keymap.h')
0 files changed, 0 insertions, 0 deletions