1 -include ..
/..
/config-host.mak
3 CROSS
=mips64el-unknown-linux-gnu-
9 CFLAGS
= -mabi
=32 -march
=mips32r2
-mgp32
-mdsp
-static
11 TESTCASES
= absq_s_ph.tst
12 TESTCASES
+= absq_s_w.tst
13 TESTCASES
+= addq_ph.tst
14 TESTCASES
+= addq_s_ph.tst
15 TESTCASES
+= addq_s_w.tst
16 TESTCASES
+= addsc.tst
17 TESTCASES
+= addu_qb.tst
18 TESTCASES
+= addu_s_qb.tst
19 TESTCASES
+= addwc.tst
20 TESTCASES
+= bitrev.tst
21 TESTCASES
+= bposge32.tst
22 TESTCASES
+= cmp_eq_ph.tst
23 TESTCASES
+= cmpgu_eq_qb.tst
24 TESTCASES
+= cmpgu_le_qb.tst
25 TESTCASES
+= cmpgu_lt_qb.tst
26 TESTCASES
+= cmp_le_ph.tst
27 TESTCASES
+= cmp_lt_ph.tst
28 TESTCASES
+= cmpu_eq_qb.tst
29 TESTCASES
+= cmpu_le_qb.tst
30 TESTCASES
+= cmpu_lt_qb.tst
31 TESTCASES
+= dpaq_sa_l_w.tst
32 TESTCASES
+= dpaq_s_w_ph.tst
33 TESTCASES
+= dpau_h_qbl.tst
34 TESTCASES
+= dpau_h_qbr.tst
35 TESTCASES
+= dpsq_sa_l_w.tst
36 TESTCASES
+= dpsq_s_w_ph.tst
37 TESTCASES
+= dpsu_h_qbl.tst
38 TESTCASES
+= dpsu_h_qbr.tst
40 TESTCASES
+= extpdp.tst
41 TESTCASES
+= extpdpv.tst
42 TESTCASES
+= extpv.tst
43 TESTCASES
+= extr_rs_w.tst
44 TESTCASES
+= extr_r_w.tst
45 TESTCASES
+= extr_s_h.tst
46 TESTCASES
+= extrv_rs_w.tst
47 TESTCASES
+= extrv_r_w.tst
48 TESTCASES
+= extrv_s_h.tst
49 TESTCASES
+= extrv_w.tst
50 TESTCASES
+= extr_w.tst
56 TESTCASES
+= maddu.tst
57 TESTCASES
+= maq_sa_w_phl.tst
58 TESTCASES
+= maq_sa_w_phr.tst
59 TESTCASES
+= maq_s_w_phl.tst
60 TESTCASES
+= maq_s_w_phr.tst
63 TESTCASES
+= modsub.tst
65 TESTCASES
+= msubu.tst
67 TESTCASES
+= mthlip.tst
69 TESTCASES
+= muleq_s_w_phl.tst
70 TESTCASES
+= muleq_s_w_phr.tst
71 TESTCASES
+= muleu_s_ph_qbl.tst
72 TESTCASES
+= muleu_s_ph_qbr.tst
73 TESTCASES
+= mulq_rs_ph.tst
75 TESTCASES
+= multu.tst
76 TESTCASES
+= packrl_ph.tst
77 TESTCASES
+= pick_ph.tst
78 TESTCASES
+= pick_qb.tst
79 TESTCASES
+= precequ_ph_qbla.tst
80 TESTCASES
+= precequ_ph_qbl.tst
81 TESTCASES
+= precequ_ph_qbra.tst
82 TESTCASES
+= precequ_ph_qbr.tst
83 TESTCASES
+= preceq_w_phl.tst
84 TESTCASES
+= preceq_w_phr.tst
85 TESTCASES
+= preceu_ph_qbla.tst
86 TESTCASES
+= preceu_ph_qbl.tst
87 TESTCASES
+= preceu_ph_qbra.tst
88 TESTCASES
+= preceu_ph_qbr.tst
89 TESTCASES
+= precrq_ph_w.tst
90 TESTCASES
+= precrq_qb_ph.tst
91 TESTCASES
+= precrq_rs_ph_w.tst
92 TESTCASES
+= precrqu_s_qb_ph.tst
93 TESTCASES
+= raddu_w_qb.tst
94 TESTCASES
+= rddsp.tst
95 TESTCASES
+= repl_ph.tst
96 TESTCASES
+= repl_qb.tst
97 TESTCASES
+= replv_ph.tst
98 TESTCASES
+= replv_qb.tst
99 TESTCASES
+= shilo.tst
100 TESTCASES
+= shilov.tst
101 TESTCASES
+= shll_ph.tst
102 TESTCASES
+= shll_qb.tst
103 TESTCASES
+= shll_s_ph.tst
104 TESTCASES
+= shll_s_w.tst
105 TESTCASES
+= shllv_ph.tst
106 TESTCASES
+= shllv_qb.tst
107 TESTCASES
+= shllv_s_ph.tst
108 TESTCASES
+= shllv_s_w.tst
109 TESTCASES
+= shra_ph.tst
110 TESTCASES
+= shra_r_ph.tst
111 TESTCASES
+= shra_r_w.tst
112 TESTCASES
+= shrav_ph.tst
113 TESTCASES
+= shrav_r_ph.tst
114 TESTCASES
+= shrav_r_w.tst
115 TESTCASES
+= shrl_qb.tst
116 TESTCASES
+= shrlv_qb.tst
117 TESTCASES
+= subq_ph.tst
118 TESTCASES
+= subq_s_ph.tst
119 TESTCASES
+= subq_s_w.tst
120 TESTCASES
+= subu_qb.tst
121 TESTCASES
+= subu_s_qb.tst
122 TESTCASES
+= wrdsp.tst
127 $(CC
) $(CFLAGS
) $< -o
$@
130 @for case in
$(TESTCASES
); do \
131 echo
$(SIM
) $(SIM_FLAGS
) .
/$$case;\
132 $(SIM
) $(SIM_FLAGS
) .
/$$case; \
136 $(RM
) -rf
$(TESTCASES
)