qemu-e2k/tests/tcg/mips/mips32-dsp
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
..
absq_s_ph.c
absq_s_w.c
addq_ph.c
addq_s_ph.c
addq_s_w.c
addsc.c
addu_qb.c
addu_s_qb.c
addwc.c
bitrev.c
bposge32.c
cmp_eq_ph.c
cmp_le_ph.c
cmp_lt_ph.c
cmpgu_eq_qb.c
cmpgu_le_qb.c
cmpgu_lt_qb.c
cmpu_eq_qb.c
cmpu_le_qb.c
cmpu_lt_qb.c
dpaq_s_w_ph.c
dpaq_sa_l_w.c
dpau_h_qbl.c
dpau_h_qbr.c
dpsq_s_w_ph.c
dpsq_sa_l_w.c
dpsu_h_qbl.c
dpsu_h_qbr.c
extp.c
extpdp.c
extpdpv.c
extpv.c
extr_r_w.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
extr_rs_w.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
extr_s_h.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
extr_w.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
extrv_r_w.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
extrv_rs_w.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
extrv_s_h.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
extrv_w.c target-mips: Fix for helpers for EXTR_* instructions 2013-01-01 11:11:38 +01:00
insv.c
lbux.c
lhx.c
lwx.c
madd.c
maddu.c
main.c
Makefile
maq_s_w_phl.c
maq_s_w_phr.c
maq_sa_w_phl.c
maq_sa_w_phr.c
mfhi.c
mflo.c
modsub.c
msub.c
msubu.c
mthi.c
mthlip.c target-mips: fix incorrect test for MTHLIP 2013-01-31 23:42:04 +01:00
mtlo.c
muleq_s_w_phl.c
muleq_s_w_phr.c
muleu_s_ph_qbl.c
muleu_s_ph_qbr.c
mulq_rs_ph.c
mult.c
multu.c
packrl_ph.c
pick_ph.c
pick_qb.c
preceq_w_phl.c
preceq_w_phr.c
precequ_ph_qbl.c
precequ_ph_qbla.c
precequ_ph_qbr.c
precequ_ph_qbra.c
preceu_ph_qbl.c
preceu_ph_qbla.c
preceu_ph_qbr.c
preceu_ph_qbra.c
precrq_ph_w.c
precrq_qb_ph.c
precrq_rs_ph_w.c
precrqu_s_qb_ph.c
raddu_w_qb.c
rddsp.c target-mips: Fix incorrect reads and writes to DSPControl register 2013-01-01 11:10:47 +01:00
repl_ph.c
repl_qb.c
replv_ph.c
replv_qb.c
shilo.c target-mips: Fix incorrect shift for SHILO and SHILOV 2012-12-06 08:12:14 +01:00
shilov.c target-mips: Fix incorrect shift for SHILO and SHILOV 2012-12-06 08:12:14 +01:00
shll_ph.c
shll_qb.c
shll_s_ph.c
shll_s_w.c
shllv_ph.c
shllv_qb.c
shllv_s_ph.c
shllv_s_w.c
shra_ph.c
shra_r_ph.c
shra_r_w.c
shrav_ph.c
shrav_r_ph.c
shrav_r_w.c
shrl_qb.c
shrlv_qb.c
subq_ph.c
subq_s_ph.c target-mips: fix DSP overflow macro and affected routines 2013-03-04 18:15:34 +01:00
subq_s_w.c target-mips: fix DSP overflow macro and affected routines 2013-03-04 18:15:34 +01:00
subu_qb.c
subu_s_qb.c
wrdsp.c target-mips: Fix incorrect reads and writes to DSPControl register 2013-01-01 11:10:47 +01:00