20c334a797
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> |
||
---|---|---|
.. | ||
alpha | ||
cris | ||
lm32 | ||
mips | ||
openrisc | ||
xtensa | ||
hello-arm.c | ||
hello-i386.c | ||
hello-mips.c | ||
linux-test.c | ||
Makefile | ||
pi_10.com | ||
runcom.c | ||
sha1.c | ||
test_path.c | ||
test-arm-iwmmxt.s | ||
test-i386-code16.S | ||
test-i386-fprem.c | ||
test-i386-muldiv.h | ||
test-i386-shift.h | ||
test-i386-ssse3.c | ||
test-i386-vm86.S | ||
test-i386.c | ||
test-i386.h | ||
test-mmap.c | ||
testthread.c |