qemu/tests/tcg/mips/mips32-dsp
Petar Jovanovic 19e6c50d2d target-mips: Fix incorrect shift for SHILO and SHILOV
helper_shilo has not been shifting an accumulator value correctly for negative
values in 'shift' field. Minor optimization for shift=0 case.
This change also adds tests that will trigger issue and check for regressions.

Signed-off-by: Petar Jovanovic <petarj@mips.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Johnson <ericj@mips.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2012-12-06 08:12:14 +01:00
..
absq_s_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
absq_s_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
addq_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
addq_s_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
addq_s_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
addsc.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
addu_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
addu_s_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
addwc.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
bitrev.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
bposge32.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmp_eq_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmp_le_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmp_lt_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmpgu_eq_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmpgu_le_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmpgu_lt_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmpu_eq_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmpu_le_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
cmpu_lt_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpaq_s_w_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpaq_sa_l_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpau_h_qbl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpau_h_qbr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpsq_s_w_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpsq_sa_l_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpsu_h_qbl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
dpsu_h_qbr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extp.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extpdp.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extpdpv.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extpv.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extr_r_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extr_rs_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extr_s_h.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extr_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extrv_r_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extrv_rs_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extrv_s_h.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
extrv_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
insv.c target-mips: Fix incorrect code and test for INSV 2012-12-06 08:10:50 +01:00
lbux.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
lhx.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
lwx.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
madd.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
maddu.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
main.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
Makefile target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
maq_s_w_phl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
maq_s_w_phr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
maq_sa_w_phl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
maq_sa_w_phr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
mfhi.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
mflo.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
modsub.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
msub.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
msubu.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
mthi.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
mthlip.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
mtlo.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
muleq_s_w_phl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
muleq_s_w_phr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
muleu_s_ph_qbl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
muleu_s_ph_qbr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
mulq_rs_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
mult.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
multu.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
packrl_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
pick_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
pick_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
preceq_w_phl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
preceq_w_phr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precequ_ph_qbl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precequ_ph_qbla.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precequ_ph_qbr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precequ_ph_qbra.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
preceu_ph_qbl.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
preceu_ph_qbla.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
preceu_ph_qbr.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
preceu_ph_qbra.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precrq_ph_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precrq_qb_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precrq_rs_ph_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
precrqu_s_qb_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
raddu_w_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
rddsp.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
repl_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
repl_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
replv_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
replv_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
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: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shll_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shll_s_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shll_s_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shllv_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shllv_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shllv_s_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shllv_s_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shra_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shra_r_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shra_r_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shrav_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shrav_r_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shrav_r_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shrl_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
shrlv_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
subq_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
subq_s_ph.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
subq_s_w.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
subu_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
subu_s_qb.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00
wrdsp.c target-mips: Add ASE DSP testcases 2012-10-31 21:37:21 +01:00