qemu-e2k/tests/tcg/mips
Petar Jovanovic 20c334a797 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>
2013-03-04 18:15:34 +01:00
..
mips32-dsp target-mips: fix DSP overflow macro and affected routines 2013-03-04 18:15:34 +01:00
mips32-dspr2 target-mips: fix for sign-issue in MULQ_W helper 2013-02-23 22:20:45 +01:00
mips64-dsp
mips64-dspr2