PPC: Fix rldcl
[qemu/agraf.git] / tests / tcg / mips / mips32-dspr2 / Makefile
blobed19581c7ebe831090c4c870495f2bbaa7f67bcc
1 -include ../../config-host.mak
3 CROSS=mips64el-unknown-linux-gnu-
5 SIM=qemu-mipsel
6 SIM_FLAGS=-cpu 74Kf
8 CC = $(CROSS)gcc
9 CFLAGS = -mabi=32 -march=mips32r2 -mgp32 -mdspr2 -static
11 TESTCASES = absq_s_qb.tst
12 TESTCASES += addqh_ph.tst
13 TESTCASES += addqh_r_ph.tst
14 TESTCASES += addqh_r_w.tst
15 TESTCASES += addqh_w.tst
16 TESTCASES += adduh_qb.tst
17 TESTCASES += adduh_r_qb.tst
18 TESTCASES += addu_ph.tst
19 TESTCASES += addu_s_ph.tst
20 TESTCASES += append.tst
21 TESTCASES += balign.tst
22 TESTCASES += cmpgdu_eq_qb.tst
23 TESTCASES += cmpgdu_le_qb.tst
24 TESTCASES += cmpgdu_lt_qb.tst
25 TESTCASES += dpaqx_sa_w_ph.tst
26 TESTCASES += dpa_w_ph.tst
27 TESTCASES += dpax_w_ph.tst
28 TESTCASES += dpaqx_s_w_ph.tst
29 TESTCASES += dpsqx_sa_w_ph.tst
30 TESTCASES += dpsqx_s_w_ph.tst
31 TESTCASES += dps_w_ph.tst
32 TESTCASES += dpsx_w_ph.tst
33 TESTCASES += mul_ph.tst
34 TESTCASES += mulq_rs_w.tst
35 TESTCASES += mulq_s_ph.tst
36 TESTCASES += mulq_s_w.tst
37 TESTCASES += mulsaq_s_w_ph.tst
38 TESTCASES += mulsa_w_ph.tst
39 TESTCASES += mul_s_ph.tst
40 TESTCASES += precr_qb_ph.tst
41 TESTCASES += precr_sra_ph_w.tst
42 TESTCASES += precr_sra_r_ph_w.tst
43 TESTCASES += prepend.tst
44 TESTCASES += shra_qb.tst
45 TESTCASES += shra_r_qb.tst
46 TESTCASES += shrav_qb.tst
47 TESTCASES += shrav_r_qb.tst
48 TESTCASES += shrl_ph.tst
49 TESTCASES += shrlv_ph.tst
50 TESTCASES += subqh_ph.tst
51 TESTCASES += subqh_r_ph.tst
52 TESTCASES += subqh_r_w.tst
53 TESTCASES += subqh_w.tst
54 TESTCASES += subuh_qb.tst
55 TESTCASES += subuh_r_qb.tst
56 TESTCASES += subu_ph.tst
57 TESTCASES += subu_s_ph.tst
59 all: $(TESTCASES)
61 %.tst: %.c
62 $(CC) $(CFLAGS) $< -o $@
64 check: $(TESTCASES)
65 @for case in $(TESTCASES); do \
66 echo $(SIM) $(SIM_FLAGS) ./$$case;\
67 $(SIM) $(SIM_FLAGS) ./$$case; \
68 done
70 clean:
71 $(RM) -rf $(TESTCASES)