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