QEMU MIPS ASE DSP support
Re: [Qemu-devel] [PATCH v11 13/14] target-mips: Add ASE DSP testcases
In reply to Jia Liutests/tcg/mips/mips64-dspr2/subuh_r_qb.c
Quoted 19,772 lines · Jia Liu
Add MIPS ASE DSP testcases.
Signed-off-by Jia Liu <[email protected]>--- tests/tcg/mips/mips32-dsp/Makefile | 135 +++++++++++ tests/tcg/mips/mips32-dsp/absq_s_ph.c | 31 +++ tests/tcg/mips/mips32-dsp/absq_s_w.c | 37 +++ tests/tcg/mips/mips32-dsp/addq_ph.c | 30 +++ tests/tcg/mips/mips32-dsp/addq_s_ph.c | 30 +++ tests/tcg/mips/mips32-dsp/addsc.c | 30 +++ tests/tcg/mips/mips32-dsp/addu_qb.c | 30 +++ tests/tcg/mips/mips32-dsp/addu_s_qb.c | 30 +++ tests/tcg/mips/mips32-dsp/addwc.c | 30 +++ tests/tcg/mips/mips32-dsp/bitrev.c | 20 ++ tests/tcg/mips/mips32-dsp/bposge32.c | 44 ++++ tests/tcg/mips/mips32-dsp/cmp_eq_ph.c | 35 +++ tests/tcg/mips/mips32-dsp/cmp_le_ph.c | 35 +++ tests/tcg/mips/mips32-dsp/cmp_lt_ph.c | 35 +++ tests/tcg/mips/mips32-dsp/cmpgu_eq_qb.c | 31 +++ tests/tcg/mips/mips32-dsp/cmpgu_le_qb.c | 31 +++ tests/tcg/mips/mips32-dsp/cmpgu_lt_qb.c | 31 +++ tests/tcg/mips/mips32-dsp/cmpu_eq_qb.c | 35 +++ tests/tcg/mips/mips32-dsp/cmpu_le_qb.c | 35 +++ tests/tcg/mips/mips32-dsp/cmpu_lt_qb.c | 35 +++ tests/tcg/mips/mips32-dsp/dpaq_s_w_ph.c | 31 +++ tests/tcg/mips/mips32-dsp/dpaq_sa_l_w.c | 31 +++ tests/tcg/mips/mips32-dsp/dpau_h_qbl.c | 27 +++ tests/tcg/mips/mips32-dsp/dpau_h_qbr.c | 27 +++ tests/tcg/mips/mips32-dsp/dpsq_s_w_ph.c | 27 +++ tests/tcg/mips/mips32-dsp/dpsq_sa_l_w.c | 31 +++ tests/tcg/mips/mips32-dsp/dpsu_h_qbl.c | 27 +++ tests/tcg/mips/mips32-dsp/dpsu_h_qbr.c | 27 +++ tests/tcg/mips/mips32-dsp/extp.c | 44 ++++ tests/tcg/mips/mips32-dsp/extpdp.c | 46 ++++ tests/tcg/mips/mips32-dsp/extpdpv.c | 47 ++++ tests/tcg/mips/mips32-dsp/extpv.c | 45 ++++ tests/tcg/mips/mips32-dsp/extr_r_w.c | 25 ++ tests/tcg/mips/mips32-dsp/extr_rs_w.c | 25 ++ tests/tcg/mips/mips32-dsp/extr_s_h.c | 25 ++ tests/tcg/mips/mips32-dsp/extr_w.c | 25 ++ tests/tcg/mips/mips32-dsp/extrv_r_w.c | 29 +++ tests/tcg/mips/mips32-dsp/extrv_rs_w.c | 29 +++ tests/tcg/mips/mips32-dsp/extrv_s_h.c | 29 +++ tests/tcg/mips/mips32-dsp/extrv_w.c | 29 +++ tests/tcg/mips/mips32-dsp/insv.c | 23 ++ tests/tcg/mips/mips32-dsp/lbux.c | 25 ++ tests/tcg/mips/mips32-dsp/lhx.c | 25 ++ tests/tcg/mips/mips32-dsp/lwx.c | 25 ++ tests/tcg/mips/mips32-dsp/madd.c | 31 +++ tests/tcg/mips/mips32-dsp/maddu.c | 31 +++ tests/tcg/mips/mips32-dsp/main.c | 6 + tests/tcg/mips/mips32-dsp/maq_s_w_phl.c | 31 +++ tests/tcg/mips/mips32-dsp/maq_s_w_phr.c | 31 +++ tests/tcg/mips/mips32-dsp/maq_sa_w_phl.c | 31 +++ tests/tcg/mips/mips32-dsp/maq_sa_w_phr.c | 31 +++ tests/tcg/mips/mips32-dsp/mfhi.c | 21 ++ tests/tcg/mips/mips32-dsp/mflo.c | 21 ++ tests/tcg/mips/mips32-dsp/modsub.c | 30 +++ tests/tcg/mips/mips32-dsp/msub.c | 30 +++ tests/tcg/mips/mips32-dsp/msubu.c | 30 +++ tests/tcg/mips/mips32-dsp/mthi.c | 21 ++ tests/tcg/mips/mips32-dsp/mthlip.c | 34 +++ tests/tcg/mips/mips32-dsp/mtlo.c | 21 ++ tests/tcg/mips/mips32-dsp/muleq_s_w_phl.c | 41 ++++ tests/tcg/mips/mips32-dsp/muleq_s_w_phr.c | 40 ++++ tests/tcg/mips/mips32-dsp/muleu_s_ph_qbl.c | 25 ++ tests/tcg/mips/mips32-dsp/muleu_s_ph_qbr.c | 25 ++ tests/tcg/mips/mips32-dsp/mulq_rs_ph.c | 25 ++ tests/tcg/mips/mips32-dsp/mult.c | 24 ++ tests/tcg/mips/mips32-dsp/multu.c | 24 ++ tests/tcg/mips/mips32-dsp/packrl_ph.c | 21 ++ tests/tcg/mips/mips32-dsp/pick_ph.c | 23 ++ tests/tcg/mips/mips32-dsp/pick_qb.c | 23 ++ tests/tcg/mips/mips32-dsp/preceq_w_phl.c | 20 ++ tests/tcg/mips/mips32-dsp/preceq_w_phr.c | 20 ++ tests/tcg/mips/mips32-dsp/precequ_ph_qbl.c | 20 ++ tests/tcg/mips/mips32-dsp/precequ_ph_qbla.c | 20 ++ tests/tcg/mips/mips32-dsp/precequ_ph_qbr.c | 20 ++ tests/tcg/mips/mips32-dsp/precequ_ph_qbra.c | 20 ++ tests/tcg/mips/mips32-dsp/preceu_ph_qbl.c | 20 ++ tests/tcg/mips/mips32-dsp/preceu_ph_qbla.c | 20 ++ tests/tcg/mips/mips32-dsp/preceu_ph_qbr.c | 20 ++ tests/tcg/mips/mips32-dsp/preceu_ph_qbra.c | 20 ++ tests/tcg/mips/mips32-dsp/precrq_ph_w.c | 21 ++ tests/tcg/mips/mips32-dsp/precrq_qb_ph.c | 21 ++ tests/tcg/mips/mips32-dsp/precrq_rs_ph_w.c | 21 ++ tests/tcg/mips/mips32-dsp/precrqu_s_qb_ph.c | 21 ++ tests/tcg/mips/mips32-dsp/raddu_w_qb.c | 20 ++ tests/tcg/mips/mips32-dsp/rddsp.c | 54 +++++ tests/tcg/mips/mips32-dsp/repl_ph.c | 23 ++ tests/tcg/mips/mips32-dsp/repl_qb.c | 16 ++ tests/tcg/mips/mips32-dsp/replv_ph.c | 19 ++ tests/tcg/mips/mips32-dsp/replv_qb.c | 19 ++ tests/tcg/mips/mips32-dsp/shilo.c | 27 +++ tests/tcg/mips/mips32-dsp/shilov.c | 29 +++ tests/tcg/mips/mips32-dsp/shll_ph.c | 24 ++ tests/tcg/mips/mips32-dsp/shll_qb.c | 23 ++ tests/tcg/mips/mips32-dsp/shll_s_ph.c | 24 ++ tests/tcg/mips/mips32-dsp/shll_s_w.c | 24 ++ tests/tcg/mips/mips32-dsp/shllv_ph.c | 25 ++ tests/tcg/mips/mips32-dsp/shllv_qb.c | 24 ++ tests/tcg/mips/mips32-dsp/shllv_s_ph.c | 25 ++ tests/tcg/mips/mips32-dsp/shllv_s_w.c | 25 ++ tests/tcg/mips/mips32-dsp/shra_ph.c | 20 ++ tests/tcg/mips/mips32-dsp/shra_r_ph.c | 20 ++ tests/tcg/mips/mips32-dsp/shra_r_w.c | 20 ++ tests/tcg/mips/mips32-dsp/shrav_ph.c | 21 ++ tests/tcg/mips/mips32-dsp/shrav_r_ph.c | 21 ++ tests/tcg/mips/mips32-dsp/shrav_r_w.c | 21 ++ tests/tcg/mips/mips32-dsp/shrl_qb.c | 20 ++ tests/tcg/mips/mips32-dsp/shrlv_qb.c | 21 ++ tests/tcg/mips/mips32-dsp/subq_ph.c | 25 ++ tests/tcg/mips/mips32-dsp/subq_s_ph.c | 25 ++ tests/tcg/mips/mips32-dsp/subq_s_w.c | 25 ++ tests/tcg/mips/mips32-dsp/subu_qb.c | 25 ++ tests/tcg/mips/mips32-dsp/subu_s_qb.c | 25 ++ tests/tcg/mips/mips32-dsp/wrdsp.c | 54 +++++ tests/tcg/mips/mips32-dspr2/Makefile | 72 ++++++ tests/tcg/mips/mips32-dspr2/absq_s_qb.c | 35 +++ tests/tcg/mips/mips32-dspr2/addqh_ph.c | 30 +++ tests/tcg/mips/mips32-dspr2/addqh_r_ph.c | 30 +++ tests/tcg/mips/mips32-dspr2/addqh_r_w.c | 34 +++ tests/tcg/mips/mips32-dspr2/addqh_w.c | 34 +++ tests/tcg/mips/mips32-dspr2/addu_ph.c | 30 +++ tests/tcg/mips/mips32-dspr2/addu_s_ph.c | 30 +++ tests/tcg/mips/mips32-dspr2/adduh_qb.c | 30 +++ tests/tcg/mips/mips32-dspr2/adduh_r_qb.c | 30 +++ tests/tcg/mips/mips32-dspr2/append.c | 30 +++ tests/tcg/mips/mips32-dspr2/balign.c | 30 +++ tests/tcg/mips/mips32-dspr2/cmpgdu_eq_qb.c | 37 +++ tests/tcg/mips/mips32-dspr2/cmpgdu_le_qb.c | 37 +++ tests/tcg/mips/mips32-dspr2/cmpgdu_lt_qb.c | 37 +++ tests/tcg/mips/mips32-dspr2/dpa_w_ph.c | 27 +++ tests/tcg/mips/mips32-dspr2/dpaqx_s_w_ph.c | 57 +++++ tests/tcg/mips/mips32-dspr2/dpaqx_sa_w_ph.c | 31 +++ tests/tcg/mips/mips32-dspr2/dpax_w_ph.c | 27 +++ tests/tcg/mips/mips32-dspr2/dps_w_ph.c | 27 +++ tests/tcg/mips/mips32-dspr2/dpsqx_s_w_ph.c | 31 +++ tests/tcg/mips/mips32-dspr2/dpsqx_sa_w_ph.c | 31 +++ tests/tcg/mips/mips32-dspr2/dpsx_w_ph.c | 27 +++ tests/tcg/mips/mips32-dspr2/mul_ph.c | 25 ++ tests/tcg/mips/mips32-dspr2/mul_s_ph.c | 25 ++ tests/tcg/mips/mips32-dspr2/muleq_s_w_phl.c | 40 ++++ tests/tcg/mips/mips32-dspr2/mulq_rs_w.c | 36 +++ tests/tcg/mips/mips32-dspr2/mulq_s_ph.c | 25 ++ tests/tcg/mips/mips32-dspr2/mulq_s_w.c | 36 +++ tests/tcg/mips/mips32-dspr2/mulsa_w_ph.c | 29 +++ tests/tcg/mips/mips32-dspr2/mulsaq_s_w_ph.c | 29 +++ tests/tcg/mips/mips32-dspr2/precr_qb_ph.c | 21 ++ tests/tcg/mips/mips32-dspr2/precr_sra_ph_w.c | 32 +++ tests/tcg/mips/mips32-dspr2/precr_sra_r_ph_w.c | 32 +++ tests/tcg/mips/mips32-dspr2/prepend.c | 30 +++ tests/tcg/mips/mips32-dspr2/shra_qb.c | 30 +++ tests/tcg/mips/mips32-dspr2/shra_r_qb.c | 30 +++ tests/tcg/mips/mips32-dspr2/shrav_qb.c | 32 +++ tests/tcg/mips/mips32-dspr2/shrav_r_qb.c | 32 +++ tests/tcg/mips/mips32-dspr2/shrl_ph.c | 20 ++ tests/tcg/mips/mips32-dspr2/shrlv_ph.c | 21 ++ tests/tcg/mips/mips32-dspr2/subqh_ph.c | 21 ++ tests/tcg/mips/mips32-dspr2/subqh_r_ph.c | 21 ++ tests/tcg/mips/mips32-dspr2/subqh_r_w.c | 21 ++ tests/tcg/mips/mips32-dspr2/subqh_w.c | 21 ++ tests/tcg/mips/mips32-dspr2/subu_ph.c | 25 ++ tests/tcg/mips/mips32-dspr2/subu_s_ph.c | 25 ++ tests/tcg/mips/mips32-dspr2/subuh_qb.c | 21 ++ tests/tcg/mips/mips32-dspr2/subuh_r_qb.c | 21 ++ tests/tcg/mips/mips64-dsp/Makefile | 305 ++++++++++++++++++++++++ tests/tcg/mips/mips64-dsp/absq_s_ob.c | 63 +++++ tests/tcg/mips/mips64-dsp/absq_s_ph.c | 37 +++ tests/tcg/mips/mips64-dsp/absq_s_pw.c | 66 +++++ tests/tcg/mips/mips64-dsp/absq_s_qh.c | 40 ++++ tests/tcg/mips/mips64-dsp/absq_s_w.c | 48 ++++ tests/tcg/mips/mips64-dsp/addq_ph.c | 37 +++ tests/tcg/mips/mips64-dsp/addq_pw.c | 26 ++ tests/tcg/mips/mips64-dsp/addq_qh.c | 28 +++ tests/tcg/mips/mips64-dsp/addq_s_ph.c | 37 +++ tests/tcg/mips/mips64-dsp/addq_s_pw.c | 45 ++++ tests/tcg/mips/mips64-dsp/addq_s_qh.c | 26 ++ tests/tcg/mips/mips64-dsp/addsc.c | 37 +++ tests/tcg/mips/mips64-dsp/addu_ob.c | 27 +++ tests/tcg/mips/mips64-dsp/addu_qb.c | 37 +++ tests/tcg/mips/mips64-dsp/addu_s_ob.c | 27 +++ tests/tcg/mips/mips64-dsp/addu_s_qb.c | 38 +++ tests/tcg/mips/mips64-dsp/addwc.c | 37 +++ tests/tcg/mips/mips64-dsp/bitrev.c | 23 ++ tests/tcg/mips/mips64-dsp/bposge32.c | 50 ++++ tests/tcg/mips/mips64-dsp/bposge64.c | 50 ++++ tests/tcg/mips/mips64-dsp/cmp_eq_ph.c | 42 ++++ tests/tcg/mips/mips64-dsp/cmp_eq_pw.c | 27 +++ tests/tcg/mips/mips64-dsp/cmp_eq_qh.c | 27 +++ tests/tcg/mips/mips64-dsp/cmp_le_ph.c | 40 ++++ tests/tcg/mips/mips64-dsp/cmp_le_pw.c | 27 +++ tests/tcg/mips/mips64-dsp/cmp_le_qh.c | 27 +++ tests/tcg/mips/mips64-dsp/cmp_lt_ph.c | 41 ++++ tests/tcg/mips/mips64-dsp/cmp_lt_pw.c | 27 +++ tests/tcg/mips/mips64-dsp/cmp_lt_qh.c | 27 +++ tests/tcg/mips/mips64-dsp/cmpgu_eq_ob.c | 24 ++ tests/tcg/mips/mips64-dsp/cmpgu_eq_qb.c | 38 +++ tests/tcg/mips/mips64-dsp/cmpgu_le_ob.c | 24 ++ tests/tcg/mips/mips64-dsp/cmpgu_le_qb.c | 37 +++ tests/tcg/mips/mips64-dsp/cmpgu_lt_ob.c | 24 ++ tests/tcg/mips/mips64-dsp/cmpgu_lt_qb.c | 38 +++ tests/tcg/mips/mips64-dsp/cmpu_eq_ob.c | 27 +++ tests/tcg/mips/mips64-dsp/cmpu_eq_qb.c | 42 ++++ tests/tcg/mips/mips64-dsp/cmpu_le_ob.c | 26 ++ tests/tcg/mips/mips64-dsp/cmpu_le_qb.c | 41 ++++ tests/tcg/mips/mips64-dsp/cmpu_lt_ob.c | 26 ++ tests/tcg/mips/mips64-dsp/cmpu_lt_qb.c | 42 ++++ tests/tcg/mips/mips64-dsp/dappend.c | 37 +++ tests/tcg/mips/mips64-dsp/dextp.c | 33 +++ tests/tcg/mips/mips64-dsp/dextpdp.c | 37 +++ tests/tcg/mips/mips64-dsp/dextpdpv.c | 38 +++ tests/tcg/mips/mips64-dsp/dextpv.c | 34 +++ tests/tcg/mips/mips64-dsp/dextr_l.c | 27 +++ tests/tcg/mips/mips64-dsp/dextr_r_l.c | 32 +++ tests/tcg/mips/mips64-dsp/dextr_r_w.c | 32 +++ tests/tcg/mips/mips64-dsp/dextr_rs_l.c | 31 +++ tests/tcg/mips/mips64-dsp/dextr_rs_w.c | 31 +++ tests/tcg/mips/mips64-dsp/dextr_s_h.c | 31 +++ tests/tcg/mips/mips64-dsp/dextr_w.c | 27 +++ tests/tcg/mips/mips64-dsp/dextrv_l.c | 28 +++ tests/tcg/mips/mips64-dsp/dextrv_r_l.c | 33 +++ tests/tcg/mips/mips64-dsp/dextrv_r_w.c | 33 +++ tests/tcg/mips/mips64-dsp/dextrv_rs_l.c | 32 +++ tests/tcg/mips/mips64-dsp/dextrv_rs_w.c | 32 +++ tests/tcg/mips/mips64-dsp/dextrv_s_h.c | 32 +++ tests/tcg/mips/mips64-dsp/dextrv_w.c | 28 +++ tests/tcg/mips/mips64-dsp/dinsv.c | 25 ++ tests/tcg/mips/mips64-dsp/dmadd.c | 57 +++++ tests/tcg/mips/mips64-dsp/dmaddu.c | 56 +++++ tests/tcg/mips/mips64-dsp/dmsub.c | 59 +++++ tests/tcg/mips/mips64-dsp/dmsubu.c | 59 +++++ tests/tcg/mips/mips64-dsp/dmthlip.c | 32 +++ tests/tcg/mips/mips64-dsp/dpaq_s_w_ph.c | 32 +++ tests/tcg/mips/mips64-dsp/dpaq_s_w_qh.c | 57 +++++ tests/tcg/mips/mips64-dsp/dpaq_sa_l_pw.c | 62 +++++ tests/tcg/mips/mips64-dsp/dpaq_sa_l_w.c | 32 +++ tests/tcg/mips/mips64-dsp/dpau_h_obl.c | 59 +++++ tests/tcg/mips/mips64-dsp/dpau_h_obr.c | 59 +++++ tests/tcg/mips/mips64-dsp/dpau_h_qbl.c | 29 +++ tests/tcg/mips/mips64-dsp/dpau_h_qbr.c | 29 +++ tests/tcg/mips/mips64-dsp/dpsq_s_w_ph.c | 29 +++ tests/tcg/mips/mips64-dsp/dpsq_s_w_qh.c | 33 +++ tests/tcg/mips/mips64-dsp/dpsq_sa_l_pw.c | 39 +++ tests/tcg/mips/mips64-dsp/dpsq_sa_l_w.c | 32 +++ tests/tcg/mips/mips64-dsp/dpsu_h_obl.c | 32 +++ tests/tcg/mips/mips64-dsp/dpsu_h_obr.c | 32 +++ tests/tcg/mips/mips64-dsp/dpsu_h_qbl.c | 29 +++ tests/tcg/mips/mips64-dsp/dpsu_h_qbr.c | 29 +++ tests/tcg/mips/mips64-dsp/dshilo.c | 31 +++ tests/tcg/mips/mips64-dsp/dshilov.c | 32 +++ tests/tcg/mips/mips64-dsp/extp.c | 50 ++++ tests/tcg/mips/mips64-dsp/extpdp.c | 51 ++++ tests/tcg/mips/mips64-dsp/extpdpv.c | 52 ++++ tests/tcg/mips/mips64-dsp/extpv.c | 51 ++++ tests/tcg/mips/mips64-dsp/extr_r_w.c | 27 +++ tests/tcg/mips/mips64-dsp/extr_rs_w.c | 27 +++ tests/tcg/mips/mips64-dsp/extr_s_h.c | 27 +++ tests/tcg/mips/mips64-dsp/extr_w.c | 27 +++ tests/tcg/mips/mips64-dsp/extrv_r_w.c | 31 +++ tests/tcg/mips/mips64-dsp/extrv_rs_w.c | 31 +++ tests/tcg/mips/mips64-dsp/extrv_s_h.c | 31 +++ tests/tcg/mips/mips64-dsp/extrv_w.c | 31 +++ tests/tcg/mips/mips64-dsp/head.S | 16 ++ tests/tcg/mips/mips64-dsp/insv.c | 26 ++ tests/tcg/mips/mips64-dsp/io.h | 22 ++ tests/tcg/mips/mips64-dsp/lbux.c | 27 +++ tests/tcg/mips/mips64-dsp/ldx.c | 27 +++ tests/tcg/mips/mips64-dsp/lhx.c | 27 +++ tests/tcg/mips/mips64-dsp/lwx.c | 27 +++ tests/tcg/mips/mips64-dsp/madd.c | 33 +++ tests/tcg/mips/mips64-dsp/maddu.c | 33 +++ tests/tcg/mips/mips64-dsp/maq_s_l_pwl.c | 56 +++++ tests/tcg/mips/mips64-dsp/maq_s_l_pwr.c | 56 +++++ tests/tcg/mips/mips64-dsp/maq_s_w_phl.c | 33 +++ tests/tcg/mips/mips64-dsp/maq_s_w_phr.c | 33 +++ tests/tcg/mips/mips64-dsp/maq_s_w_qhll.c | 62 +++++ tests/tcg/mips/mips64-dsp/maq_s_w_qhlr.c | 62 +++++ tests/tcg/mips/mips64-dsp/maq_s_w_qhrl.c | 63 +++++ tests/tcg/mips/mips64-dsp/maq_s_w_qhrr.c | 63 +++++ tests/tcg/mips/mips64-dsp/maq_sa_w_phl.c | 33 +++ tests/tcg/mips/mips64-dsp/maq_sa_w_phr.c | 33 +++ tests/tcg/mips/mips64-dsp/maq_sa_w_qhll.c | 62 +++++ tests/tcg/mips/mips64-dsp/maq_sa_w_qhlr.c | 64 +++++ tests/tcg/mips/mips64-dsp/maq_sa_w_qhrl.c | 64 +++++ tests/tcg/mips/mips64-dsp/maq_sa_w_qhrr.c | 64 +++++ tests/tcg/mips/mips64-dsp/mfhi.c | 24 ++ tests/tcg/mips/mips64-dsp/mflo.c | 24 ++ tests/tcg/mips/mips64-dsp/mips_boot.lds | 31 +++ tests/tcg/mips/mips64-dsp/modsub.c | 37 +++ tests/tcg/mips/mips64-dsp/msub.c | 32 +++ tests/tcg/mips/mips64-dsp/msubu.c | 32 +++ tests/tcg/mips/mips64-dsp/mthi.c | 24 ++ tests/tcg/mips/mips64-dsp/mthlip.c | 35 +++ tests/tcg/mips/mips64-dsp/mtlo.c | 22 ++ tests/tcg/mips/mips64-dsp/muleq_s_pw_qhl.c | 55 +++++ tests/tcg/mips/mips64-dsp/muleq_s_pw_qhr.c | 24 ++ tests/tcg/mips/mips64-dsp/muleq_s_w_phl.c | 46 ++++ tests/tcg/mips/mips64-dsp/muleq_s_w_phr.c | 45 ++++ tests/tcg/mips/mips64-dsp/muleu_s_ph_qbl.c | 27 +++ tests/tcg/mips/mips64-dsp/muleu_s_ph_qbr.c | 27 +++ tests/tcg/mips/mips64-dsp/muleu_s_qh_obl.c | 25 ++ tests/tcg/mips/mips64-dsp/muleu_s_qh_obr.c | 25 ++ tests/tcg/mips/mips64-dsp/mulq_rs_ph.c | 27 +++ tests/tcg/mips/mips64-dsp/mulq_rs_qh.c | 33 +++ tests/tcg/mips/mips64-dsp/mulsaq_s_l_pw.c | 59 +++++ tests/tcg/mips/mips64-dsp/mulsaq_s_w_qh.c | 57 +++++ tests/tcg/mips/mips64-dsp/mult.c | 26 ++ tests/tcg/mips/mips64-dsp/multu.c | 26 ++ tests/tcg/mips/mips64-dsp/packrl_ph.c | 24 ++ tests/tcg/mips/mips64-dsp/packrl_pw.c | 24 ++ tests/tcg/mips/mips64-dsp/pick_ob.c | 27 +++ tests/tcg/mips/mips64-dsp/pick_ph.c | 26 ++ tests/tcg/mips/mips64-dsp/pick_pw.c | 28 +++ tests/tcg/mips/mips64-dsp/pick_qb.c | 26 ++ tests/tcg/mips/mips64-dsp/pick_qh.c | 28 +++ tests/tcg/mips/mips64-dsp/preceq_l_pwl.c | 24 ++ tests/tcg/mips/mips64-dsp/preceq_l_pwr.c | 24 ++ tests/tcg/mips/mips64-dsp/preceq_pw_qhl.c | 21 ++ tests/tcg/mips/mips64-dsp/preceq_pw_qhla.c | 23 ++ tests/tcg/mips/mips64-dsp/preceq_pw_qhr.c | 21 ++ tests/tcg/mips/mips64-dsp/preceq_pw_qhra.c | 23 ++ tests/tcg/mips/mips64-dsp/preceq_w_phl.c | 23 ++ tests/tcg/mips/mips64-dsp/preceq_w_phr.c | 23 ++ tests/tcg/mips/mips64-dsp/precequ_ph_qbl.c | 23 ++ tests/tcg/mips/mips64-dsp/precequ_ph_qbla.c | 23 ++ tests/tcg/mips/mips64-dsp/precequ_ph_qbr.c | 23 ++ tests/tcg/mips/mips64-dsp/precequ_ph_qbra.c | 23 ++ tests/tcg/mips/mips64-dsp/precequ_qh_obl.c | 22 ++ tests/tcg/mips/mips64-dsp/precequ_qh_obla.c | 22 ++ tests/tcg/mips/mips64-dsp/precequ_qh_obr.c | 24 ++ tests/tcg/mips/mips64-dsp/precequ_qh_obra.c | 24 ++ tests/tcg/mips/mips64-dsp/preceu_ph_qbl.c | 23 ++ tests/tcg/mips/mips64-dsp/preceu_ph_qbla.c | 23 ++ tests/tcg/mips/mips64-dsp/preceu_ph_qbr.c | 23 ++ tests/tcg/mips/mips64-dsp/preceu_ph_qbra.c | 23 ++ tests/tcg/mips/mips64-dsp/preceu_qh_obl.c | 22 ++ tests/tcg/mips/mips64-dsp/preceu_qh_obla.c | 22 ++ tests/tcg/mips/mips64-dsp/preceu_qh_obr.c | 23 ++ tests/tcg/mips/mips64-dsp/preceu_qh_obra.c | 23 ++ tests/tcg/mips/mips64-dsp/precr_ob_qh.c | 25 ++ tests/tcg/mips/mips64-dsp/precr_sra_qh_pw.c | 40 ++++ tests/tcg/mips/mips64-dsp/precr_sra_r_qh_pw.c | 40 ++++ tests/tcg/mips/mips64-dsp/precrq_ob_qh.c | 25 ++ tests/tcg/mips/mips64-dsp/precrq_ph_w.c | 24 ++ tests/tcg/mips/mips64-dsp/precrq_pw_l.c | 25 ++ tests/tcg/mips/mips64-dsp/precrq_qb_ph.c | 24 ++ tests/tcg/mips/mips64-dsp/precrq_qh_pw.c | 25 ++ tests/tcg/mips/mips64-dsp/precrq_rs_ph_w.c | 24 ++ tests/tcg/mips/mips64-dsp/precrq_rs_qh_pw.c | 25 ++ tests/tcg/mips/mips64-dsp/precrqu_s_ob_qh.c | 27 +++ tests/tcg/mips/mips64-dsp/precrqu_s_qb_ph.c | 24 ++ tests/tcg/mips/mips64-dsp/prependd.c | 37 +++ tests/tcg/mips/mips64-dsp/prependw.c | 37 +++ tests/tcg/mips/mips64-dsp/printf.c | 266 +++++++++++++++++++++ tests/tcg/mips/mips64-dsp/raddu_l_ob.c | 22 ++ tests/tcg/mips/mips64-dsp/raddu_w_qb.c | 23 ++ tests/tcg/mips/mips64-dsp/rddsp.c | 53 ++++ tests/tcg/mips/mips64-dsp/repl_ob.c | 21 ++ tests/tcg/mips/mips64-dsp/repl_ph.c | 30 +++ tests/tcg/mips/mips64-dsp/repl_pw.c | 34 +++ tests/tcg/mips/mips64-dsp/repl_qb.c | 19 ++ tests/tcg/mips/mips64-dsp/repl_qh.c | 34 +++ tests/tcg/mips/mips64-dsp/replv_ob.c | 23 ++ tests/tcg/mips/mips64-dsp/replv_ph.c | 22 ++ tests/tcg/mips/mips64-dsp/replv_pw.c | 23 ++ tests/tcg/mips/mips64-dsp/replv_qb.c | 22 ++ tests/tcg/mips/mips64-dsp/shilo.c | 29 +++ tests/tcg/mips/mips64-dsp/shilov.c | 31 +++ tests/tcg/mips/mips64-dsp/shll_ob.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_ph.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_pw.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_qb.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_qh.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_s_ph.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_s_pw.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_s_qh.c | 26 ++ tests/tcg/mips/mips64-dsp/shll_s_w.c | 26 ++ tests/tcg/mips/mips64-dsp/shllv_ob.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_ph.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_pw.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_qb.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_qh.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_s_ph.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_s_pw.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_s_qh.c | 27 +++ tests/tcg/mips/mips64-dsp/shllv_s_w.c | 27 +++ tests/tcg/mips/mips64-dsp/shra_ob.c | 22 ++ tests/tcg/mips/mips64-dsp/shra_ph.c | 23 ++ tests/tcg/mips/mips64-dsp/shra_pw.c | 22 ++ tests/tcg/mips/mips64-dsp/shra_qh.c | 24 ++ tests/tcg/mips/mips64-dsp/shra_r_ob.c | 22 ++ tests/tcg/mips/mips64-dsp/shra_r_ph.c | 23 ++ tests/tcg/mips/mips64-dsp/shra_r_pw.c | 22 ++ tests/tcg/mips/mips64-dsp/shra_r_qh.c | 23 ++ tests/tcg/mips/mips64-dsp/shra_r_w.c | 23 ++ tests/tcg/mips/mips64-dsp/shrav_ph.c | 24 ++ tests/tcg/mips/mips64-dsp/shrav_pw.c | 23 ++ tests/tcg/mips/mips64-dsp/shrav_qh.c | 24 ++ tests/tcg/mips/mips64-dsp/shrav_r_ph.c | 24 ++ tests/tcg/mips/mips64-dsp/shrav_r_pw.c | 23 ++ tests/tcg/mips/mips64-dsp/shrav_r_qh.c | 24 ++ tests/tcg/mips/mips64-dsp/shrav_r_w.c | 24 ++ tests/tcg/mips/mips64-dsp/shrl_ob.c | 23 ++ tests/tcg/mips/mips64-dsp/shrl_qb.c | 23 ++ tests/tcg/mips/mips64-dsp/shrl_qh.c | 22 ++ tests/tcg/mips/mips64-dsp/shrlv_ob.c | 24 ++ tests/tcg/mips/mips64-dsp/shrlv_qb.c | 24 ++ tests/tcg/mips/mips64-dsp/shrlv_qh.c | 23 ++ tests/tcg/mips/mips64-dsp/subq_ph.c | 27 +++ tests/tcg/mips/mips64-dsp/subq_pw.c | 44 ++++ tests/tcg/mips/mips64-dsp/subq_qh.c | 26 ++ tests/tcg/mips/mips64-dsp/subq_s_ph.c | 27 +++ tests/tcg/mips/mips64-dsp/subq_s_pw.c | 45 ++++ tests/tcg/mips/mips64-dsp/subq_s_qh.c | 44 ++++ tests/tcg/mips/mips64-dsp/subq_s_w.c | 27 +++ tests/tcg/mips/mips64-dsp/subu_ob.c | 26 ++ tests/tcg/mips/mips64-dsp/subu_qb.c | 27 +++ tests/tcg/mips/mips64-dsp/subu_s_ob.c | 26 ++ tests/tcg/mips/mips64-dsp/subu_s_qb.c | 27 +++ tests/tcg/mips/mips64-dsp/wrdsp.c | 48 ++++ tests/tcg/mips/mips64-dspr2/.directory | 2 + tests/tcg/mips/mips64-dspr2/Makefile | 117 +++++++++ tests/tcg/mips/mips64-dspr2/absq_s_qb.c | 42 ++++ tests/tcg/mips/mips64-dspr2/addqh_ph.c | 35 +++ tests/tcg/mips/mips64-dspr2/addqh_r_ph.c | 35 +++ tests/tcg/mips/mips64-dspr2/addqh_r_w.c | 38 +++ tests/tcg/mips/mips64-dspr2/addqh_w.c | 39 +++ tests/tcg/mips/mips64-dspr2/addu_ph.c | 35 +++ tests/tcg/mips/mips64-dspr2/addu_qh.c | 41 ++++ tests/tcg/mips/mips64-dspr2/addu_s_ph.c | 35 +++ tests/tcg/mips/mips64-dspr2/addu_s_qh.c | 41 ++++ tests/tcg/mips/mips64-dspr2/adduh_ob.c | 21 ++ tests/tcg/mips/mips64-dspr2/adduh_qb.c | 35 +++ tests/tcg/mips/mips64-dspr2/adduh_r_ob.c | 21 ++ tests/tcg/mips/mips64-dspr2/adduh_r_qb.c | 35 +++ tests/tcg/mips/mips64-dspr2/append.c | 35 +++ tests/tcg/mips/mips64-dspr2/balign.c | 35 +++ tests/tcg/mips/mips64-dspr2/cmpgdu_eq_ob.c | 26 ++ tests/tcg/mips/mips64-dspr2/cmpgdu_eq_qb.c | 41 ++++ tests/tcg/mips/mips64-dspr2/cmpgdu_le_ob.c | 26 ++ tests/tcg/mips/mips64-dspr2/cmpgdu_le_qb.c | 48 ++++ tests/tcg/mips/mips64-dspr2/cmpgdu_lt_ob.c | 26 ++ tests/tcg/mips/mips64-dspr2/cmpgdu_lt_qb.c | 48 ++++ tests/tcg/mips/mips64-dspr2/dbalign.c | 23 ++ tests/tcg/mips/mips64-dspr2/dpa_w_ph.c | 32 +++ tests/tcg/mips/mips64-dspr2/dpa_w_qh.c | 56 +++++ tests/tcg/mips/mips64-dspr2/dpaqx_s_w_ph.c | 74 ++++++ tests/tcg/mips/mips64-dspr2/dpaqx_sa_w_ph.c | 42 ++++ tests/tcg/mips/mips64-dspr2/dpax_w_ph.c | 32 +++ tests/tcg/mips/mips64-dspr2/dps_w_ph.c | 28 +++ tests/tcg/mips/mips64-dspr2/dps_w_qh.c | 55 +++++ tests/tcg/mips/mips64-dspr2/dpsqx_s_w_ph.c | 31 +++ tests/tcg/mips/mips64-dspr2/dpsqx_sa_w_ph.c | 30 +++ tests/tcg/mips/mips64-dspr2/dpsx_w_ph.c | 28 +++ tests/tcg/mips/mips64-dspr2/head.S | 16 ++ tests/tcg/mips/mips64-dspr2/io.h | 22 ++ tests/tcg/mips/mips64-dspr2/mips_boot.lds | 31 +++ tests/tcg/mips/mips64-dspr2/mul_ph.c | 26 ++ tests/tcg/mips/mips64-dspr2/mul_s_ph.c | 26 ++ tests/tcg/mips/mips64-dspr2/muleq_s_w_phl.c | 42 ++++ tests/tcg/mips/mips64-dspr2/mulq_rs_w.c | 40 ++++ tests/tcg/mips/mips64-dspr2/mulq_s_ph.c | 26 ++ tests/tcg/mips/mips64-dspr2/mulq_s_w.c | 40 ++++ tests/tcg/mips/mips64-dspr2/mulsa_w_ph.c | 30 +++ tests/tcg/mips/mips64-dspr2/mulsaq_s_w_ph.c | 30 +++ tests/tcg/mips/mips64-dspr2/precr_qb_ph.c | 23 ++ tests/tcg/mips/mips64-dspr2/precr_sra_ph_w.c | 37 +++ tests/tcg/mips/mips64-dspr2/precr_sra_r_ph_w.c | 37 +++ tests/tcg/mips/mips64-dspr2/prepend.c | 35 +++ tests/tcg/mips/mips64-dspr2/printf.c | 266 +++++++++++++++++++++ tests/tcg/mips/mips64-dspr2/shra_qb.c | 35 +++ tests/tcg/mips/mips64-dspr2/shra_r_qb.c | 35 +++ tests/tcg/mips/mips64-dspr2/shrav_ob.c | 22 ++ tests/tcg/mips/mips64-dspr2/shrav_qb.c | 37 +++ tests/tcg/mips/mips64-dspr2/shrav_r_ob.c | 22 ++ tests/tcg/mips/mips64-dspr2/shrav_r_qb.c | 37 +++ tests/tcg/mips/mips64-dspr2/shrl_ph.c | 22 ++ tests/tcg/mips/mips64-dspr2/shrlv_ph.c | 23 ++ tests/tcg/mips/mips64-dspr2/subqh_ph.c | 23 ++ tests/tcg/mips/mips64-dspr2/subqh_r_ph.c | 23 ++ tests/tcg/mips/mips64-dspr2/subqh_r_w.c | 23 ++ tests/tcg/mips/mips64-dspr2/subqh_w.c | 23 ++ tests/tcg/mips/mips64-dspr2/subu_ph.c | 26 ++ tests/tcg/mips/mips64-dspr2/subu_qh.c | 24 ++ tests/tcg/mips/mips64-dspr2/subu_s_ph.c | 25 ++ tests/tcg/mips/mips64-dspr2/subu_s_qh.c | 24 ++ tests/tcg/mips/mips64-dspr2/subuh_ob.c | 23 ++ tests/tcg/mips/mips64-dspr2/subuh_qb.c | 23 ++ tests/tcg/mips/mips64-dspr2/subuh_r_ob.c | 23 ++ tests/tcg/mips/mips64-dspr2/subuh_r_qb.c | 23 ++ 487 files changed, 15870 insertions(+) create mode 100644 tests/tcg/mips/mips32-dsp/Makefile create mode 100644 tests/tcg/mips/mips32-dsp/absq_s_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/absq_s_w.c create mode 100644 tests/tcg/mips/mips32-dsp/addq_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/addq_s_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/addsc.c create mode 100644 tests/tcg/mips/mips32-dsp/addu_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/addu_s_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/addwc.c create mode 100644 tests/tcg/mips/mips32-dsp/bitrev.c create mode 100644 tests/tcg/mips/mips32-dsp/bposge32.c create mode 100644 tests/tcg/mips/mips32-dsp/cmp_eq_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/cmp_le_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/cmp_lt_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/cmpgu_eq_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/cmpgu_le_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/cmpgu_lt_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/cmpu_eq_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/cmpu_le_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/cmpu_lt_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/dpaq_s_w_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/dpaq_sa_l_w.c create mode 100644 tests/tcg/mips/mips32-dsp/dpau_h_qbl.c create mode 100644 tests/tcg/mips/mips32-dsp/dpau_h_qbr.c create mode 100644 tests/tcg/mips/mips32-dsp/dpsq_s_w_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/dpsq_sa_l_w.c create mode 100644 tests/tcg/mips/mips32-dsp/dpsu_h_qbl.c create mode 100644 tests/tcg/mips/mips32-dsp/dpsu_h_qbr.c create mode 100644 tests/tcg/mips/mips32-dsp/extp.c create mode 100644 tests/tcg/mips/mips32-dsp/extpdp.c create mode 100644 tests/tcg/mips/mips32-dsp/extpdpv.c create mode 100644 tests/tcg/mips/mips32-dsp/extpv.c create mode 100644 tests/tcg/mips/mips32-dsp/extr_r_w.c create mode 100644 tests/tcg/mips/mips32-dsp/extr_rs_w.c create mode 100644 tests/tcg/mips/mips32-dsp/extr_s_h.c create mode 100644 tests/tcg/mips/mips32-dsp/extr_w.c create mode 100644 tests/tcg/mips/mips32-dsp/extrv_r_w.c create mode 100644 tests/tcg/mips/mips32-dsp/extrv_rs_w.c create mode 100644 tests/tcg/mips/mips32-dsp/extrv_s_h.c create mode 100644 tests/tcg/mips/mips32-dsp/extrv_w.c create mode 100644 tests/tcg/mips/mips32-dsp/insv.c create mode 100644 tests/tcg/mips/mips32-dsp/lbux.c create mode 100644 tests/tcg/mips/mips32-dsp/lhx.c create mode 100644 tests/tcg/mips/mips32-dsp/lwx.c create mode 100644 tests/tcg/mips/mips32-dsp/madd.c create mode 100644 tests/tcg/mips/mips32-dsp/maddu.c create mode 100644 tests/tcg/mips/mips32-dsp/main.c create mode 100644 tests/tcg/mips/mips32-dsp/maq_s_w_phl.c create mode 100644 tests/tcg/mips/mips32-dsp/maq_s_w_phr.c create mode 100644 tests/tcg/mips/mips32-dsp/maq_sa_w_phl.c create mode 100644 tests/tcg/mips/mips32-dsp/maq_sa_w_phr.c create mode 100644 tests/tcg/mips/mips32-dsp/mfhi.c create mode 100644 tests/tcg/mips/mips32-dsp/mflo.c create mode 100644 tests/tcg/mips/mips32-dsp/modsub.c create mode 100644 tests/tcg/mips/mips32-dsp/msub.c create mode 100644 tests/tcg/mips/mips32-dsp/msubu.c create mode 100644 tests/tcg/mips/mips32-dsp/mthi.c create mode 100644 tests/tcg/mips/mips32-dsp/mthlip.c create mode 100644 tests/tcg/mips/mips32-dsp/mtlo.c create mode 100644 tests/tcg/mips/mips32-dsp/muleq_s_w_phl.c create mode 100644 tests/tcg/mips/mips32-dsp/muleq_s_w_phr.c create mode 100644 tests/tcg/mips/mips32-dsp/muleu_s_ph_qbl.c create mode 100644 tests/tcg/mips/mips32-dsp/muleu_s_ph_qbr.c create mode 100644 tests/tcg/mips/mips32-dsp/mulq_rs_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/mult.c create mode 100644 tests/tcg/mips/mips32-dsp/multu.c create mode 100644 tests/tcg/mips/mips32-dsp/packrl_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/pick_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/pick_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/preceq_w_phl.c create mode 100644 tests/tcg/mips/mips32-dsp/preceq_w_phr.c create mode 100644 tests/tcg/mips/mips32-dsp/precequ_ph_qbl.c create mode 100644 tests/tcg/mips/mips32-dsp/precequ_ph_qbla.c create mode 100644 tests/tcg/mips/mips32-dsp/precequ_ph_qbr.c create mode 100644 tests/tcg/mips/mips32-dsp/precequ_ph_qbra.c create mode 100644 tests/tcg/mips/mips32-dsp/preceu_ph_qbl.c create mode 100644 tests/tcg/mips/mips32-dsp/preceu_ph_qbla.c create mode 100644 tests/tcg/mips/mips32-dsp/preceu_ph_qbr.c create mode 100644 tests/tcg/mips/mips32-dsp/preceu_ph_qbra.c create mode 100644 tests/tcg/mips/mips32-dsp/precrq_ph_w.c create mode 100644 tests/tcg/mips/mips32-dsp/precrq_qb_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/precrq_rs_ph_w.c create mode 100644 tests/tcg/mips/mips32-dsp/precrqu_s_qb_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/raddu_w_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/rddsp.c create mode 100644 tests/tcg/mips/mips32-dsp/repl_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/repl_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/replv_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/replv_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/shilo.c create mode 100644 tests/tcg/mips/mips32-dsp/shilov.c create mode 100644 tests/tcg/mips/mips32-dsp/shll_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shll_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/shll_s_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shll_s_w.c create mode 100644 tests/tcg/mips/mips32-dsp/shllv_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shllv_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/shllv_s_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shllv_s_w.c create mode 100644 tests/tcg/mips/mips32-dsp/shra_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shra_r_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shra_r_w.c create mode 100644 tests/tcg/mips/mips32-dsp/shrav_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shrav_r_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/shrav_r_w.c create mode 100644 tests/tcg/mips/mips32-dsp/shrl_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/shrlv_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/subq_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/subq_s_ph.c create mode 100644 tests/tcg/mips/mips32-dsp/subq_s_w.c create mode 100644 tests/tcg/mips/mips32-dsp/subu_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/subu_s_qb.c create mode 100644 tests/tcg/mips/mips32-dsp/wrdsp.c create mode 100644 tests/tcg/mips/mips32-dspr2/Makefile create mode 100644 tests/tcg/mips/mips32-dspr2/absq_s_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/addqh_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/addqh_r_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/addqh_r_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/addqh_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/addu_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/addu_s_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/adduh_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/adduh_r_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/append.c create mode 100644 tests/tcg/mips/mips32-dspr2/balign.c create mode 100644 tests/tcg/mips/mips32-dspr2/cmpgdu_eq_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/cmpgdu_le_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/cmpgdu_lt_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/dpa_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/dpaqx_s_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/dpaqx_sa_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/dpax_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/dps_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/dpsqx_s_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/dpsqx_sa_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/dpsx_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/mul_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/mul_s_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/muleq_s_w_phl.c create mode 100644 tests/tcg/mips/mips32-dspr2/mulq_rs_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/mulq_s_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/mulq_s_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/mulsa_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/mulsaq_s_w_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/precr_qb_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/precr_sra_ph_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/precr_sra_r_ph_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/prepend.c create mode 100644 tests/tcg/mips/mips32-dspr2/shra_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/shra_r_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/shrav_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/shrav_r_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/shrl_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/shrlv_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/subqh_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/subqh_r_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/subqh_r_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/subqh_w.c create mode 100644 tests/tcg/mips/mips32-dspr2/subu_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/subu_s_ph.c create mode 100644 tests/tcg/mips/mips32-dspr2/subuh_qb.c create mode 100644 tests/tcg/mips/mips32-dspr2/subuh_r_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/Makefile create mode 100644 tests/tcg/mips/mips64-dsp/absq_s_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/absq_s_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/absq_s_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/absq_s_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/absq_s_w.c create mode 100644 tests/tcg/mips/mips64-dsp/addq_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/addq_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/addq_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/addq_s_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/addq_s_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/addq_s_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/addsc.c create mode 100644 tests/tcg/mips/mips64-dsp/addu_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/addu_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/addu_s_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/addu_s_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/addwc.c create mode 100644 tests/tcg/mips/mips64-dsp/bitrev.c create mode 100644 tests/tcg/mips/mips64-dsp/bposge32.c create mode 100644 tests/tcg/mips/mips64-dsp/bposge64.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_eq_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_eq_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_eq_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_le_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_le_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_le_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_lt_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_lt_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/cmp_lt_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpgu_eq_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpgu_eq_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpgu_le_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpgu_le_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpgu_lt_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpgu_lt_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpu_eq_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpu_eq_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpu_le_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpu_le_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpu_lt_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/cmpu_lt_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/dappend.c create mode 100644 tests/tcg/mips/mips64-dsp/dextp.c create mode 100644 tests/tcg/mips/mips64-dsp/dextpdp.c create mode 100644 tests/tcg/mips/mips64-dsp/dextpdpv.c create mode 100644 tests/tcg/mips/mips64-dsp/dextpv.c create mode 100644 tests/tcg/mips/mips64-dsp/dextr_l.c create mode 100644 tests/tcg/mips/mips64-dsp/dextr_r_l.c create mode 100644 tests/tcg/mips/mips64-dsp/dextr_r_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dextr_rs_l.c create mode 100644 tests/tcg/mips/mips64-dsp/dextr_rs_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dextr_s_h.c create mode 100644 tests/tcg/mips/mips64-dsp/dextr_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dextrv_l.c create mode 100644 tests/tcg/mips/mips64-dsp/dextrv_r_l.c create mode 100644 tests/tcg/mips/mips64-dsp/dextrv_r_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dextrv_rs_l.c create mode 100644 tests/tcg/mips/mips64-dsp/dextrv_rs_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dextrv_s_h.c create mode 100644 tests/tcg/mips/mips64-dsp/dextrv_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dinsv.c create mode 100644 tests/tcg/mips/mips64-dsp/dmadd.c create mode 100644 tests/tcg/mips/mips64-dsp/dmaddu.c create mode 100644 tests/tcg/mips/mips64-dsp/dmsub.c create mode 100644 tests/tcg/mips/mips64-dsp/dmsubu.c create mode 100644 tests/tcg/mips/mips64-dsp/dmthlip.c create mode 100644 tests/tcg/mips/mips64-dsp/dpaq_s_w_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/dpaq_s_w_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/dpaq_sa_l_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/dpaq_sa_l_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dpau_h_obl.c create mode 100644 tests/tcg/mips/mips64-dsp/dpau_h_obr.c create mode 100644 tests/tcg/mips/mips64-dsp/dpau_h_qbl.c create mode 100644 tests/tcg/mips/mips64-dsp/dpau_h_qbr.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsq_s_w_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsq_s_w_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsq_sa_l_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsq_sa_l_w.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsu_h_obl.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsu_h_obr.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsu_h_qbl.c create mode 100644 tests/tcg/mips/mips64-dsp/dpsu_h_qbr.c create mode 100644 tests/tcg/mips/mips64-dsp/dshilo.c create mode 100644 tests/tcg/mips/mips64-dsp/dshilov.c create mode 100644 tests/tcg/mips/mips64-dsp/extp.c create mode 100644 tests/tcg/mips/mips64-dsp/extpdp.c create mode 100644 tests/tcg/mips/mips64-dsp/extpdpv.c create mode 100644 tests/tcg/mips/mips64-dsp/extpv.c create mode 100644 tests/tcg/mips/mips64-dsp/extr_r_w.c create mode 100644 tests/tcg/mips/mips64-dsp/extr_rs_w.c create mode 100644 tests/tcg/mips/mips64-dsp/extr_s_h.c create mode 100644 tests/tcg/mips/mips64-dsp/extr_w.c create mode 100644 tests/tcg/mips/mips64-dsp/extrv_r_w.c create mode 100644 tests/tcg/mips/mips64-dsp/extrv_rs_w.c create mode 100644 tests/tcg/mips/mips64-dsp/extrv_s_h.c create mode 100644 tests/tcg/mips/mips64-dsp/extrv_w.c create mode 100644 tests/tcg/mips/mips64-dsp/head.S create mode 100644 tests/tcg/mips/mips64-dsp/insv.c create mode 100644 tests/tcg/mips/mips64-dsp/io.h create mode 100644 tests/tcg/mips/mips64-dsp/lbux.c create mode 100644 tests/tcg/mips/mips64-dsp/ldx.c create mode 100644 tests/tcg/mips/mips64-dsp/lhx.c create mode 100644 tests/tcg/mips/mips64-dsp/lwx.c create mode 100644 tests/tcg/mips/mips64-dsp/madd.c create mode 100644 tests/tcg/mips/mips64-dsp/maddu.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_l_pwl.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_l_pwr.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_w_phl.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_w_phr.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_w_qhll.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_w_qhlr.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_w_qhrl.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_s_w_qhrr.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_sa_w_phl.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_sa_w_phr.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_sa_w_qhll.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_sa_w_qhlr.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_sa_w_qhrl.c create mode 100644 tests/tcg/mips/mips64-dsp/maq_sa_w_qhrr.c create mode 100644 tests/tcg/mips/mips64-dsp/mfhi.c create mode 100644 tests/tcg/mips/mips64-dsp/mflo.c create mode 100644 tests/tcg/mips/mips64-dsp/mips_boot.lds create mode 100644 tests/tcg/mips/mips64-dsp/modsub.c create mode 100644 tests/tcg/mips/mips64-dsp/msub.c create mode 100644 tests/tcg/mips/mips64-dsp/msubu.c create mode 100644 tests/tcg/mips/mips64-dsp/mthi.c create mode 100644 tests/tcg/mips/mips64-dsp/mthlip.c create mode 100644 tests/tcg/mips/mips64-dsp/mtlo.c create mode 100644 tests/tcg/mips/mips64-dsp/muleq_s_pw_qhl.c create mode 100644 tests/tcg/mips/mips64-dsp/muleq_s_pw_qhr.c create mode 100644 tests/tcg/mips/mips64-dsp/muleq_s_w_phl.c create mode 100644 tests/tcg/mips/mips64-dsp/muleq_s_w_phr.c create mode 100644 tests/tcg/mips/mips64-dsp/muleu_s_ph_qbl.c create mode 100644 tests/tcg/mips/mips64-dsp/muleu_s_ph_qbr.c create mode 100644 tests/tcg/mips/mips64-dsp/muleu_s_qh_obl.c create mode 100644 tests/tcg/mips/mips64-dsp/muleu_s_qh_obr.c create mode 100644 tests/tcg/mips/mips64-dsp/mulq_rs_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/mulq_rs_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/mulsaq_s_l_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/mulsaq_s_w_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/mult.c create mode 100644 tests/tcg/mips/mips64-dsp/multu.c create mode 100644 tests/tcg/mips/mips64-dsp/packrl_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/packrl_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/pick_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/pick_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/pick_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/pick_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/pick_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_l_pwl.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_l_pwr.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_pw_qhl.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_pw_qhla.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_pw_qhr.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_pw_qhra.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_w_phl.c create mode 100644 tests/tcg/mips/mips64-dsp/preceq_w_phr.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_ph_qbl.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_ph_qbla.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_ph_qbr.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_ph_qbra.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_qh_obl.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_qh_obla.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_qh_obr.c create mode 100644 tests/tcg/mips/mips64-dsp/precequ_qh_obra.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_ph_qbl.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_ph_qbla.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_ph_qbr.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_ph_qbra.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_qh_obl.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_qh_obla.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_qh_obr.c create mode 100644 tests/tcg/mips/mips64-dsp/preceu_qh_obra.c create mode 100644 tests/tcg/mips/mips64-dsp/precr_ob_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/precr_sra_qh_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/precr_sra_r_qh_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/precrq_ob_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/precrq_ph_w.c create mode 100644 tests/tcg/mips/mips64-dsp/precrq_pw_l.c create mode 100644 tests/tcg/mips/mips64-dsp/precrq_qb_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/precrq_qh_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/precrq_rs_ph_w.c create mode 100644 tests/tcg/mips/mips64-dsp/precrq_rs_qh_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/precrqu_s_ob_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/precrqu_s_qb_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/prependd.c create mode 100644 tests/tcg/mips/mips64-dsp/prependw.c create mode 100644 tests/tcg/mips/mips64-dsp/printf.c create mode 100644 tests/tcg/mips/mips64-dsp/raddu_l_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/raddu_w_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/rddsp.c create mode 100644 tests/tcg/mips/mips64-dsp/repl_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/repl_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/repl_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/repl_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/repl_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/replv_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/replv_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/replv_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/replv_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/shilo.c create mode 100644 tests/tcg/mips/mips64-dsp/shilov.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_s_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_s_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_s_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shll_s_w.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_s_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_s_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_s_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shllv_s_w.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_r_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_r_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_r_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_r_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shra_r_w.c create mode 100644 tests/tcg/mips/mips64-dsp/shrav_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shrav_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shrav_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shrav_r_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/shrav_r_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/shrav_r_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shrav_r_w.c create mode 100644 tests/tcg/mips/mips64-dsp/shrl_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/shrl_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/shrl_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/shrlv_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/shrlv_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/shrlv_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/subq_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/subq_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/subq_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/subq_s_ph.c create mode 100644 tests/tcg/mips/mips64-dsp/subq_s_pw.c create mode 100644 tests/tcg/mips/mips64-dsp/subq_s_qh.c create mode 100644 tests/tcg/mips/mips64-dsp/subq_s_w.c create mode 100644 tests/tcg/mips/mips64-dsp/subu_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/subu_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/subu_s_ob.c create mode 100644 tests/tcg/mips/mips64-dsp/subu_s_qb.c create mode 100644 tests/tcg/mips/mips64-dsp/wrdsp.c create mode 100644 tests/tcg/mips/mips64-dspr2/.directory create mode 100644 tests/tcg/mips/mips64-dspr2/Makefile create mode 100644 tests/tcg/mips/mips64-dspr2/absq_s_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/addqh_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/addqh_r_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/addqh_r_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/addqh_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/addu_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/addu_qh.c create mode 100644 tests/tcg/mips/mips64-dspr2/addu_s_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/addu_s_qh.c create mode 100644 tests/tcg/mips/mips64-dspr2/adduh_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/adduh_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/adduh_r_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/adduh_r_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/append.c create mode 100644 tests/tcg/mips/mips64-dspr2/balign.c create mode 100644 tests/tcg/mips/mips64-dspr2/cmpgdu_eq_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/cmpgdu_eq_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/cmpgdu_le_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/cmpgdu_le_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/cmpgdu_lt_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/cmpgdu_lt_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/dbalign.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpa_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpa_w_qh.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpaqx_s_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpaqx_sa_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpax_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/dps_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/dps_w_qh.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpsqx_s_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpsqx_sa_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/dpsx_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/head.S create mode 100644 tests/tcg/mips/mips64-dspr2/io.h create mode 100644 tests/tcg/mips/mips64-dspr2/mips_boot.lds create mode 100644 tests/tcg/mips/mips64-dspr2/mul_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/mul_s_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/muleq_s_w_phl.c create mode 100644 tests/tcg/mips/mips64-dspr2/mulq_rs_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/mulq_s_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/mulq_s_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/mulsa_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/mulsaq_s_w_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/precr_qb_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/precr_sra_ph_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/precr_sra_r_ph_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/prepend.c create mode 100644 tests/tcg/mips/mips64-dspr2/printf.c create mode 100644 tests/tcg/mips/mips64-dspr2/shra_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/shra_r_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/shrav_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/shrav_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/shrav_r_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/shrav_r_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/shrl_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/shrlv_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/subqh_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/subqh_r_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/subqh_r_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/subqh_w.c create mode 100644 tests/tcg/mips/mips64-dspr2/subu_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/subu_qh.c create mode 100644 tests/tcg/mips/mips64-dspr2/subu_s_ph.c create mode 100644 tests/tcg/mips/mips64-dspr2/subu_s_qh.c create mode 100644 tests/tcg/mips/mips64-dspr2/subuh_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/subuh_qb.c create mode 100644 tests/tcg/mips/mips64-dspr2/subuh_r_ob.c create mode 100644 tests/tcg/mips/mips64-dspr2/subuh_r_qb.ctests/tcg/mips/mips32-dsp/Makefile new file +135
-0@@ -0,0 +1,135 @@ +-include ../../config-host.mak + +CROSS=mips64el-unknown-linux-gnu- + +SIM=qemu-mipsel +SIM_FLAGS=-cpu 74Kf + +CC = $(CROSS)gcc +CFLAGS = -mabi=32 -march=mips32r2 -mgp32 -mdsp -static + +TESTCASES = absq_s_ph.tst +TESTCASES += absq_s_w.tst +TESTCASES += addq_ph.tst +TESTCASES += addq_s_ph.tst +TESTCASES += addsc.tst +TESTCASES += addu_qb.tst +TESTCASES += addu_s_qb.tst +TESTCASES += addwc.tst +TESTCASES += bitrev.tst +TESTCASES += bposge32.tst +TESTCASES += cmp_eq_ph.tst +TESTCASES += cmpgu_eq_qb.tst +TESTCASES += cmpgu_le_qb.tst +TESTCASES += cmpgu_lt_qb.tst +TESTCASES += cmp_le_ph.tst +TESTCASES += cmp_lt_ph.tst +TESTCASES += cmpu_eq_qb.tst +TESTCASES += cmpu_le_qb.tst +TESTCASES += cmpu_lt_qb.tst +TESTCASES += dpaq_sa_l_w.tst +TESTCASES += dpaq_s_w_ph.tst +TESTCASES += dpau_h_qbl.tst +TESTCASES += dpau_h_qbr.tst +TESTCASES += dpsq_sa_l_w.tst +TESTCASES += dpsq_s_w_ph.tst +TESTCASES += dpsu_h_qbl.tst +TESTCASES += dpsu_h_qbr.tst +TESTCASES += extp.tst +TESTCASES += extpdp.tst +TESTCASES += extpdpv.tst +TESTCASES += extpv.tst +TESTCASES += extr_rs_w.tst +TESTCASES += extr_r_w.tst +TESTCASES += extr_s_h.tst +TESTCASES += extrv_rs_w.tst +TESTCASES += extrv_r_w.tst +TESTCASES += extrv_s_h.tst +TESTCASES += extrv_w.tst +TESTCASES += extr_w.tst +TESTCASES += insv.tst +TESTCASES += lbux.tst +TESTCASES += lhx.tst +TESTCASES += lwx.tst +TESTCASES += madd.tst +TESTCASES += maddu.tst +TESTCASES += maq_sa_w_phl.tst +TESTCASES += maq_sa_w_phr.tst +TESTCASES += maq_s_w_phl.tst +TESTCASES += maq_s_w_phr.tst +TESTCASES += mfhi.tst +TESTCASES += mflo.tst +TESTCASES += modsub.tst +TESTCASES += msub.tst +TESTCASES += msubu.tst +TESTCASES += mthi.tst +TESTCASES += mthlip.tst +TESTCASES += mtlo.tst +TESTCASES += muleq_s_w_phl.tst +TESTCASES += muleq_s_w_phr.tst +TESTCASES += muleu_s_ph_qbl.tst +TESTCASES += muleu_s_ph_qbr.tst +TESTCASES += mulq_rs_ph.tst +TESTCASES += mult.tst +TESTCASES += multu.tst +TESTCASES += packrl_ph.tst +TESTCASES += pick_ph.tst +TESTCASES += pick_qb.tst +TESTCASES += precequ_ph_qbla.tst +TESTCASES += precequ_ph_qbl.tst +TESTCASES += precequ_ph_qbra.tst +TESTCASES += precequ_ph_qbr.tst +TESTCASES += preceq_w_phl.tst +TESTCASES += preceq_w_phr.tst +TESTCASES += preceu_ph_qbla.tst +TESTCASES += preceu_ph_qbl.tst +TESTCASES += preceu_ph_qbra.tst +TESTCASES += preceu_ph_qbr.tst +TESTCASES += precrq_ph_w.tst +TESTCASES += precrq_qb_ph.tst +TESTCASES += precrq_rs_ph_w.tst +TESTCASES += precrqu_s_qb_ph.tst +TESTCASES += raddu_w_qb.tst +TESTCASES += rddsp.tst +TESTCASES += repl_ph.tst +TESTCASES += repl_qb.tst +TESTCASES += replv_ph.tst +TESTCASES += replv_qb.tst +TESTCASES += shilo.tst +TESTCASES += shilov.tst +TESTCASES += shll_ph.tst +TESTCASES += shll_qb.tst +TESTCASES += shll_s_ph.tst +TESTCASES += shll_s_w.tst +TESTCASES += shllv_ph.tst +TESTCASES += shllv_qb.tst +TESTCASES += shllv_s_ph.tst +TESTCASES += shllv_s_w.tst +TESTCASES += shra_ph.tst +TESTCASES += shra_r_ph.tst +TESTCASES += shra_r_w.tst +TESTCASES += shrav_ph.tst +TESTCASES += shrav_r_ph.tst +TESTCASES += shrav_r_w.tst +TESTCASES += shrl_qb.tst +TESTCASES += shrlv_qb.tst +TESTCASES += subq_ph.tst +TESTCASES += subq_s_ph.tst +TESTCASES += subq_s_w.tst +TESTCASES += subu_qb.tst +TESTCASES += subu_s_qb.tst +TESTCASES += wrdsp.tst + +all: $(TESTCASES) + +%.tst: %.c + $(CC) $(CFLAGS) $< -o $@ + +check: $(TESTCASES) + @for case in $(TESTCASES); do \ + echo $(SIM) $(SIM_FLAGS) ./$$case;\ + $(SIM) $(SIM_FLAGS) ./$$case; \ + done + +clean: + $(RM) -rf $(TESTCASES)tests/tcg/mips/mips32-dsp/absq_s_ph.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + + +int main () +{ +int rd, rt; +int result; + + rt =0x10017EFD ; + result =0x10017EFD ; + + __asm + ("absq_s.ph %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + + rt =0x8000A536 ; + result =0x7FFF5ACA ; + + __asm + ("absq_s.ph %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/absq_s_w.c new file +37
-0@@ -0,0 +1,37 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x80000000 ; + result =0x7FFFFFFF ; + __asm + ("absq_s.w %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + + rt =0x80030000 ; + result =0x7FFD0000 ; + __asm + ("absq_s.w %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + + rt =0x31036080 ; + result =0x31036080 ; + __asm + ("absq_s.w %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/addq_ph.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0xFFFFFFFF ; + rt =0x10101010 ; + result =0x100F100F ; + __asm + ("addq.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + + rs =0x3712847D ; + rt =0x0031AF2D ; + result =0x374333AA ; + __asm + ("addq.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/addq_s_ph.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0xFFFFFFFF ; + rt =0x10101010 ; + result =0x100F100F ; + __asm + ("addq_s.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + + rs =0x3712847D ; + rt =0x0031AF2D ; + result =0x37438000 ; + __asm + ("addq_s.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/addsc.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x0000000F ; + rt =0x00000001 ; + result =0x00000010 ; + __asm + ("addsc %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + + rs =0xFFFF0FFF ; + rt =0x00010111 ; + result =0x00001110 ; + __asm + ("addsc %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/addu_qb.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x00FF00FF ; + rt =0x00010001 ; + result =0x00000000 ; + __asm + ("addu.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + + rs =0xFFFF1111 ; + rt =0x00020001 ; + result =0xFF011112 ; + __asm + ("addu.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/addu_s_qb.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x10FF01FF ; + rt =0x10010001 ; + result =0x20FF01FF ; + __asm + ("addu_s.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + + rs =0xFFFF1111 ; + rt =0x00020001 ; + result =0xFFFF1112 ; + __asm + ("addu_s.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/addwc.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x10FF01FF ; + rt =0x10010001 ; + result =0x21000200 ; + __asm + ("addwc %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + + rs =0xFFFF1111 ; + rt =0x00020001 ; + result =0x00011112 ; + __asm + ("addwc %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/bitrev.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x12345678 ; + result =0x00001E6A ; + + __asm + ("bitrev %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/bposge32.c new file +44
-0@@ -0,0 +1,44 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int dsp, sum; +int result; + + dsp =0x20 ; + sum =0x01 ; + result =0x02 ; + + __asm + ("wrdsp %1\n\t" +"bposge32 test1\n\t" +"nop\n\t" +"addi %0, 0xA2\n\t" +"nop\n\t" +"test1:\n\t" +"addi %0, 0x01\n\t" + :"+r" (sum) + :"r" (dsp) + ); +assert (sum == result); + + dsp =0x10 ; + sum =0x01 ; + result =0xA4 ; + + __asm + ("wrdsp %1\n\t" +"bposge32 test2\n\t" +"nop\n\t" +"addi %0, 0xA2\n\t" +"nop\n\t" +"test2:\n\t" +"addi %0, 0x01\n\t" + :"+r" (sum) + :"r" (dsp) + ); +assert (sum == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmp_eq_ph.c new file +35
-0@@ -0,0 +1,35 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x11777066 ; + rt =0x55AA33FF ; + result =0x00 ; + __asm + ("cmp.eq.ph %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + + rd = (rd >>24 ) &0x03 ; +assert (rd == result); + + rs =0x11777066 ; + rt =0x11777066 ; + result =0x03 ; + __asm + ("cmp.eq.ph %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + rd = (rd >>24 ) &0x03 ; +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmp_le_ph.c new file +35
-0@@ -0,0 +1,35 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x11777066 ; + rt =0x55AA33FF ; + result =0x02 ; + __asm + ("cmp.le.ph %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + + rd = (rd >>24 ) &0x03 ; +assert (rd == result); + + rs =0x11777066 ; + rt =0x11777066 ; + result =0x03 ; + __asm + ("cmp.le.ph %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + rd = (rd >>24 ) &0x03 ; +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmp_lt_ph.c new file +35
-0@@ -0,0 +1,35 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x11777066 ; + rt =0x55AA33FF ; + result =0x02 ; + __asm + ("cmp.lt.ph %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + + rd = (rd >>24 ) &0x03 ; +assert (rd == result); + + rs =0x11777066 ; + rt =0x11777066 ; + result =0x00 ; + __asm + ("cmp.lt.ph %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + rd = (rd >>24 ) &0x03 ; +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmpgu_eq_qb.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x11777066 ; + rt =0x55AA70FF ; + result =0x02 ; + __asm + ("cmpgu.eq.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + +assert (rd == result); + + rs =0x11777066 ; + rt =0x11777066 ; + result =0x0F ; + __asm + ("cmpgu.eq.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmpgu_le_qb.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x11777066 ; + rt =0x55AA70FF ; + result =0x0F ; + __asm + ("cmpgu.le.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + +assert (rd == result); + + rs =0x11777066 ; + rt =0x11766066 ; + result =0x09 ; + __asm + ("cmpgu.le.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmpgu_lt_qb.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x11777066 ; + rt =0x55AA70FF ; + result =0x0D ; + __asm + ("cmpgu.lt.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); + +assert (rd == result); + + rs =0x11777066 ; + rt =0x11766066 ; + result =0x00 ; + __asm + ("cmpgu.lt.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmpu_eq_qb.c new file +35
-0@@ -0,0 +1,35 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int dsp; +int result; + + rs =0x11777066 ; + rt =0x55AA70FF ; + result =0x02 ; + __asm + ("cmpu.eq.qb %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>24 ) &0x0F ; +assert (dsp == result); + + rs =0x11777066 ; + rt =0x11777066 ; + result =0x0F ; + __asm + ("cmpu.eq.qb %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>24 ) &0x0F ; +assert (dsp == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmpu_le_qb.c new file +35
-0@@ -0,0 +1,35 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int dsp; +int result; + + rs =0x11777066 ; + rt =0x55AA70FF ; + result =0x0F ; + __asm + ("cmpu.le.qb %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>24 ) &0x0F ; +assert (dsp == result); + + rs =0x11777066 ; + rt =0x11777066 ; + result =0x0F ; + __asm + ("cmpu.le.qb %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>24 ) &0x0F ; +assert (dsp == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/cmpu_lt_qb.c new file +35
-0@@ -0,0 +1,35 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int dsp; +int result; + + rs =0x11777066 ; + rt =0x55AA70FF ; + result =0x0D ; + __asm + ("cmpu.lt.qb %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>24 ) &0x0F ; +assert (dsp == result); + + rs =0x11777066 ; + rt =0x11777066 ; + result =0x00 ; + __asm + ("cmpu.lt.qb %1, %2\n\t" +"rddsp %0\n\t" + :"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>24 ) &0x0F ; +assert (dsp == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpaq_s_w_ph.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt, dsp; +int ach =0 , acl =0 ; +int resulth, resultl, resultdsp; + + rs =0x800000FF ; + rt =0x80000002 ; + resulth =0x00 ; + resultl =0x800003FB ; + resultdsp =0x01 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"dpaq_s.w.ph $ac1, %3, %4\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" +"rddsp %2\n\t" + :"+r" (ach),"+r" (acl),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = dsp >>17 &0x01 ; +assert (dsp == resultdsp); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpaq_sa_l_w.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt, dsp; +int ach =0 , acl =0 ; +int resulth, resultl, resultdsp; + + rs =0x800000FF ; + rt =0x80000002 ; + resulth =0x7FFFFFFF ; + resultl =0xFFFFFFFF ; + resultdsp =0x01 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %0, $ac1\n\t" +"dpaq_sa.l.w $ac1, %3, %4\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" +"rddsp %2\n\t" + :"+r" (ach),"+r" (acl),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>17 ) &0x01 ; +assert (dsp == resultdsp); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpau_h_qbl.c new file +27
-0@@ -0,0 +1,27 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int ach =5 , acl =3 ; +int resulth, resultl; + + rs =0x800000FF ; + rt =0x80000002 ; + resulth =0x05 ; + resultl =0x4003 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"dpau.h.qbl $ac1, %2, %3\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"+r" (ach),"+r" (acl) + :"r" (rs),"r" (rt) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpau_h_qbr.c new file +27
-0@@ -0,0 +1,27 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int ach =5 , acl =3 ; +int resulth, resultl; + + rs =0x800000FF ; + rt =0x80000002 ; + resulth =0x05 ; + resultl =0x0201 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"dpau.h.qbr $ac1, %2, %3\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"+r" (ach),"+r" (acl) + :"r" (rs),"r" (rt) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpsq_s_w_ph.c new file +27
-0@@ -0,0 +1,27 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int ach =5 , acl =5 ; +int resulth, resultl; + + rs =0xBC0123AD ; + rt =0x01643721 ; + resulth =0x04 ; + resultl =0xEE9794A3 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"dpsq_s.w.ph $ac1, %2, %3\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"+r" (ach),"+r" (acl) + :"r" (rs),"r" (rt) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpsq_sa_l_w.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt, dsp; +int ach =5 , acl =5 ; +int resulth, resultl, resultdsp; + + rs =0xBC0123AD ; + rt =0x01643721 ; + resulth =0x7FFFFFFF ; + resultl =0xFFFFFFFF ; + resultdsp =0x01 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"dpsq_sa.l.w $ac1, %3, %4\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" +"rddsp %2\n\t" + :"+r" (ach),"+r" (acl),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>17 ) &0x01 ; +assert (dsp == resultdsp); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpsu_h_qbl.c new file +27
-0@@ -0,0 +1,27 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int ach =5 , acl =5 ; +int resulth, resultl; + + rs =0xBC0123AD ; + rt =0x01643721 ; + resulth =0x04 ; + resultl =0xFFFFFEE5 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"dpsu.h.qbl $ac1, %2, %3\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"+r" (ach),"+r" (acl) + :"r" (rs),"r" (rt) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/dpsu_h_qbr.c new file +27
-0@@ -0,0 +1,27 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt; +int ach =5 , acl =5 ; +int resulth, resultl; + + rs =0xBC0123AD ; + rt =0x01643721 ; + resulth =0x04 ; + resultl =0xFFFFE233 ; + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"dpsu.h.qbr $ac1, %2, %3\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"+r" (ach),"+r" (acl) + :"r" (rs),"r" (rt) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extp.c new file +44
-0@@ -0,0 +1,44 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + result =0x000C ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extp %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl) + ); + dsp = (dsp >>14 ) &0x01 ; +assert (dsp ==0 ); +assert (result == rt); + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x01 ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extp %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl) + ); + dsp = (dsp >>14 ) &0x01 ; +assert (dsp ==1 ); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extpdp.c new file +46
-0@@ -0,0 +1,46 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, ach, acl, dsp, pos, efi; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + result =0x000C ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extpdp %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl) + ); + pos = dsp &0x3F ; + efi = (dsp >>14 ) &0x01 ; +assert (pos ==3 ); +assert (efi ==0 ); +assert (result == rt); + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x01 ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extpdp %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl) + ); + efi = (dsp >>14 ) &0x01 ; +assert (efi ==1 ); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extpdpv.c new file +47
-0@@ -0,0 +1,47 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs, ach, acl, dsp, pos, efi; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + rs =0x03 ; + result =0x000C ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extpdpv %0, $ac1, %4\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl),"r" (rs) + ); + pos = dsp &0x3F ; + efi = (dsp >>14 ) &0x01 ; +assert (pos ==3 ); +assert (efi ==0 ); +assert (result == rt); + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x01 ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extpdpv %0, $ac1, %4\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl),"r" (rs) + ); + efi = (dsp >>14 ) &0x01 ; +assert (efi ==1 ); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extpv.c new file +45
-0@@ -0,0 +1,45 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, ac, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + ac =0x03 ; + result =0x000C ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extpv %0, $ac1, %4\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl),"r" (ac) + ); + dsp = (dsp >>14 ) &0x01 ; +assert (dsp ==0 ); +assert (result == rt); + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x01 ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extpv %0, $ac1, %4\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (ach),"r" (acl),"r" (ac) + ); + dsp = (dsp >>14 ) &0x01 ; +assert (dsp ==1 ); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extr_r_w.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + result =0xA0001699 ; + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extr_r.w %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"=r" (dsp) + :"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extr_rs_w.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + result =0x7FFFFFFF ; + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extr_rs.w %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"=r" (dsp) + :"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extr_s_h.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + result =0x00007FFF ; + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extr_s.h %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"=r" (dsp) + :"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extr_w.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + result =0xA0001699 ; + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"extr.w %0, $ac1, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rt),"=r" (dsp) + :"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extrv_r_w.c new file +29
-0@@ -0,0 +1,29 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + rs =0x03 ; + result =0xA0001699 ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %3, $ac1\n\t" +"mtlo %4, $ac1\n\t" +"extrv_r.w %0, $ac1, %2\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (rs),"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extrv_rs_w.c new file +29
-0@@ -0,0 +1,29 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + rs =0x03 ; + result =0x7FFFFFFF ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %3, $ac1\n\t" +"mtlo %4, $ac1\n\t" +"extrv_rs.w %0, $ac1, %2\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (rs),"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extrv_s_h.c new file +29
-0@@ -0,0 +1,29 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + rs =0x03 ; + result =0x00007FFF ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %3, $ac1\n\t" +"mtlo %4, $ac1\n\t" +"extrv_s.h %0, $ac1, %2\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (rs),"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/extrv_w.c new file +29
-0@@ -0,0 +1,29 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs, ach, acl, dsp; +int result; + + ach =0x05 ; + acl =0xB4CB ; + dsp =0x07 ; + rs =0x03 ; + result =0xA0001699 ; + + __asm + ("wrdsp %1, 0x01\n\t" +"mthi %3, $ac1\n\t" +"mtlo %4, $ac1\n\t" +"extrv.w %0, $ac1, %2\n\t" +"rddsp %1\n\t" + :"=r" (rt),"+r" (dsp) + :"r" (rs),"r" (ach),"r" (acl) + ); + dsp = (dsp >>23 ) &0x01 ; +assert (dsp ==1 ); +assert (result == rt); + +return 0 ; +}tests/tcg/mips/mips32-dsp/insv.c new file +23
-0@@ -0,0 +1,23 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs, dsp; +int result; + +/* msb = 10, lsb = 5 */ + dsp =0x305 ; + rt =0x12345678 ; + rs =0x87654321 ; + result =0x12345338 ; + __asm + ("wrdsp %2, 0x03\n\t" +"insv %0, %1\n\t" + :"+r" (rt) + :"r" (rs),"r" (dsp) + ); +assert (rt == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/lbux.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main (void ) +{ +int value, rd; +int *p; +unsigned long addr, index; +int result; + + value =0xBCDEF389 ; + p = &value; + addr = (unsigned long )p; + index =0 ; + result = value &0xFF ; + __asm + ("lbux %0, %1(%2)\n\t" + :"=r" (rd) + :"r" (index),"r" (addr) + ); + +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/lhx.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main (void ) +{ +int value, rd; +int *p; +unsigned long addr, index; +int result; + + value =0xBCDEF389 ; + p = &value; + addr = (unsigned long )p; + index =0 ; + result =0xFFFFF389 ; + __asm + ("lhx %0, %1(%2)\n\t" + :"=r" (rd) + :"r" (index),"r" (addr) + ); + +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/lwx.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main (void ) +{ +int value, rd; +int *p; +unsigned long addr, index; +int result; + + value =0xBCDEF389 ; + p = &value; + addr = (unsigned long )p; + index =0 ; + result =0xBCDEF389 ; + __asm + ("lwx %0, %1(%2)\n\t" + :"=r" (rd) + :"r" (index),"r" (addr) + ); + +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/madd.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs; +int achi, acli; +int acho, aclo; +int resulth, resultl; + + achi =0x05 ; + acli =0xB4CB ; + rs =0x01 ; + rt =0x01 ; + resulth =0x05 ; + resultl =0xB4CC ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"madd $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (resulth == acho); +assert (resultl == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/maddu.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs; +int achi, acli; +int acho, aclo; +int resulth, resultl; + + achi =0x05 ; + acli =0xB4CB ; + rs =0x01 ; + rt =0x01 ; + resulth =0x05 ; + resultl =0xB4CC ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"madd $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (resulth == acho); +assert (resultl == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/main.c new file +6
-0@@ -0,0 +1,6 @@ +#include <stdio.h> + +int main () +{ +printf ("hello world\n" ); +}tests/tcg/mips/mips32-dsp/maq_s_w_phl.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs; +int achi, acli; +int acho, aclo; +int resulth, resultl; + + achi =0x05 ; + acli =0xB4CB ; + rs =0xFF060000 ; + rt =0xCB000000 ; + resulth =0x04 ; + resultl =0x947438CB ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"maq_s.w.phl $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (resulth == acho); +assert (resultl == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/maq_s_w_phr.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs; +int achi, acli; +int acho, aclo; +int resulth, resultl; + + achi =0x05 ; + acli =0xB4CB ; + rs =0xFF06 ; + rt =0xCB00 ; + resulth =0x04 ; + resultl =0x947438CB ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"maq_s.w.phr $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (resulth == acho); +assert (resultl == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/maq_sa_w_phl.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs; +int achi, acli; +int acho, aclo; +int resulth, resultl; + + achi =0x05 ; + acli =0xB4CB ; + rs =0xFF060000 ; + rt =0xCB000000 ; + resulth =0x00 ; + resultl =0x7FFFFFFF ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"maq_sa.w.phl $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (resulth == acho); +assert (resultl == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/maq_sa_w_phr.c new file +31
-0@@ -0,0 +1,31 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rt, rs; +int achi, acli; +int acho, aclo; +int resulth, resultl; + + achi =0x05 ; + acli =0xB4CB ; + rs =0xFF06 ; + rt =0xCB00 ; + resulth =0x00 ; + resultl =0x7FFFFFFF ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"maq_sa.w.phr $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (resulth == acho); +assert (resultl == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/mfhi.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int achi, acho; +int result; + + achi =0x004433 ; + result =0x004433 ; + + __asm + ("mthi %1, $ac1\n\t" +"mfhi %0, $ac1\n\t" + :"=r" (acho) + :"r" (achi) + ); +assert (result == acho); + +return 0 ; +}tests/tcg/mips/mips32-dsp/mflo.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int acli, aclo; +int result; + + acli =0x004433 ; + result =0x004433 ; + + __asm + ("mthi %1, $ac1\n\t" +"mfhi %0, $ac1\n\t" + :"=r" (aclo) + :"r" (acli) + ); +assert (result == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/modsub.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0xFFFFFFFF ; + rt =0x000000FF ; + result =0xFFFFFF00 ; + __asm + ("modsub %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + + rs =0x00000000 ; + rt =0x00CD1FFF ; + result =0x0000CD1F ; + __asm + ("modsub %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/msub.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int achi, acli, rs, rt; +int acho, aclo; +int resulth, resultl; + + rs =0x00BBAACC ; + rt =0x0B1C3D2F ; + achi =0x00004433 ; + acli =0xFFCC0011 ; + resulth =0xFFF81F29 ; + resultl =0xB355089D ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"msub $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (acho == resulth); +assert (aclo == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/msubu.c new file +30
-0@@ -0,0 +1,30 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int achi, acli, rs, rt; +int acho, aclo; +int resulth, resultl; + + rs =0x00BBAACC ; + rt =0x0B1C3D2F ; + achi =0x00004433 ; + acli =0xFFCC0011 ; + resulth =0xFFF81F29 ; + resultl =0xB355089D ; + + __asm + ("mthi %2, $ac1\n\t" +"mtlo %3, $ac1\n\t" +"msubu $ac1, %4, %5\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (acho),"=r" (aclo) + :"r" (achi),"r" (acli),"r" (rs),"r" (rt) + ); +assert (acho == resulth); +assert (aclo == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/mthi.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int achi, acho; +int result; + + achi =0x004433 ; + result =0x004433 ; + + __asm + ("mthi %1, $ac1\n\t" +"mfhi %0, $ac1\n\t" + :"=r" (acho) + :"r" (achi) + ); +assert (result == acho); + +return 0 ; +}tests/tcg/mips/mips32-dsp/mthlip.c new file +34
-0@@ -0,0 +1,34 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, ach, acl, dsp; +int result, resulth, resultl; + + dsp =0x07 ; + ach =0x05 ; + acl =0xB4CB ; + rs =0x00FFBBAA ; + resulth =0xB4CB ; + resultl =0x00FFBBAA ; + result =0x27 ; + + __asm + ("wrdsp %0, 0x01\n\t" +"mthi %1, $ac1\n\t" +"mtlo %2, $ac1\n\t" +"mthlip %3, $ac1\n\t" +"mfhi %1, $ac1\n\t" +"mflo %2, $ac1\n\t" +"rddsp %0\n\t" + :"+r" (dsp),"+r" (ach),"+r" (acl) + :"r" (rs) + ); + dsp = dsp &0x3F ; +assert (dsp == result); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/mtlo.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int acli, aclo; +int result; + + acli =0x004433 ; + result =0x004433 ; + + __asm + ("mthi %1, $ac1\n\t" +"mfhi %0, $ac1\n\t" + :"=r" (aclo) + :"r" (acli) + ); +assert (result == aclo); + +return 0 ; +}tests/tcg/mips/mips32-dsp/muleq_s_w_phl.c new file +41
-0@@ -0,0 +1,41 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x80001234 ; + rt =0x80001234 ; + result =0x7FFFFFFF ; + resultdsp =1 ; + + __asm + ("muleq_s.w.phl %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>21 ) &0x01 ; +assert (rd == result); +assert (dsp == resultdsp); + + rs =0x12349988 ; + rt =0x43219988 ; + result =0x98be968 ; + resultdsp =1 ; + + __asm + ("muleq_s.w.phl %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>21 ) &0x01 ; +assert (rd == result); +assert (dsp == resultdsp); + +return 0 ; +} +tests/tcg/mips/mips32-dsp/muleq_s_w_phr.c new file +40
-0@@ -0,0 +1,40 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x8000 ; + rt =0x8000 ; + result =0x7FFFFFFF ; + resultdsp =1 ; + + __asm + ("muleq_s.w.phr %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>21 ) &0x01 ; +assert (rd == result); +assert (dsp == resultdsp); + + rs =0x1234 ; + rt =0x4321 ; + result =0x98be968 ; + resultdsp =1 ; + + __asm + ("muleq_s.w.phr %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>21 ) &0x01 ; +assert (rd == result); +assert (dsp == resultdsp); + +return 0 ; +}tests/tcg/mips/mips32-dsp/muleu_s_ph_qbl.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x80001234 ; + rt =0x80004321 ; + result =0xFFFF0000 ; + resultdsp =1 ; + + __asm + ("muleu_s.ph.qbl %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>21 ) &0x01 ; +assert (rd == result); +assert (dsp == resultdsp); + +return 0 ; +}tests/tcg/mips/mips32-dsp/muleu_s_ph_qbr.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x8000 ; + rt =0x80004321 ; + result =0xFFFF0000 ; + resultdsp =1 ; + + __asm + ("muleu_s.ph.qbr %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>21 ) &0x01 ; +assert (rd == result); +assert (dsp == resultdsp); + +return 0 ; +}tests/tcg/mips/mips32-dsp/mulq_rs_ph.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x80001234 ; + rt =0x80004321 ; + result =0x7FFF098C ; + resultdsp =1 ; + + __asm + ("mulq_rs.ph %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rs),"r" (rt) + ); + dsp = (dsp >>21 ) &0x01 ; +assert (rd == result); +assert (dsp == resultdsp); + +return 0 ; +}tests/tcg/mips/mips32-dsp/mult.c new file +24
-0@@ -0,0 +1,24 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt, ach, acl; +int result, resulth, resultl; + + rs =0x00FFBBAA ; + rt =0x4B231000 ; + resulth =0x4b0f01 ; + resultl =0x71f8a000 ; + __asm + ("mult $ac1, %2, %3\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (ach),"=r" (acl) + :"r" (rs),"r" (rt) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/multu.c new file +24
-0@@ -0,0 +1,24 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, rt, ach, acl; +int result, resulth, resultl; + + rs =0x00FFBBAA ; + rt =0x4B231000 ; + resulth =0x4b0f01 ; + resultl =0x71f8a000 ; + __asm + ("mult $ac1, %2, %3\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"=r" (ach),"=r" (acl) + :"r" (rs),"r" (rt) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/packrl_ph.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x12345678 ; + rt =0x87654321 ; + result =0x56788765 ; + + __asm + ("packrl.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/pick_ph.c new file +23
-0@@ -0,0 +1,23 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result; + + rs =0x12345678 ; + rt =0x87654321 ; + dsp =0x0A000000 ; + result =0x12344321 ; + + __asm + ("wrdsp %3, 0x10\n\t" +"pick.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt),"r" (dsp) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/pick_qb.c new file +23
-0@@ -0,0 +1,23 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result; + + rs =0x12345678 ; + rt =0x87654321 ; + dsp =0x0A000000 ; + result =0x12655621 ; + + __asm + ("wrdsp %3, 0x10\n\t" +"pick.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt),"r" (dsp) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/preceq_w_phl.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x87650000 ; + + __asm + ("preceq.w.phl %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/preceq_w_phr.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x43210000 ; + + __asm + ("preceq.w.phr %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precequ_ph_qbl.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x43803280 ; + + __asm + ("precequ.ph.qbl %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precequ_ph_qbla.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x43802180 ; + + __asm + ("precequ.ph.qbla %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precequ_ph_qbr.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x21801080 ; + + __asm + ("precequ.ph.qbr %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precequ_ph_qbra.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x32801080 ; + + __asm + ("precequ.ph.qbra %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/preceu_ph_qbl.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x00870065 ; + + __asm + ("preceu.ph.qbl %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/preceu_ph_qbla.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x00870043 ; + + __asm + ("preceu.ph.qbla %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/preceu_ph_qbr.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x00430021 ; + + __asm + ("preceu.ph.qbr %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/preceu_ph_qbra.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0x00650021 ; + + __asm + ("preceu.ph.qbra %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precrq_ph_w.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x12345678 ; + rt =0x87654321 ; + result =0x12348765 ; + + __asm + ("precrq.ph.w %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precrq_qb_ph.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x12345678 ; + rt =0x87654321 ; + result =0x12568743 ; + + __asm + ("precrq.qb.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precrq_rs_ph_w.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x12345678 ; + rt =0x87654321 ; + result =0x12348765 ; + + __asm + ("precrq_rs.ph.w %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/precrqu_s_qb_ph.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x12345678 ; + rt =0x87654321 ; + result =0x24AC0086 ; + + __asm + ("precrqu_s.qb.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rs),"r" (rt) + ); +assert (result == rd); + +return 0 ; +}tests/tcg/mips/mips32-dsp/raddu_w_qb.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs; +int result; + + rs =0x12345678 ; + result =0x114 ; + + __asm + ("raddu.w.qb %0, %1\n\t" + :"=r" (rd) + :"r" (rs) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/rddsp.c new file +54
-0@@ -0,0 +1,54 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int dsp_i, dsp_o; +int ccond_i, outflag_i, efi_i, c_i, scount_i, pos_i; +int ccond_o, outflag_o, efi_o, c_o, scount_o, pos_o; +int ccond_r, outflag_r, efi_r, c_r, scount_r, pos_r; + + ccond_i =0x000000BC ;/* 4 */ + outflag_i =0x0000001B ;/* 3 */ + efi_i =0x00000001 ;/* 5 */ + c_i =0x00000001 ;/* 2 */ + scount_i =0x0000000F ;/* 1 */ + pos_i =0x0000000C ;/* 0 */ + + dsp_i = (ccond_i <<24 ) | \ + (outflag_i <<16 ) | \ + (efi_i <<14 ) | \ + (c_i <<13 ) | \ + (scount_i <<7 ) | \ + pos_i; + + ccond_r = ccond_i; + outflag_r = outflag_i; + efi_r = efi_i; + c_r = c_i; + scount_r = scount_i; + pos_r = pos_i; + + __asm + ("wrdsp %1, 0x3F\n\t" +"rddsp %0, 0x3F\n\t" + :"=r" (dsp_o) + :"r" (dsp_i) + ); + + ccond_o = (dsp_o >>24 ) &0xFF ; + outflag_o = (dsp_o >>16 ) &0xFF ; + efi_o = (dsp_o >>14 ) &0x01 ; + c_o = (dsp_o >>14 ) &0x01 ; + scount_o = (dsp_o >>7 ) &0x3F ; + pos_o = dsp_o &0x1F ; + +assert (ccond_o == ccond_r); +assert (outflag_o == outflag_r); +assert (efi_o == efi_r); +assert (c_o == c_r); +assert (scount_o == scount_r); +assert (pos_o == pos_r); + +return 0 ; +}tests/tcg/mips/mips32-dsp/repl_ph.c new file +23
-0@@ -0,0 +1,23 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, result; + + result =0x01BF01BF ; + __asm + ("repl.ph %0, 0x1BF\n\t" + :"=r" (rd) + ); +assert (rd == result); + + result =0x01FF01FF ; + __asm + ("repl.ph %0, 0x01FF\n\t" + :"=r" (rd) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/repl_qb.c new file +16
-0@@ -0,0 +1,16 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, result; + + result =0xBFBFBFBF ; + __asm + ("repl.qb %0, 0xBF\n\t" + :"=r" (rd) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/replv_ph.c new file +19
-0@@ -0,0 +1,19 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x12345678 ; + result =0x56785678 ; + __asm + ("replv.ph %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/replv_qb.c new file +19
-0@@ -0,0 +1,19 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x12345678 ; + result =0x78787878 ; + __asm + ("replv.qb %0, %1\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shilo.c new file +27
-0@@ -0,0 +1,27 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int ach, acl; +int resulth, resultl; + + ach =0xBBAACCFF ; + acl =0x1C3B001D ; + + resulth =0x17755 ; + resultl =0x99fe3876 ; + + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"shilo $ac1, 0x0F\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"+r" (ach),"+r" (acl) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shilov.c new file +29
-0@@ -0,0 +1,29 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rs, ach, acl; +int resulth, resultl; + + rs =0x0F ; + ach =0xBBAACCFF ; + acl =0x1C3B001D ; + + resulth =0x17755 ; + resultl =0x99fe3876 ; + + __asm + ("mthi %0, $ac1\n\t" +"mtlo %1, $ac1\n\t" +"shilov $ac1, %2\n\t" +"mfhi %0, $ac1\n\t" +"mflo %1, $ac1\n\t" + :"+r" (ach),"+r" (acl) + :"r" (rs) + ); +assert (ach == resulth); +assert (acl == resultl); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shll_ph.c new file +24
-0@@ -0,0 +1,24 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt, dsp; +int result, resultdsp; + + rt =0x12345678 ; + result =0xA000C000 ; + resultdsp =1 ; + + __asm + ("shll.ph %0, %2, 0x0B\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (dsp == resultdsp); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shll_qb.c new file +23
-0@@ -0,0 +1,23 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt, dsp; +int result, resultdsp; + + rt =0x87654321 ; + result =0x38281808 ; + resultdsp =0x01 ; + + __asm + ("shll.qb %0, %2, 0x03\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shll_s_ph.c new file +24
-0@@ -0,0 +1,24 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt, dsp; +int result, resultdsp; + + rt =0x12345678 ; + result =0x7FFF7FFF ; + resultdsp =0x01 ; + + __asm + ("shll_s.ph %0, %2, 0x0B\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (dsp == resultdsp); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shll_s_w.c new file +24
-0@@ -0,0 +1,24 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt, dsp; +int result, resultdsp; + + rt =0x12345678 ; + result =0x7FFFFFFF ; + resultdsp =0x01 ; + + __asm + ("shll_s.w %0, %2, 0x0B\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (dsp == resultdsp); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shllv_ph.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x0B ; + rt =0x12345678 ; + result =0xA000C000 ; + resultdsp =1 ; + + __asm + ("shllv.ph %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt),"r" (rs) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (dsp == resultdsp); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shllv_qb.c new file +24
-0@@ -0,0 +1,24 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x03 ; + rt =0x87654321 ; + result =0x38281808 ; + resultdsp =0x01 ; + + __asm + ("shllv.qb %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt),"r" (rs) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shllv_s_ph.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x0B ; + rt =0x12345678 ; + result =0x7FFF7FFF ; + resultdsp =0x01 ; + + __asm + ("shllv_s.ph %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt),"r" (rs) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (dsp == resultdsp); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shllv_s_w.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp; +int result, resultdsp; + + rs =0x0B ; + rt =0x12345678 ; + result =0x7FFFFFFF ; + resultdsp =0x01 ; + + __asm + ("shllv_s.w %0, %2, %3\n\t" +"rddsp %1\n\t" + :"=r" (rd),"=r" (dsp) + :"r" (rt),"r" (rs) + ); + dsp = (dsp >>22 ) &0x01 ; +assert (dsp == resultdsp); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shra_ph.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0xF0EC0864 ; + + __asm + ("shra.ph %0, %1, 0x03\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shra_r_ph.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0xF0ED0864 ; + + __asm + ("shra_r.ph %0, %1, 0x03\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shra_r_w.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x87654321 ; + result =0xF0ECA864 ; + + __asm + ("shra_r.w %0, %1, 0x03\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shrav_ph.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x03 ; + rt =0x87654321 ; + result =0xF0EC0864 ; + + __asm + ("shrav.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rt),"r" (rs) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shrav_r_ph.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x03 ; + rt =0x87654321 ; + result =0xF0ED0864 ; + + __asm + ("shrav_r.ph %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rt),"r" (rs) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shrav_r_w.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x03 ; + rt =0x87654321 ; + result =0xF0ECA864 ; + + __asm + ("shrav_r.w %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rt),"r" (rs) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shrl_qb.c new file +20
-0@@ -0,0 +1,20 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rt; +int result; + + rt =0x12345678 ; + result =0x00010203 ; + + __asm + ("shrl.qb %0, %1, 0x05\n\t" + :"=r" (rd) + :"r" (rt) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/shrlv_qb.c new file +21
-0@@ -0,0 +1,21 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt; +int result; + + rs =0x05 ; + rt =0x12345678 ; + result =0x00010203 ; + + __asm + ("shrlv.qb %0, %1, %2\n\t" + :"=r" (rd) + :"r" (rt),"r" (rs) + ); +assert (rd == result); + +return 0 ; +}tests/tcg/mips/mips32-dsp/subq_ph.c new file +25
-0@@ -0,0 +1,25 @@ +#include <stdio.h> +#include <assert.h> + +int main () +{ +int rd, rs, rt, dsp;Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dsp/subq_s_ph.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dsp/subq_s_w.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dsp/subu_qb.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dsp/subu_s_qb.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dsp/wrdsp.c new file +54
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/Makefile new file +72
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/absq_s_qb.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/addqh_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/addqh_r_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/addqh_r_w.c new file +34
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/addqh_w.c new file +34
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/addu_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/addu_s_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/adduh_qb.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/adduh_r_qb.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/append.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/balign.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/cmpgdu_eq_qb.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/cmpgdu_le_qb.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/cmpgdu_lt_qb.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dpa_w_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dpaqx_s_w_ph.c new file +57
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dpaqx_sa_w_ph.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dpax_w_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dps_w_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dpsqx_s_w_ph.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dpsqx_sa_w_ph.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/dpsx_w_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/mul_ph.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/mul_s_ph.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/muleq_s_w_phl.c new file +40
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/mulq_rs_w.c new file +36
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/mulq_s_ph.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/mulq_s_w.c new file +36
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/mulsa_w_ph.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/mulsaq_s_w_ph.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/precr_qb_ph.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/precr_sra_ph_w.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/precr_sra_r_ph_w.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/prepend.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/shra_qb.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/shra_r_qb.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/shrav_qb.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/shrav_r_qb.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/shrl_ph.c new file +20
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/shrlv_ph.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subqh_ph.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subqh_r_ph.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subqh_r_w.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subqh_w.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subu_ph.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subu_s_ph.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subuh_qb.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips32-dspr2/subuh_r_qb.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/Makefile new file +305
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/absq_s_ob.c new file +63
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/absq_s_ph.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/absq_s_pw.c new file +66
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/absq_s_qh.c new file +40
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/absq_s_w.c new file +48
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addq_ph.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addq_pw.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addq_qh.c new file +28
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addq_s_ph.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addq_s_pw.c new file +45
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addq_s_qh.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addsc.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addu_ob.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addu_qb.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addu_s_ob.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addu_s_qb.c new file +38
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/addwc.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/bitrev.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/bposge32.c new file +50
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/bposge64.c new file +50
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_eq_ph.c new file +42
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_eq_pw.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_eq_qh.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_le_ph.c new file +40
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_le_pw.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_le_qh.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_lt_ph.c new file +41
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_lt_pw.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmp_lt_qh.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpgu_eq_ob.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpgu_eq_qb.c new file +38
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpgu_le_ob.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpgu_le_qb.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpgu_lt_ob.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpgu_lt_qb.c new file +38
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpu_eq_ob.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpu_eq_qb.c new file +42
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpu_le_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpu_le_qb.c new file +41
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpu_lt_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/cmpu_lt_qb.c new file +42
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dappend.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextp.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextpdp.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextpdpv.c new file +38
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextpv.c new file +34
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextr_l.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextr_r_l.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextr_r_w.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextr_rs_l.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextr_rs_w.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextr_s_h.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextr_w.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextrv_l.c new file +28
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextrv_r_l.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextrv_r_w.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextrv_rs_l.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextrv_rs_w.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextrv_s_h.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dextrv_w.c new file +28
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dinsv.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dmadd.c new file +57
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dmaddu.c new file +56
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dmsub.c new file +59
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dmsubu.c new file +59
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dmthlip.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpaq_s_w_ph.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpaq_s_w_qh.c new file +57
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpaq_sa_l_pw.c new file +62
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpaq_sa_l_w.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpau_h_obl.c new file +59
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpau_h_obr.c new file +59
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpau_h_qbl.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpau_h_qbr.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsq_s_w_ph.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsq_s_w_qh.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsq_sa_l_pw.c new file +39
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsq_sa_l_w.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsu_h_obl.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsu_h_obr.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsu_h_qbl.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dpsu_h_qbr.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dshilo.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/dshilov.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extp.c new file +50
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extpdp.c new file +51
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extpdpv.c new file +52
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extpv.c new file +51
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extr_r_w.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extr_rs_w.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extr_s_h.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extr_w.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extrv_r_w.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extrv_rs_w.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extrv_s_h.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/extrv_w.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/head.S new file +16
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/insv.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/io.h new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/lbux.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/ldx.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/lhx.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/lwx.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/madd.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maddu.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_l_pwl.c new file +56
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_l_pwr.c new file +56
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_w_phl.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_w_phr.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_w_qhll.c new file +62
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_w_qhlr.c new file +62
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_w_qhrl.c new file +63
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_s_w_qhrr.c new file +63
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_sa_w_phl.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_sa_w_phr.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_sa_w_qhll.c new file +62
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_sa_w_qhlr.c new file +64
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_sa_w_qhrl.c new file +64
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/maq_sa_w_qhrr.c new file +64
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mfhi.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mflo.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mips_boot.lds new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/modsub.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/msub.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/msubu.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mthi.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mthlip.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mtlo.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleq_s_pw_qhl.c new file +55
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleq_s_pw_qhr.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleq_s_w_phl.c new file +46
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleq_s_w_phr.c new file +45
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleu_s_ph_qbl.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleu_s_ph_qbr.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleu_s_qh_obl.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/muleu_s_qh_obr.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mulq_rs_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mulq_rs_qh.c new file +33
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mulsaq_s_l_pw.c new file +59
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mulsaq_s_w_qh.c new file +57
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/mult.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/multu.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/packrl_ph.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/packrl_pw.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/pick_ob.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/pick_ph.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/pick_pw.c new file +28
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/pick_qb.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/pick_qh.c new file +28
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_l_pwl.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_l_pwr.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_pw_qhl.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_pw_qhla.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_pw_qhr.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_pw_qhra.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_w_phl.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceq_w_phr.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_ph_qbl.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_ph_qbla.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_ph_qbr.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_ph_qbra.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_qh_obl.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_qh_obla.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_qh_obr.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precequ_qh_obra.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_ph_qbl.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_ph_qbla.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_ph_qbr.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_ph_qbra.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_qh_obl.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_qh_obla.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_qh_obr.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/preceu_qh_obra.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precr_ob_qh.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precr_sra_qh_pw.c new file +40
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precr_sra_r_qh_pw.c new file +40
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrq_ob_qh.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrq_ph_w.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrq_pw_l.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrq_qb_ph.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrq_qh_pw.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrq_rs_ph_w.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrq_rs_qh_pw.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrqu_s_ob_qh.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/precrqu_s_qb_ph.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/prependd.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/prependw.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/printf.c new file +266
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/raddu_l_ob.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/raddu_w_qb.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/rddsp.c new file +53
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/repl_ob.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/repl_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/repl_pw.c new file +34
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/repl_qb.c new file +19
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/repl_qh.c new file +34
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/replv_ob.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/replv_ph.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/replv_pw.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/replv_qb.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shilo.c new file +29
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shilov.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_ph.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_pw.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_qb.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_qh.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_s_ph.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_s_pw.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_s_qh.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shll_s_w.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_ob.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_pw.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_qb.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_qh.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_s_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_s_pw.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_s_qh.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shllv_s_w.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_ob.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_ph.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_pw.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_qh.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_r_ob.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_r_ph.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_r_pw.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_r_qh.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shra_r_w.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrav_ph.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrav_pw.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrav_qh.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrav_r_ph.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrav_r_pw.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrav_r_qh.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrav_r_w.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrl_ob.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrl_qb.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrl_qh.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrlv_ob.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrlv_qb.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/shrlv_qh.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subq_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subq_pw.c new file +44
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subq_qh.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subq_s_ph.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subq_s_pw.c new file +45
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subq_s_qh.c new file +44
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subq_s_w.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subu_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subu_qb.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subu_s_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/subu_s_qb.c new file +27
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dsp/wrdsp.c new file +48
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/.directory new file +2
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/Makefile new file +117
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/absq_s_qb.c new file +42
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addqh_ph.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addqh_r_ph.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addqh_r_w.c new file +38
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addqh_w.c new file +39
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addu_ph.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addu_qh.c new file +41
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addu_s_ph.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/addu_s_qh.c new file +41
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/adduh_ob.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/adduh_qb.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/adduh_r_ob.c new file +21
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/adduh_r_qb.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/append.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/balign.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/cmpgdu_eq_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/cmpgdu_eq_qb.c new file +41
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/cmpgdu_le_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/cmpgdu_le_qb.c new file +48
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/cmpgdu_lt_ob.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/cmpgdu_lt_qb.c new file +48
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dbalign.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpa_w_ph.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpa_w_qh.c new file +56
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpaqx_s_w_ph.c new file +74
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpaqx_sa_w_ph.c new file +42
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpax_w_ph.c new file +32
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dps_w_ph.c new file +28
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dps_w_qh.c new file +55
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpsqx_s_w_ph.c new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpsqx_sa_w_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/dpsx_w_ph.c new file +28
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/head.S new file +16
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/io.h new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mips_boot.lds new file +31
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mul_ph.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mul_s_ph.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/muleq_s_w_phl.c new file +42
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mulq_rs_w.c new file +40
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mulq_s_ph.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mulq_s_w.c new file +40
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mulsa_w_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/mulsaq_s_w_ph.c new file +30
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/precr_qb_ph.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/precr_sra_ph_w.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/precr_sra_r_ph_w.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/prepend.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/printf.c new file +266
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shra_qb.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shra_r_qb.c new file +35
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shrav_ob.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shrav_qb.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shrav_r_ob.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shrav_r_qb.c new file +37
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shrl_ph.c new file +22
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/shrlv_ph.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subqh_ph.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subqh_r_ph.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subqh_r_w.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subqh_w.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subu_ph.c new file +26
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subu_qh.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subu_s_ph.c new file +25
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subu_s_qh.c new file +24
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subuh_ob.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subuh_qb.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subuh_r_ob.c new file +23
-0Lines of this file are not shown. View the raw message.
tests/tcg/mips/mips64-dspr2/subuh_r_qb.c new file +23
-0Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
This part seems fine, though given most instruction check is done with a single value, I wonder if it is really useful.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net
Part of the diff is not shown here. View the raw message.
PATCH v11 14/14 target-mips: Change TODO file
In reply to Jia LiuChange DSP r1 & DSP r2 into microMIPS DSP encodings in TODO file.
--- target-mips/TODO | 3 +-- 1 file changed, 2 insertions(+), 2 deletions(-)
target-mips/TODO +1 -2
@@ -6,8 +6,7 @@ General - Unimplemented ASEs: - MDMX - SmartMIPS - - DSP r1 - - DSP r2 + - microMIPS DSP r1 & r2 encodings - MT ASE only partially implemented and not functional - Shadow register support only partially implemented, lacks set switching on interrupt/exception.
Signature · 1 line
1.7.10.2 (Apple Git-33)
Re: [Qemu-devel] [PATCH v11 14/14] target-mips: Change TODO file
Quoted 12 lines · Jia Liu
Change DSP r1 & DSP r2 into microMIPS DSP encodings in TODO file.
Signed-off-by Jia Liu <[email protected]>--- target-mips/TODO | 3 +-- 1 file changed, 2 insertions(+), 2 deletions(-)target-mips/TODO +0
-0
target-mips/TODO General · line 12
Quoted 9 lines
target-mips/TODO +1
-2@@ -6,8 +6,7 @@ General - Unimplemented ASEs: - MDMX - SmartMIPS - - DSP r1 - - DSP r2 + - microMIPS DSP r1 & r2 encodings - MT ASE only partially implemented and not functional - Shadow register support only partially implemented, lacks set switching on interrupt/exception.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net