qemu/tests/tcg/mips/mips32-dsp
Petar Jovanovic 29851ee7c8 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>
2013-05-03 11:50:49 +02: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 rndrashift_short_acc and code for EXTR_ instructions 2013-03-17 01:06:34 +01:00
extr_rs_w.c target-mips: fix rndrashift_short_acc and code for EXTR_ instructions 2013-03-17 01:06:34 +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 rndrashift_short_acc and code for EXTR_ instructions 2013-03-17 01:06:34 +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 target-mips: Fix incorrect code and test for INSV 2012-12-06 08:10:50 +01:00
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 target-mips: fix mipsdsp_mul_q15_q15 and tests for MAQ_SA_W_PHL/PHR 2013-04-15 16:07:57 +02:00
maq_sa_w_phr.c target-mips: fix mipsdsp_mul_q15_q15 and tests for MAQ_SA_W_PHL/PHR 2013-04-15 16:07:57 +02:00
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 target-mips: fix calculation of overflow for SHLL.PH and SHLL.QB 2013-05-03 11:50:49 +02:00
shll_qb.c target-mips: fix calculation of overflow for SHLL.PH and SHLL.QB 2013-05-03 11:50:49 +02:00
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