qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Blackfin: add test suite


From: Mike Frysinger
Subject: [Qemu-devel] Blackfin: add test suite
Date: Mon, 24 Jan 2011 05:28:55 -0500

compressing & attaching since it's huge, and not terribly interesting,
and style opinions in the source files assembler files are going to be
ignored

To run it, simply add the bfin-elf compiler to your PATH and do:
    make -C tests/bfin

Signed-off-by: Mike Frysinger <address@hidden>
---
 tests/Makefile                          |    4 +
 tests/bfin/.gitignore                   |    2 +
 tests/bfin/10272_small.s                |   51 ++
 tests/bfin/10436.s                      |   39 +
 tests/bfin/10622.s                      |   21 +
 tests/bfin/10742.s                      |   17 +
 tests/bfin/10799.s                      |   55 ++
 tests/bfin/7641.s                       |   38 +
 tests/bfin/Makefile                     |   69 ++
 tests/bfin/a0.s                         |   17 +
 tests/bfin/a1.s                         |   29 +
 tests/bfin/a2.s                         |  179 +++++
 tests/bfin/a24.s                        |   12 +
 tests/bfin/a25.s                        |   28 +
 tests/bfin/a26.s                        |   72 ++
 tests/bfin/a3.s                         |  313 ++++++++
 tests/bfin/a4.s                         |   36 +
 tests/bfin/a7.s                         |  179 +++++
 tests/bfin/a8.s                         |   41 +
 tests/bfin/a9.s                         |  205 +++++
 tests/bfin/abs-2.S                      |   42 +
 tests/bfin/abs-3.S                      |   42 +
 tests/bfin/abs.S                        |   42 +
 tests/bfin/acc-rot.s                    |  129 +++
 tests/bfin/acp5_19.s                    |   12 +
 tests/bfin/add_imm7.s                   |   38 +
 tests/bfin/b0.S                         |   51 ++
 tests/bfin/b1.s                         |   12 +
 tests/bfin/b2.S                         |   26 +
 tests/bfin/brcc.s                       |  164 ++++
 tests/bfin/brevadd.s                    |   20 +
 tests/bfin/byteunpack.s                 |   45 +
 tests/bfin/c_alu2op_arith_r_sft.s       |  226 ++++++
 tests/bfin/c_alu2op_conv_b.s            |  211 +++++
 tests/bfin/c_alu2op_conv_h.s            |  211 +++++
 tests/bfin/c_alu2op_conv_mix.s          |  186 +++++
 tests/bfin/c_alu2op_conv_neg.s          |  211 +++++
 tests/bfin/c_alu2op_conv_toggle.s       |  211 +++++
 tests/bfin/c_alu2op_conv_xb.s           |  211 +++++
 tests/bfin/c_alu2op_conv_xh.s           |  212 +++++
 tests/bfin/c_alu2op_divq.s              |  220 +++++
 tests/bfin/c_alu2op_divs.s              |  220 +++++
 tests/bfin/c_alu2op_log_l_sft.s         |  220 +++++
 tests/bfin/c_alu2op_log_r_sft.s         |  217 +++++
 tests/bfin/c_alu2op_shadd_1.s           |  209 +++++
 tests/bfin/c_alu2op_shadd_2.s           |  209 +++++
 tests/bfin/c_br_preg_killed_ac.s        |   82 ++
 tests/bfin/c_br_preg_killed_ex1.s       |   85 ++
 tests/bfin/c_br_preg_stall_ac.s         |   75 ++
 tests/bfin/c_br_preg_stall_ex1.s        |   70 ++
 tests/bfin/c_brcc_bp1.s                 |   45 +
 tests/bfin/c_brcc_bp2.s                 |   45 +
 tests/bfin/c_brcc_bp3.s                 |   47 ++
 tests/bfin/c_brcc_bp4.s                 |   46 ++
 tests/bfin/c_brcc_brf_bp.s              |   46 ++
 tests/bfin/c_brcc_brf_brt_bp.s          |   47 ++
 tests/bfin/c_brcc_brf_brt_nbp.s         |   46 ++
 tests/bfin/c_brcc_brf_fbkwd.s           |   46 ++
 tests/bfin/c_brcc_brf_nbp.s             |   45 +
 tests/bfin/c_brcc_brt_bp.s              |   46 ++
 tests/bfin/c_brcc_brt_nbp.s             |   45 +
 tests/bfin/c_brcc_kills_dhits.s         |  136 ++++
 tests/bfin/c_brcc_kills_dmiss.s         |  137 ++++
 tests/bfin/c_calla_ljump.s              |   31 +
 tests/bfin/c_calla_subr.s               |   28 +
 tests/bfin/c_cc2dreg.s                  |   56 ++
 tests/bfin/c_cc2stat_cc_ac.S            |  240 ++++++
 tests/bfin/c_cc2stat_cc_an.s            |  243 ++++++
 tests/bfin/c_cc2stat_cc_aq.s            |  243 ++++++
 tests/bfin/c_cc2stat_cc_av0.S           |  241 ++++++
 tests/bfin/c_cc2stat_cc_av1.S           |  240 ++++++
 tests/bfin/c_cc2stat_cc_az.s            |  243 ++++++
 tests/bfin/c_cc_flag_ccmv_depend.S      |   82 ++
 tests/bfin/c_cc_flagdreg_mvbrsft.s      |   87 ++
 tests/bfin/c_cc_regmvlogi_mvbrsft.s     |   83 ++
 tests/bfin/c_ccflag_dr_dr.s             |  299 +++++++
 tests/bfin/c_ccflag_dr_dr_uu.s          |  299 +++++++
 tests/bfin/c_ccflag_dr_imm3.s           |  224 ++++++
 tests/bfin/c_ccflag_dr_imm3_uu.s        |  221 +++++
 tests/bfin/c_ccflag_pr_imm3.s           |  539 +++++++++++++
 tests/bfin/c_ccflag_pr_imm3_uu.s        |  238 ++++++
 tests/bfin/c_ccflag_pr_pr.s             |  262 ++++++
 tests/bfin/c_ccflag_pr_pr_uu.s          |  212 +++++
 tests/bfin/c_ccmv_cc_dr_dr.s            |  124 +++
 tests/bfin/c_ccmv_cc_dr_pr.s            |   61 ++
 tests/bfin/c_ccmv_cc_pr_pr.s            |  111 +++
 tests/bfin/c_ccmv_ncc_dr_dr.s           |  123 +++
 tests/bfin/c_ccmv_ncc_dr_pr.s           |   60 ++
 tests/bfin/c_ccmv_ncc_pr_pr.s           |  111 +++
 tests/bfin/c_comp3op_dr_and_dr.s        |  412 ++++++++++
 tests/bfin/c_comp3op_dr_minus_dr.s      |  412 ++++++++++
 tests/bfin/c_comp3op_dr_mix.s           |  237 ++++++
 tests/bfin/c_comp3op_dr_or_dr.s         |  412 ++++++++++
 tests/bfin/c_comp3op_dr_plus_dr.s       |  412 ++++++++++
 tests/bfin/c_comp3op_dr_xor_dr.s        |  412 ++++++++++
 tests/bfin/c_comp3op_pr_plus_pr_sh1.s   |  302 +++++++
 tests/bfin/c_comp3op_pr_plus_pr_sh2.s   |  302 +++++++
 tests/bfin/c_compi2opd_dr_add_i7_n.s    |  164 ++++
 tests/bfin/c_compi2opd_dr_add_i7_p.s    |  147 ++++
 tests/bfin/c_compi2opd_dr_eq_i7_n.s     |  166 ++++
 tests/bfin/c_compi2opd_dr_eq_i7_p.s     |  147 ++++
 tests/bfin/c_compi2opd_flags.S          |  600 ++++++++++++++
 tests/bfin/c_compi2opd_flags_2.S        |  600 ++++++++++++++
 tests/bfin/c_compi2opp_pr_add_i7_n.s    |  149 ++++
 tests/bfin/c_compi2opp_pr_add_i7_p.s    |  116 +++
 tests/bfin/c_compi2opp_pr_eq_i7_n.s     |  161 ++++
 tests/bfin/c_compi2opp_pr_eq_i7_p.s     |  131 +++
 tests/bfin/c_dagmodik_lnz_imgebl.s      |  290 +++++++
 tests/bfin/c_dagmodik_lnz_imltbl.s      |  289 +++++++
 tests/bfin/c_dagmodik_lz_inc_dec.s      |  140 ++++
 tests/bfin/c_dagmodim_lnz_imgebl.s      |  108 +++
 tests/bfin/c_dagmodim_lnz_imltbl.s      |  109 +++
 tests/bfin/c_dagmodim_lz_inc_dec.s      |   98 +++
 tests/bfin/c_dsp32alu_a_neg_a.s         |   34 +
 tests/bfin/c_dsp32alu_aa_absabs.s       |   35 +
 tests/bfin/c_dsp32alu_aa_negneg.s       |   35 +
 tests/bfin/c_dsp32alu_abs.s             |   62 ++
 tests/bfin/c_dsp32alu_bytepack.s        |   77 ++
 tests/bfin/c_dsp32alu_byteunpack.s      |  113 +++
 tests/bfin/c_dsp32alu_max.s             |  261 ++++++
 tests/bfin/c_dsp32alu_min.s             |  261 ++++++
 tests/bfin/c_dsp32alu_search.s          |   74 ++
 tests/bfin/c_dsp32mac_a1a0.s            |  255 ++++++
 tests/bfin/c_dsp32mac_pair_a0.s         |  129 +++
 tests/bfin/c_dsp32mac_pair_a0_i.s       |  247 ++++++
 tests/bfin/c_dsp32mac_pair_a0_m.s       |  129 +++
 tests/bfin/c_dsp32mac_pair_a1.s         |  127 +++
 tests/bfin/c_dsp32mac_pair_a1_i.s       |  243 ++++++
 tests/bfin/c_dsp32mac_pair_a1_m.s       |  127 +++
 tests/bfin/c_dsp32mult_pair_m.s         |  178 +++++
 tests/bfin/c_dsp32mult_pair_m_i.s       |  178 +++++
 tests/bfin/c_dsp32mult_pair_m_u.s       |  178 +++++
 tests/bfin/c_dsp32shift_a0alr.s         |   77 ++
 tests/bfin/c_dsp32shift_af.s            |  186 +++++
 tests/bfin/c_dsp32shift_ahalf_ln.s      |  423 ++++++++++
 tests/bfin/c_dsp32shift_ahalf_lp.s      |  423 ++++++++++
 tests/bfin/c_dsp32shift_ahalf_rn.s      |  423 ++++++++++
 tests/bfin/c_dsp32shift_ahalf_rn_s.s    |  424 ++++++++++
 tests/bfin/c_dsp32shift_ahalf_rp.s      |  423 ++++++++++
 tests/bfin/c_dsp32shift_ahalf_rp_s.s    |  423 ++++++++++
 tests/bfin/c_dsp32shift_align16.s       |  210 +++++
 tests/bfin/c_dsp32shift_align24.s       |  210 +++++
 tests/bfin/c_dsp32shift_align8.s        |  210 +++++
 tests/bfin/c_dsp32shift_fdepx.s         |  210 +++++
 tests/bfin/c_dsp32shift_fextx.s         |  210 +++++
 tests/bfin/c_dsp32shift_lf.s            |  422 ++++++++++
 tests/bfin/c_dsp32shift_lhalf_ln.s      |  422 ++++++++++
 tests/bfin/c_dsp32shift_lhalf_lp.s      |  422 ++++++++++
 tests/bfin/c_dsp32shift_lhalf_rn.s      |  425 ++++++++++
 tests/bfin/c_dsp32shift_lhalf_rp.s      |  423 ++++++++++
 tests/bfin/c_dsp32shift_ones.s          |  214 +++++
 tests/bfin/c_dsp32shift_pack.s          |  411 ++++++++++
 tests/bfin/c_dsp32shift_rot.s           |  427 ++++++++++
 tests/bfin/c_dsp32shift_rot_mix.s       |  375 +++++++++
 tests/bfin/c_dsp32shift_signbits_r.s    |  214 +++++
 tests/bfin/c_dsp32shift_signbits_rh.s   |  214 +++++
 tests/bfin/c_dsp32shift_signbits_rl.s   |  210 +++++
 tests/bfin/c_dsp32shiftim_a0alr.s       |  213 +++++
 tests/bfin/c_dsp32shiftim_af.s          |   63 ++
 tests/bfin/c_dsp32shiftim_ahalf_ln.s    |  406 ++++++++++
 tests/bfin/c_dsp32shiftim_ahalf_lp.s    |  418 ++++++++++
 tests/bfin/c_dsp32shiftim_ahalf_rn.s    |  418 ++++++++++
 tests/bfin/c_dsp32shiftim_ahalf_rn_s.s  |  418 ++++++++++
 tests/bfin/c_dsp32shiftim_ahalf_rp.s    |  420 ++++++++++
 tests/bfin/c_dsp32shiftim_ahalf_rp_s.s  |  422 ++++++++++
 tests/bfin/c_dsp32shiftim_ahh.s         |   65 ++
 tests/bfin/c_dsp32shiftim_lf.s          |   63 ++
 tests/bfin/c_dsp32shiftim_lhalf_ln.s    |  401 ++++++++++
 tests/bfin/c_dsp32shiftim_lhalf_lp.s    |  418 ++++++++++
 tests/bfin/c_dsp32shiftim_lhalf_rn.s    |  424 ++++++++++
 tests/bfin/c_dsp32shiftim_lhalf_rp.s    |  421 ++++++++++
 tests/bfin/c_dsp32shiftim_lhh.s         |   65 ++
 tests/bfin/c_dsp32shiftim_lmix.s        |  138 ++++
 tests/bfin/c_dsp32shiftim_rot.s         |   62 ++
 tests/bfin/c_dspldst_ld_dr_i.s          |  168 ++++
 tests/bfin/c_dspldst_ld_dr_ipp.s        |  348 ++++++++
 tests/bfin/c_dspldst_ld_dr_ippm.s       |  328 ++++++++
 tests/bfin/c_dspldst_ld_drhi_i.s        |  168 ++++
 tests/bfin/c_dspldst_ld_drhi_ipp.s      |  364 +++++++++
 tests/bfin/c_dspldst_ld_drlo_i.s        |  164 ++++
 tests/bfin/c_dspldst_ld_drlo_ipp.s      |  355 +++++++++
 tests/bfin/c_dspldst_st_dr_i.s          |  185 +++++
 tests/bfin/c_dspldst_st_dr_ipp.s        |  326 ++++++++
 tests/bfin/c_dspldst_st_dr_ippm.s       |  279 +++++++
 tests/bfin/c_dspldst_st_drhi_i.s        |  161 ++++
 tests/bfin/c_dspldst_st_drhi_ipp.s      |  355 +++++++++
 tests/bfin/c_dspldst_st_drlo_i.s        |  163 ++++
 tests/bfin/c_dspldst_st_drlo_ipp.s      |  351 ++++++++
 tests/bfin/c_ldimmhalf_dreg.s           |   60 ++
 tests/bfin/c_ldimmhalf_drhi.s           |   85 ++
 tests/bfin/c_ldimmhalf_drlo.s           |   89 ++
 tests/bfin/c_ldimmhalf_h_dr.s           |   82 ++
 tests/bfin/c_ldimmhalf_h_ibml.s         |  165 ++++
 tests/bfin/c_ldimmhalf_h_pr.s           |   74 ++
 tests/bfin/c_ldimmhalf_l_dr.s           |   82 ++
 tests/bfin/c_ldimmhalf_l_ibml.s         |  165 ++++
 tests/bfin/c_ldimmhalf_l_pr.s           |   76 ++
 tests/bfin/c_ldimmhalf_lz_dr.s          |   81 ++
 tests/bfin/c_ldimmhalf_lz_ibml.s        |  168 ++++
 tests/bfin/c_ldimmhalf_lz_pr.s          |   72 ++
 tests/bfin/c_ldimmhalf_lzhi_dr.s        |  113 +++
 tests/bfin/c_ldimmhalf_lzhi_ibml.s      |  216 +++++
 tests/bfin/c_ldimmhalf_lzhi_pr.s        |  102 +++
 tests/bfin/c_ldimmhalf_pibml.s          |  212 +++++
 tests/bfin/c_ldst_ld_d_p.s              |  372 +++++++++
 tests/bfin/c_ldst_ld_d_p_b.s            |  353 ++++++++
 tests/bfin/c_ldst_ld_d_p_h.s            |  351 ++++++++
 tests/bfin/c_ldst_ld_d_p_mm.s           |  417 ++++++++++
 tests/bfin/c_ldst_ld_d_p_mm_b.s         |  353 ++++++++
 tests/bfin/c_ldst_ld_d_p_mm_h.s         |  330 ++++++++
 tests/bfin/c_ldst_ld_d_p_mm_xb.s        |  341 ++++++++
 tests/bfin/c_ldst_ld_d_p_mm_xh.s        |  355 +++++++++
 tests/bfin/c_ldst_ld_d_p_pp.s           |  371 +++++++++
 tests/bfin/c_ldst_ld_d_p_pp_b.s         |  324 ++++++++
 tests/bfin/c_ldst_ld_d_p_pp_h.s         |  350 ++++++++
 tests/bfin/c_ldst_ld_d_p_pp_xb.s        |  355 +++++++++
 tests/bfin/c_ldst_ld_d_p_pp_xh.s        |  333 ++++++++
 tests/bfin/c_ldst_ld_d_p_ppmm_hbx.s     |  656 +++++++++++++++
 tests/bfin/c_ldst_ld_d_p_xb.s           |  326 ++++++++
 tests/bfin/c_ldst_ld_d_p_xh.s           |  354 +++++++++
 tests/bfin/c_ldst_ld_p_p.s              |  327 ++++++++
 tests/bfin/c_ldst_ld_p_p_mm.s           |  406 ++++++++++
 tests/bfin/c_ldst_ld_p_p_pp.s           |  335 ++++++++
 tests/bfin/c_ldst_st_p_d.s              |  299 +++++++
 tests/bfin/c_ldst_st_p_d_b.s            |  300 +++++++
 tests/bfin/c_ldst_st_p_d_h.s            |  280 +++++++
 tests/bfin/c_ldst_st_p_d_mm.s           |  601 ++++++++++++++
 tests/bfin/c_ldst_st_p_d_mm_b.s         |  498 ++++++++++++
 tests/bfin/c_ldst_st_p_d_mm_h.s         |  554 +++++++++++++
 tests/bfin/c_ldst_st_p_d_pp.s           |  804 +++++++++++++++++++
 tests/bfin/c_ldst_st_p_d_pp_b.s         |  455 +++++++++++
 tests/bfin/c_ldst_st_p_d_pp_h.s         |  457 +++++++++++
 tests/bfin/c_ldst_st_p_p.s              |  128 +++
 tests/bfin/c_ldst_st_p_p_mm.s           |  428 ++++++++++
 tests/bfin/c_ldst_st_p_p_pp.s           |  397 +++++++++
 tests/bfin/c_ldstidxl_ld_dr_b.s         |  554 +++++++++++++
 tests/bfin/c_ldstidxl_ld_dr_h.s         |  595 ++++++++++++++
 tests/bfin/c_ldstidxl_ld_dr_xb.s        |  594 ++++++++++++++
 tests/bfin/c_ldstidxl_ld_dr_xh.s        |  595 ++++++++++++++
 tests/bfin/c_ldstidxl_ld_dreg.s         |  554 +++++++++++++
 tests/bfin/c_ldstidxl_ld_preg.s         |  672 ++++++++++++++++
 tests/bfin/c_ldstidxl_st_dr_b.s         |  612 ++++++++++++++
 tests/bfin/c_ldstidxl_st_dr_h.s         |  609 ++++++++++++++
 tests/bfin/c_ldstidxl_st_dreg.s         |  780 ++++++++++++++++++
 tests/bfin/c_ldstidxl_st_preg.s         |  709 +++++++++++++++++
 tests/bfin/c_ldstii_ld_dr_h.s           |  541 +++++++++++++
 tests/bfin/c_ldstii_ld_dr_xh.s          |  541 +++++++++++++
 tests/bfin/c_ldstii_ld_dreg.s           |  540 +++++++++++++
 tests/bfin/c_ldstii_ld_preg.s           |  564 +++++++++++++
 tests/bfin/c_ldstii_st_dr_h.s           |  605 ++++++++++++++
 tests/bfin/c_ldstii_st_dreg.s           |  640 +++++++++++++++
 tests/bfin/c_ldstii_st_preg.s           |  603 ++++++++++++++
 tests/bfin/c_ldstiifp_ld_dreg.s         |  528 ++++++++++++
 tests/bfin/c_ldstiifp_ld_preg.s         |  511 ++++++++++++
 tests/bfin/c_ldstiifp_st_dreg.s         |  641 +++++++++++++++
 tests/bfin/c_ldstiifp_st_preg.s         |  618 +++++++++++++++
 tests/bfin/c_ldstpmod_ld_dr_hi.s        |  411 ++++++++++
 tests/bfin/c_ldstpmod_ld_dr_lo.s        |  410 ++++++++++
 tests/bfin/c_ldstpmod_ld_dreg.s         |  462 +++++++++++
 tests/bfin/c_ldstpmod_ld_h_xh.s         |  458 +++++++++++
 tests/bfin/c_ldstpmod_ld_lohi.s         |  462 +++++++++++
 tests/bfin/c_ldstpmod_st_dr_hi.s        |  400 ++++++++++
 tests/bfin/c_ldstpmod_st_dr_lo.s        |  401 ++++++++++
 tests/bfin/c_ldstpmod_st_dreg.s         |  623 +++++++++++++++
 tests/bfin/c_ldstpmod_st_lohi.s         |  625 +++++++++++++++
 tests/bfin/c_linkage.s                  |   60 ++
 tests/bfin/c_logi2op_alshft_mix.s       |  143 ++++
 tests/bfin/c_logi2op_arith_shft.s       |  223 ++++++
 tests/bfin/c_logi2op_bitclr.s           |   92 +++
 tests/bfin/c_logi2op_bitset.s           |   92 +++
 tests/bfin/c_logi2op_bittgl.s           |  165 ++++
 tests/bfin/c_logi2op_bittst.s           |  583 ++++++++++++++
 tests/bfin/c_logi2op_log_l_shft.s       |  222 ++++++
 tests/bfin/c_logi2op_log_l_shft_astat.S |   82 ++
 tests/bfin/c_logi2op_log_r_shft.s       |  222 ++++++
 tests/bfin/c_logi2op_log_r_shft_astat.S |   82 ++
 tests/bfin/c_logi2op_nbittst.s          |  584 ++++++++++++++
 tests/bfin/c_loopsetup_nested.s         |  166 ++++
 tests/bfin/c_loopsetup_nested_bot.s     |  165 ++++
 tests/bfin/c_loopsetup_nested_prelc.s   |  184 +++++
 tests/bfin/c_loopsetup_nested_top.s     |  166 ++++
 tests/bfin/c_loopsetup_overlap.s        |  167 ++++
 tests/bfin/c_loopsetup_preg_div2_lc0.s  |   95 +++
 tests/bfin/c_loopsetup_preg_div2_lc1.s  |   94 +++
 tests/bfin/c_loopsetup_preg_lc0.s       |   95 +++
 tests/bfin/c_loopsetup_preg_lc1.s       |   93 +++
 tests/bfin/c_loopsetup_prelc.s          |  145 ++++
 tests/bfin/c_loopsetup_topbotcntr.s     |  110 +++
 tests/bfin/c_progctrl_call_pcpr.s       |   63 ++
 tests/bfin/c_progctrl_call_pr.s         |   32 +
 tests/bfin/c_progctrl_jump_pcpr.s       |   58 ++
 tests/bfin/c_progctrl_jump_pr.s         |   56 ++
 tests/bfin/c_progctrl_nop.s             |   55 ++
 tests/bfin/c_progctrl_rts.s             |   36 +
 tests/bfin/c_ptr2op_pr_neg_pr.s         |  163 ++++
 tests/bfin/c_ptr2op_pr_sft_2_1.s        |  162 ++++
 tests/bfin/c_ptr2op_pr_shadd_1_2.s      |  167 ++++
 tests/bfin/c_pushpopmultiple_dp.s       |  213 +++++
 tests/bfin/c_pushpopmultiple_dp_pair.s  |  203 +++++
 tests/bfin/c_pushpopmultiple_dreg.s     |  173 ++++
 tests/bfin/c_pushpopmultiple_preg.s     |   83 ++
 tests/bfin/c_regmv_acc_acc.s            |  125 +++
 tests/bfin/c_regmv_dag_lz_dep.s         |  148 ++++
 tests/bfin/c_regmv_dr_acc_acc.s         |  191 +++++
 tests/bfin/c_regmv_dr_dep_nostall.s     |  245 ++++++
 tests/bfin/c_regmv_dr_dr.s              |  209 +++++
 tests/bfin/c_regmv_dr_imlb.s            |  539 +++++++++++++
 tests/bfin/c_regmv_dr_pr.s              |  107 +++
 tests/bfin/c_regmv_imlb_dep_nostall.s   |  664 ++++++++++++++++
 tests/bfin/c_regmv_imlb_dep_stall.s     |  335 ++++++++
 tests/bfin/c_regmv_imlb_dr.s            |  313 ++++++++
 tests/bfin/c_regmv_imlb_imlb.s          |  925 +++++++++++++++++++++
 tests/bfin/c_regmv_imlb_pr.s            |  302 +++++++
 tests/bfin/c_regmv_pr_dep_nostall.s     |  280 +++++++
 tests/bfin/c_regmv_pr_dep_stall.s       |  237 ++++++
 tests/bfin/c_regmv_pr_dr.s              |  147 ++++
 tests/bfin/c_regmv_pr_imlb.s            |  382 +++++++++
 tests/bfin/c_regmv_pr_pr.s              |   95 +++
 tests/bfin/c_ujump.s                    |   52 ++
 tests/bfin/cc-astat-bits.s              |  101 +++
 tests/bfin/cc1.s                        |   26 +
 tests/bfin/cir.s                        |   20 +
 tests/bfin/cir1.s                       |   84 ++
 tests/bfin/cmpdreg.S                    |   40 +
 tests/bfin/compare.s                    |   15 +
 tests/bfin/d0.s                         |   31 +
 tests/bfin/d1.s                         |   17 +
 tests/bfin/d2.s                         |   56 ++
 tests/bfin/div0.s                       |   37 +
 tests/bfin/divq.s                       | 1322 +++++++++++++++++++++++++++++++
 tests/bfin/dotproduct.s                 |  304 +++++++
 tests/bfin/dotproduct2.s                |  299 +++++++
 tests/bfin/dsp_d0.s                     |   31 +
 tests/bfin/dsp_d1.s                     |  117 +++
 tests/bfin/edn_snafu.s                  |   45 +
 tests/bfin/events.s                     |   44 +
 tests/bfin/fact.s                       |   47 ++
 tests/bfin/fsm.s                        |   57 ++
 tests/bfin/greg2.s                      |   18 +
 tests/bfin/hwloop-branch-in.s           |   99 +++
 tests/bfin/hwloop-branch-out.s          |  129 +++
 tests/bfin/hwloop-lt-bits.s             |   25 +
 tests/bfin/hwloop-nested.s              |   33 +
 tests/bfin/i0.s                         |   57 ++
 tests/bfin/issue113.s                   |   18 +
 tests/bfin/issue126.s                   |   19 +
 tests/bfin/issue129.s                   |   36 +
 tests/bfin/issue144.s                   |   31 +
 tests/bfin/issue83.s                    |   93 +++
 tests/bfin/issue89.s                    |   30 +
 tests/bfin/l0.s                         |  137 ++++
 tests/bfin/l0shift.s                    |   13 +
 tests/bfin/l2_loop.s                    |   28 +
 tests/bfin/link-2.s                     |   24 +
 tests/bfin/link.s                       |   67 ++
 tests/bfin/load.s                       |  239 ++++++
 tests/bfin/logic.s                      |   64 ++
 tests/bfin/loop_snafu.s                 |   28 +
 tests/bfin/loop_strncpy.s               |   76 ++
 tests/bfin/lp0.s                        |   17 +
 tests/bfin/lp1.s                        |   16 +
 tests/bfin/lsetup.s                     |  109 +++
 tests/bfin/m0boundary.s                 |   46 ++
 tests/bfin/m17.s                        |   74 ++
 tests/bfin/max_min_flags.s              |  277 +++++++
 tests/bfin/mem3.s                       |   42 +
 tests/bfin/move.s                       |   36 +
 tests/bfin/neg.S                        |   42 +
 tests/bfin/nshift.s                     |   33 +
 tests/bfin/pr.s                         |   81 ++
 tests/bfin/push-pop-multiple.s          |  169 ++++
 tests/bfin/push-pop.s                   |   78 ++
 tests/bfin/pushpopreg_1.s               |  292 +++++++
 tests/bfin/s0.s                         |   12 +
 tests/bfin/s1.s                         |   25 +
 tests/bfin/s10.s                        |   77 ++
 tests/bfin/s15.s                        |  149 ++++
 tests/bfin/s16.s                        |  170 ++++
 tests/bfin/s17.s                        |   46 ++
 tests/bfin/s2.s                         |   47 ++
 tests/bfin/s20.s                        |   25 +
 tests/bfin/s21.s                        |  298 +++++++
 tests/bfin/s4.s                         |  214 +++++
 tests/bfin/s5.s                         |  107 +++
 tests/bfin/s9.s                         |  134 ++++
 tests/bfin/se_kills2.S                  |  148 ++++
 tests/bfin/se_rets_hazard.s             |   55 ++
 tests/bfin/sign.s                       |   27 +
 tests/bfin/simple0.s                    |   10 +
 tests/bfin/stk.s                        |   78 ++
 tests/bfin/stk2.s                       |  107 +++
 tests/bfin/stk3.s                       |  106 +++
 tests/bfin/stk4.s                       |  110 +++
 tests/bfin/stk5.s                       |   34 +
 tests/bfin/stk6.s                       |   58 ++
 tests/bfin/tar10622.s                   |   20 +
 tests/bfin/test.h                       |  134 ++++
 tests/bfin/testset.s                    |   73 ++
 tests/bfin/testset2.s                   |   37 +
 tests/bfin/testutils.inc                |  258 ++++++
 tests/bfin/vecadd.s                     |   65 ++
 tests/bfin/wtf.s                        |   26 +
 tests/bfin/zcall.s                      |   44 +
 403 files changed, 86097 insertions(+), 0 deletions(-)
 create mode 100644 tests/bfin/.gitignore
 create mode 100644 tests/bfin/10272_small.s
 create mode 100644 tests/bfin/10436.s
 create mode 100644 tests/bfin/10622.s
 create mode 100644 tests/bfin/10742.s
 create mode 100644 tests/bfin/10799.s
 create mode 100644 tests/bfin/7641.s
 create mode 100644 tests/bfin/Makefile
 create mode 100644 tests/bfin/a0.s
 create mode 100644 tests/bfin/a1.s
 create mode 100644 tests/bfin/a2.s
 create mode 100644 tests/bfin/a24.s
 create mode 100644 tests/bfin/a25.s
 create mode 100644 tests/bfin/a26.s
 create mode 100644 tests/bfin/a3.s
 create mode 100644 tests/bfin/a4.s
 create mode 100644 tests/bfin/a7.s
 create mode 100644 tests/bfin/a8.s
 create mode 100644 tests/bfin/a9.s
 create mode 100644 tests/bfin/abs-2.S
 create mode 100644 tests/bfin/abs-3.S
 create mode 100644 tests/bfin/abs.S
 create mode 100644 tests/bfin/acc-rot.s
 create mode 100644 tests/bfin/acp5_19.s
 create mode 100644 tests/bfin/add_imm7.s
 create mode 100644 tests/bfin/b0.S
 create mode 100644 tests/bfin/b1.s
 create mode 100644 tests/bfin/b2.S
 create mode 100644 tests/bfin/brcc.s
 create mode 100644 tests/bfin/brevadd.s
 create mode 100644 tests/bfin/byteunpack.s
 create mode 100644 tests/bfin/c_alu2op_arith_r_sft.s
 create mode 100644 tests/bfin/c_alu2op_conv_b.s
 create mode 100644 tests/bfin/c_alu2op_conv_h.s
 create mode 100644 tests/bfin/c_alu2op_conv_mix.s
 create mode 100644 tests/bfin/c_alu2op_conv_neg.s
 create mode 100644 tests/bfin/c_alu2op_conv_toggle.s
 create mode 100644 tests/bfin/c_alu2op_conv_xb.s
 create mode 100644 tests/bfin/c_alu2op_conv_xh.s
 create mode 100644 tests/bfin/c_alu2op_divq.s
 create mode 100644 tests/bfin/c_alu2op_divs.s
 create mode 100644 tests/bfin/c_alu2op_log_l_sft.s
 create mode 100644 tests/bfin/c_alu2op_log_r_sft.s
 create mode 100644 tests/bfin/c_alu2op_shadd_1.s
 create mode 100644 tests/bfin/c_alu2op_shadd_2.s
 create mode 100644 tests/bfin/c_br_preg_killed_ac.s
 create mode 100644 tests/bfin/c_br_preg_killed_ex1.s
 create mode 100644 tests/bfin/c_br_preg_stall_ac.s
 create mode 100644 tests/bfin/c_br_preg_stall_ex1.s
 create mode 100644 tests/bfin/c_brcc_bp1.s
 create mode 100644 tests/bfin/c_brcc_bp2.s
 create mode 100644 tests/bfin/c_brcc_bp3.s
 create mode 100644 tests/bfin/c_brcc_bp4.s
 create mode 100644 tests/bfin/c_brcc_brf_bp.s
 create mode 100644 tests/bfin/c_brcc_brf_brt_bp.s
 create mode 100644 tests/bfin/c_brcc_brf_brt_nbp.s
 create mode 100644 tests/bfin/c_brcc_brf_fbkwd.s
 create mode 100644 tests/bfin/c_brcc_brf_nbp.s
 create mode 100644 tests/bfin/c_brcc_brt_bp.s
 create mode 100644 tests/bfin/c_brcc_brt_nbp.s
 create mode 100644 tests/bfin/c_brcc_kills_dhits.s
 create mode 100644 tests/bfin/c_brcc_kills_dmiss.s
 create mode 100644 tests/bfin/c_calla_ljump.s
 create mode 100644 tests/bfin/c_calla_subr.s
 create mode 100644 tests/bfin/c_cc2dreg.s
 create mode 100644 tests/bfin/c_cc2stat_cc_ac.S
 create mode 100644 tests/bfin/c_cc2stat_cc_an.s
 create mode 100644 tests/bfin/c_cc2stat_cc_aq.s
 create mode 100644 tests/bfin/c_cc2stat_cc_av0.S
 create mode 100644 tests/bfin/c_cc2stat_cc_av1.S
 create mode 100644 tests/bfin/c_cc2stat_cc_az.s
 create mode 100644 tests/bfin/c_cc_flag_ccmv_depend.S
 create mode 100644 tests/bfin/c_cc_flagdreg_mvbrsft.s
 create mode 100644 tests/bfin/c_cc_regmvlogi_mvbrsft.s
 create mode 100644 tests/bfin/c_ccflag_dr_dr.s
 create mode 100644 tests/bfin/c_ccflag_dr_dr_uu.s
 create mode 100644 tests/bfin/c_ccflag_dr_imm3.s
 create mode 100644 tests/bfin/c_ccflag_dr_imm3_uu.s
 create mode 100644 tests/bfin/c_ccflag_pr_imm3.s
 create mode 100644 tests/bfin/c_ccflag_pr_imm3_uu.s
 create mode 100644 tests/bfin/c_ccflag_pr_pr.s
 create mode 100644 tests/bfin/c_ccflag_pr_pr_uu.s
 create mode 100644 tests/bfin/c_ccmv_cc_dr_dr.s
 create mode 100644 tests/bfin/c_ccmv_cc_dr_pr.s
 create mode 100644 tests/bfin/c_ccmv_cc_pr_pr.s
 create mode 100644 tests/bfin/c_ccmv_ncc_dr_dr.s
 create mode 100644 tests/bfin/c_ccmv_ncc_dr_pr.s
 create mode 100644 tests/bfin/c_ccmv_ncc_pr_pr.s
 create mode 100644 tests/bfin/c_comp3op_dr_and_dr.s
 create mode 100644 tests/bfin/c_comp3op_dr_minus_dr.s
 create mode 100644 tests/bfin/c_comp3op_dr_mix.s
 create mode 100644 tests/bfin/c_comp3op_dr_or_dr.s
 create mode 100644 tests/bfin/c_comp3op_dr_plus_dr.s
 create mode 100644 tests/bfin/c_comp3op_dr_xor_dr.s
 create mode 100644 tests/bfin/c_comp3op_pr_plus_pr_sh1.s
 create mode 100644 tests/bfin/c_comp3op_pr_plus_pr_sh2.s
 create mode 100644 tests/bfin/c_compi2opd_dr_add_i7_n.s
 create mode 100644 tests/bfin/c_compi2opd_dr_add_i7_p.s
 create mode 100644 tests/bfin/c_compi2opd_dr_eq_i7_n.s
 create mode 100644 tests/bfin/c_compi2opd_dr_eq_i7_p.s
 create mode 100644 tests/bfin/c_compi2opd_flags.S
 create mode 100644 tests/bfin/c_compi2opd_flags_2.S
 create mode 100644 tests/bfin/c_compi2opp_pr_add_i7_n.s
 create mode 100644 tests/bfin/c_compi2opp_pr_add_i7_p.s
 create mode 100644 tests/bfin/c_compi2opp_pr_eq_i7_n.s
 create mode 100644 tests/bfin/c_compi2opp_pr_eq_i7_p.s
 create mode 100644 tests/bfin/c_dagmodik_lnz_imgebl.s
 create mode 100644 tests/bfin/c_dagmodik_lnz_imltbl.s
 create mode 100644 tests/bfin/c_dagmodik_lz_inc_dec.s
 create mode 100644 tests/bfin/c_dagmodim_lnz_imgebl.s
 create mode 100644 tests/bfin/c_dagmodim_lnz_imltbl.s
 create mode 100644 tests/bfin/c_dagmodim_lz_inc_dec.s
 create mode 100644 tests/bfin/c_dsp32alu_a_neg_a.s
 create mode 100644 tests/bfin/c_dsp32alu_aa_absabs.s
 create mode 100644 tests/bfin/c_dsp32alu_aa_negneg.s
 create mode 100644 tests/bfin/c_dsp32alu_abs.s
 create mode 100644 tests/bfin/c_dsp32alu_bytepack.s
 create mode 100644 tests/bfin/c_dsp32alu_byteunpack.s
 create mode 100644 tests/bfin/c_dsp32alu_max.s
 create mode 100644 tests/bfin/c_dsp32alu_min.s
 create mode 100644 tests/bfin/c_dsp32alu_search.s
 create mode 100644 tests/bfin/c_dsp32mac_a1a0.s
 create mode 100644 tests/bfin/c_dsp32mac_pair_a0.s
 create mode 100644 tests/bfin/c_dsp32mac_pair_a0_i.s
 create mode 100644 tests/bfin/c_dsp32mac_pair_a0_m.s
 create mode 100644 tests/bfin/c_dsp32mac_pair_a1.s
 create mode 100644 tests/bfin/c_dsp32mac_pair_a1_i.s
 create mode 100644 tests/bfin/c_dsp32mac_pair_a1_m.s
 create mode 100644 tests/bfin/c_dsp32mult_pair_m.s
 create mode 100644 tests/bfin/c_dsp32mult_pair_m_i.s
 create mode 100644 tests/bfin/c_dsp32mult_pair_m_u.s
 create mode 100644 tests/bfin/c_dsp32shift_a0alr.s
 create mode 100644 tests/bfin/c_dsp32shift_af.s
 create mode 100644 tests/bfin/c_dsp32shift_ahalf_ln.s
 create mode 100644 tests/bfin/c_dsp32shift_ahalf_lp.s
 create mode 100644 tests/bfin/c_dsp32shift_ahalf_rn.s
 create mode 100644 tests/bfin/c_dsp32shift_ahalf_rn_s.s
 create mode 100644 tests/bfin/c_dsp32shift_ahalf_rp.s
 create mode 100644 tests/bfin/c_dsp32shift_ahalf_rp_s.s
 create mode 100644 tests/bfin/c_dsp32shift_align16.s
 create mode 100644 tests/bfin/c_dsp32shift_align24.s
 create mode 100644 tests/bfin/c_dsp32shift_align8.s
 create mode 100644 tests/bfin/c_dsp32shift_fdepx.s
 create mode 100644 tests/bfin/c_dsp32shift_fextx.s
 create mode 100644 tests/bfin/c_dsp32shift_lf.s
 create mode 100644 tests/bfin/c_dsp32shift_lhalf_ln.s
 create mode 100644 tests/bfin/c_dsp32shift_lhalf_lp.s
 create mode 100644 tests/bfin/c_dsp32shift_lhalf_rn.s
 create mode 100644 tests/bfin/c_dsp32shift_lhalf_rp.s
 create mode 100644 tests/bfin/c_dsp32shift_ones.s
 create mode 100644 tests/bfin/c_dsp32shift_pack.s
 create mode 100644 tests/bfin/c_dsp32shift_rot.s
 create mode 100644 tests/bfin/c_dsp32shift_rot_mix.s
 create mode 100644 tests/bfin/c_dsp32shift_signbits_r.s
 create mode 100644 tests/bfin/c_dsp32shift_signbits_rh.s
 create mode 100644 tests/bfin/c_dsp32shift_signbits_rl.s
 create mode 100644 tests/bfin/c_dsp32shiftim_a0alr.s
 create mode 100644 tests/bfin/c_dsp32shiftim_af.s
 create mode 100644 tests/bfin/c_dsp32shiftim_ahalf_ln.s
 create mode 100644 tests/bfin/c_dsp32shiftim_ahalf_lp.s
 create mode 100644 tests/bfin/c_dsp32shiftim_ahalf_rn.s
 create mode 100644 tests/bfin/c_dsp32shiftim_ahalf_rn_s.s
 create mode 100644 tests/bfin/c_dsp32shiftim_ahalf_rp.s
 create mode 100644 tests/bfin/c_dsp32shiftim_ahalf_rp_s.s
 create mode 100644 tests/bfin/c_dsp32shiftim_ahh.s
 create mode 100644 tests/bfin/c_dsp32shiftim_lf.s
 create mode 100644 tests/bfin/c_dsp32shiftim_lhalf_ln.s
 create mode 100644 tests/bfin/c_dsp32shiftim_lhalf_lp.s
 create mode 100644 tests/bfin/c_dsp32shiftim_lhalf_rn.s
 create mode 100644 tests/bfin/c_dsp32shiftim_lhalf_rp.s
 create mode 100644 tests/bfin/c_dsp32shiftim_lhh.s
 create mode 100644 tests/bfin/c_dsp32shiftim_lmix.s
 create mode 100644 tests/bfin/c_dsp32shiftim_rot.s
 create mode 100644 tests/bfin/c_dspldst_ld_dr_i.s
 create mode 100644 tests/bfin/c_dspldst_ld_dr_ipp.s
 create mode 100644 tests/bfin/c_dspldst_ld_dr_ippm.s
 create mode 100644 tests/bfin/c_dspldst_ld_drhi_i.s
 create mode 100644 tests/bfin/c_dspldst_ld_drhi_ipp.s
 create mode 100644 tests/bfin/c_dspldst_ld_drlo_i.s
 create mode 100644 tests/bfin/c_dspldst_ld_drlo_ipp.s
 create mode 100644 tests/bfin/c_dspldst_st_dr_i.s
 create mode 100644 tests/bfin/c_dspldst_st_dr_ipp.s
 create mode 100644 tests/bfin/c_dspldst_st_dr_ippm.s
 create mode 100644 tests/bfin/c_dspldst_st_drhi_i.s
 create mode 100644 tests/bfin/c_dspldst_st_drhi_ipp.s
 create mode 100644 tests/bfin/c_dspldst_st_drlo_i.s
 create mode 100644 tests/bfin/c_dspldst_st_drlo_ipp.s
 create mode 100644 tests/bfin/c_ldimmhalf_dreg.s
 create mode 100644 tests/bfin/c_ldimmhalf_drhi.s
 create mode 100644 tests/bfin/c_ldimmhalf_drlo.s
 create mode 100644 tests/bfin/c_ldimmhalf_h_dr.s
 create mode 100644 tests/bfin/c_ldimmhalf_h_ibml.s
 create mode 100644 tests/bfin/c_ldimmhalf_h_pr.s
 create mode 100644 tests/bfin/c_ldimmhalf_l_dr.s
 create mode 100644 tests/bfin/c_ldimmhalf_l_ibml.s
 create mode 100644 tests/bfin/c_ldimmhalf_l_pr.s
 create mode 100644 tests/bfin/c_ldimmhalf_lz_dr.s
 create mode 100644 tests/bfin/c_ldimmhalf_lz_ibml.s
 create mode 100644 tests/bfin/c_ldimmhalf_lz_pr.s
 create mode 100644 tests/bfin/c_ldimmhalf_lzhi_dr.s
 create mode 100644 tests/bfin/c_ldimmhalf_lzhi_ibml.s
 create mode 100644 tests/bfin/c_ldimmhalf_lzhi_pr.s
 create mode 100644 tests/bfin/c_ldimmhalf_pibml.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_b.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_h.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_mm.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_mm_b.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_mm_h.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_mm_xb.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_mm_xh.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_pp.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_pp_b.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_pp_h.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_pp_xb.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_pp_xh.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_ppmm_hbx.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_xb.s
 create mode 100644 tests/bfin/c_ldst_ld_d_p_xh.s
 create mode 100644 tests/bfin/c_ldst_ld_p_p.s
 create mode 100644 tests/bfin/c_ldst_ld_p_p_mm.s
 create mode 100644 tests/bfin/c_ldst_ld_p_p_pp.s
 create mode 100644 tests/bfin/c_ldst_st_p_d.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_b.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_h.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_mm.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_mm_b.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_mm_h.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_pp.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_pp_b.s
 create mode 100644 tests/bfin/c_ldst_st_p_d_pp_h.s
 create mode 100644 tests/bfin/c_ldst_st_p_p.s
 create mode 100644 tests/bfin/c_ldst_st_p_p_mm.s
 create mode 100644 tests/bfin/c_ldst_st_p_p_pp.s
 create mode 100644 tests/bfin/c_ldstidxl_ld_dr_b.s
 create mode 100644 tests/bfin/c_ldstidxl_ld_dr_h.s
 create mode 100644 tests/bfin/c_ldstidxl_ld_dr_xb.s
 create mode 100644 tests/bfin/c_ldstidxl_ld_dr_xh.s
 create mode 100644 tests/bfin/c_ldstidxl_ld_dreg.s
 create mode 100644 tests/bfin/c_ldstidxl_ld_preg.s
 create mode 100644 tests/bfin/c_ldstidxl_st_dr_b.s
 create mode 100644 tests/bfin/c_ldstidxl_st_dr_h.s
 create mode 100644 tests/bfin/c_ldstidxl_st_dreg.s
 create mode 100644 tests/bfin/c_ldstidxl_st_preg.s
 create mode 100644 tests/bfin/c_ldstii_ld_dr_h.s
 create mode 100644 tests/bfin/c_ldstii_ld_dr_xh.s
 create mode 100644 tests/bfin/c_ldstii_ld_dreg.s
 create mode 100644 tests/bfin/c_ldstii_ld_preg.s
 create mode 100644 tests/bfin/c_ldstii_st_dr_h.s
 create mode 100644 tests/bfin/c_ldstii_st_dreg.s
 create mode 100644 tests/bfin/c_ldstii_st_preg.s
 create mode 100644 tests/bfin/c_ldstiifp_ld_dreg.s
 create mode 100644 tests/bfin/c_ldstiifp_ld_preg.s
 create mode 100644 tests/bfin/c_ldstiifp_st_dreg.s
 create mode 100644 tests/bfin/c_ldstiifp_st_preg.s
 create mode 100644 tests/bfin/c_ldstpmod_ld_dr_hi.s
 create mode 100644 tests/bfin/c_ldstpmod_ld_dr_lo.s
 create mode 100644 tests/bfin/c_ldstpmod_ld_dreg.s
 create mode 100644 tests/bfin/c_ldstpmod_ld_h_xh.s
 create mode 100644 tests/bfin/c_ldstpmod_ld_lohi.s
 create mode 100644 tests/bfin/c_ldstpmod_st_dr_hi.s
 create mode 100644 tests/bfin/c_ldstpmod_st_dr_lo.s
 create mode 100644 tests/bfin/c_ldstpmod_st_dreg.s
 create mode 100644 tests/bfin/c_ldstpmod_st_lohi.s
 create mode 100644 tests/bfin/c_linkage.s
 create mode 100644 tests/bfin/c_logi2op_alshft_mix.s
 create mode 100644 tests/bfin/c_logi2op_arith_shft.s
 create mode 100644 tests/bfin/c_logi2op_bitclr.s
 create mode 100644 tests/bfin/c_logi2op_bitset.s
 create mode 100644 tests/bfin/c_logi2op_bittgl.s
 create mode 100644 tests/bfin/c_logi2op_bittst.s
 create mode 100644 tests/bfin/c_logi2op_log_l_shft.s
 create mode 100644 tests/bfin/c_logi2op_log_l_shft_astat.S
 create mode 100644 tests/bfin/c_logi2op_log_r_shft.s
 create mode 100644 tests/bfin/c_logi2op_log_r_shft_astat.S
 create mode 100644 tests/bfin/c_logi2op_nbittst.s
 create mode 100644 tests/bfin/c_loopsetup_nested.s
 create mode 100644 tests/bfin/c_loopsetup_nested_bot.s
 create mode 100644 tests/bfin/c_loopsetup_nested_prelc.s
 create mode 100644 tests/bfin/c_loopsetup_nested_top.s
 create mode 100644 tests/bfin/c_loopsetup_overlap.s
 create mode 100644 tests/bfin/c_loopsetup_preg_div2_lc0.s
 create mode 100644 tests/bfin/c_loopsetup_preg_div2_lc1.s
 create mode 100644 tests/bfin/c_loopsetup_preg_lc0.s
 create mode 100644 tests/bfin/c_loopsetup_preg_lc1.s
 create mode 100644 tests/bfin/c_loopsetup_prelc.s
 create mode 100644 tests/bfin/c_loopsetup_topbotcntr.s
 create mode 100644 tests/bfin/c_progctrl_call_pcpr.s
 create mode 100644 tests/bfin/c_progctrl_call_pr.s
 create mode 100644 tests/bfin/c_progctrl_jump_pcpr.s
 create mode 100644 tests/bfin/c_progctrl_jump_pr.s
 create mode 100644 tests/bfin/c_progctrl_nop.s
 create mode 100644 tests/bfin/c_progctrl_rts.s
 create mode 100644 tests/bfin/c_ptr2op_pr_neg_pr.s
 create mode 100644 tests/bfin/c_ptr2op_pr_sft_2_1.s
 create mode 100644 tests/bfin/c_ptr2op_pr_shadd_1_2.s
 create mode 100644 tests/bfin/c_pushpopmultiple_dp.s
 create mode 100644 tests/bfin/c_pushpopmultiple_dp_pair.s
 create mode 100644 tests/bfin/c_pushpopmultiple_dreg.s
 create mode 100644 tests/bfin/c_pushpopmultiple_preg.s
 create mode 100644 tests/bfin/c_regmv_acc_acc.s
 create mode 100644 tests/bfin/c_regmv_dag_lz_dep.s
 create mode 100644 tests/bfin/c_regmv_dr_acc_acc.s
 create mode 100644 tests/bfin/c_regmv_dr_dep_nostall.s
 create mode 100644 tests/bfin/c_regmv_dr_dr.s
 create mode 100644 tests/bfin/c_regmv_dr_imlb.s
 create mode 100644 tests/bfin/c_regmv_dr_pr.s
 create mode 100644 tests/bfin/c_regmv_imlb_dep_nostall.s
 create mode 100644 tests/bfin/c_regmv_imlb_dep_stall.s
 create mode 100644 tests/bfin/c_regmv_imlb_dr.s
 create mode 100644 tests/bfin/c_regmv_imlb_imlb.s
 create mode 100644 tests/bfin/c_regmv_imlb_pr.s
 create mode 100644 tests/bfin/c_regmv_pr_dep_nostall.s
 create mode 100644 tests/bfin/c_regmv_pr_dep_stall.s
 create mode 100644 tests/bfin/c_regmv_pr_dr.s
 create mode 100644 tests/bfin/c_regmv_pr_imlb.s
 create mode 100644 tests/bfin/c_regmv_pr_pr.s
 create mode 100644 tests/bfin/c_ujump.s
 create mode 100644 tests/bfin/cc-astat-bits.s
 create mode 100644 tests/bfin/cc1.s
 create mode 100644 tests/bfin/cir.s
 create mode 100644 tests/bfin/cir1.s
 create mode 100644 tests/bfin/cmpdreg.S
 create mode 100644 tests/bfin/compare.s
 create mode 100644 tests/bfin/d0.s
 create mode 100644 tests/bfin/d1.s
 create mode 100644 tests/bfin/d2.s
 create mode 100644 tests/bfin/div0.s
 create mode 100644 tests/bfin/divq.s
 create mode 100644 tests/bfin/dotproduct.s
 create mode 100644 tests/bfin/dotproduct2.s
 create mode 100644 tests/bfin/dsp_d0.s
 create mode 100644 tests/bfin/dsp_d1.s
 create mode 100644 tests/bfin/edn_snafu.s
 create mode 100644 tests/bfin/events.s
 create mode 100644 tests/bfin/fact.s
 create mode 100644 tests/bfin/fsm.s
 create mode 100644 tests/bfin/greg2.s
 create mode 100644 tests/bfin/hwloop-branch-in.s
 create mode 100644 tests/bfin/hwloop-branch-out.s
 create mode 100644 tests/bfin/hwloop-lt-bits.s
 create mode 100644 tests/bfin/hwloop-nested.s
 create mode 100644 tests/bfin/i0.s
 create mode 100644 tests/bfin/issue113.s
 create mode 100644 tests/bfin/issue126.s
 create mode 100644 tests/bfin/issue129.s
 create mode 100644 tests/bfin/issue144.s
 create mode 100644 tests/bfin/issue83.s
 create mode 100644 tests/bfin/issue89.s
 create mode 100644 tests/bfin/l0.s
 create mode 100644 tests/bfin/l0shift.s
 create mode 100644 tests/bfin/l2_loop.s
 create mode 100644 tests/bfin/link-2.s
 create mode 100644 tests/bfin/link.s
 create mode 100644 tests/bfin/load.s
 create mode 100644 tests/bfin/logic.s
 create mode 100644 tests/bfin/loop_snafu.s
 create mode 100644 tests/bfin/loop_strncpy.s
 create mode 100644 tests/bfin/lp0.s
 create mode 100644 tests/bfin/lp1.s
 create mode 100644 tests/bfin/lsetup.s
 create mode 100644 tests/bfin/m0boundary.s
 create mode 100644 tests/bfin/m17.s
 create mode 100644 tests/bfin/max_min_flags.s
 create mode 100644 tests/bfin/mem3.s
 create mode 100644 tests/bfin/move.s
 create mode 100644 tests/bfin/neg.S
 create mode 100644 tests/bfin/nshift.s
 create mode 100644 tests/bfin/pr.s
 create mode 100644 tests/bfin/push-pop-multiple.s
 create mode 100644 tests/bfin/push-pop.s
 create mode 100644 tests/bfin/pushpopreg_1.s
 create mode 100644 tests/bfin/s0.s
 create mode 100644 tests/bfin/s1.s
 create mode 100644 tests/bfin/s10.s
 create mode 100644 tests/bfin/s15.s
 create mode 100644 tests/bfin/s16.s
 create mode 100644 tests/bfin/s17.s
 create mode 100644 tests/bfin/s2.s
 create mode 100644 tests/bfin/s20.s
 create mode 100644 tests/bfin/s21.s
 create mode 100644 tests/bfin/s4.s
 create mode 100644 tests/bfin/s5.s
 create mode 100644 tests/bfin/s9.s
 create mode 100644 tests/bfin/se_kills2.S
 create mode 100644 tests/bfin/se_rets_hazard.s
 create mode 100644 tests/bfin/sign.s
 create mode 100644 tests/bfin/simple0.s
 create mode 100644 tests/bfin/stk.s
 create mode 100644 tests/bfin/stk2.s
 create mode 100644 tests/bfin/stk3.s
 create mode 100644 tests/bfin/stk4.s
 create mode 100644 tests/bfin/stk5.s
 create mode 100644 tests/bfin/stk6.s
 create mode 100644 tests/bfin/tar10622.s
 create mode 100644 tests/bfin/test.h
 create mode 100644 tests/bfin/testset.s
 create mode 100644 tests/bfin/testset2.s
 create mode 100644 tests/bfin/testutils.inc
 create mode 100644 tests/bfin/vecadd.s
 create mode 100644 tests/bfin/wtf.s
 create mode 100644 tests/bfin/zcall.s

diff --git a/tests/Makefile b/tests/Makefile
index 9ded4b7..52a5611 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -142,6 +142,10 @@ hello-mipsel: hello-mips.c
 test-cris:
        $(MAKE) -C cris check

+# testsuite for the Blackfin port.
+test-bfin:
+       $(MAKE) -C bfin check
+
 clean:
        rm -f *~ *.o test-i386.out test-i386.ref \
            test-x86_64.log test-x86_64.ref qruncom $(TESTS)
diff --git a/tests/bfin/Makefile b/tests/bfin/Makefile
new file mode 100644
index 0000000..e3435b5
--- /dev/null
+++ b/tests/bfin/Makefile
@@ -0,0 +1,69 @@
+# Simple makefile for local tests
+
+QEMU_USER = ../../bfin-linux-user/qemu-bfin
+SRCS      = $(wildcard *.[csS])
+SIM_SRCS  = $(SRCS)
+SIM       = $(SIM_SRCS:=.x)
+HOST_SRCS = $(shell grep -L -e sim:.*operating $(SRCS))
+HOST      = $(HOST_SRCS:=.X)
+
+NORMAL =  [m
+GREEN  =  [0;32m
+RED    =  [0;31m
+BLUE   =  [1;34m
+PASS   = $(GREEN)PASS$(NORMAL)
+FAIL   = $(RED)FAIL$(NORMAL)
+
+all: sim # host
+
+sim: $(SIM)
+       @fail=0 pass=0 ; \
+       rm -f address@hidden ; \
+       for x in $^ ; do \
+               xx="timeout 10s $(QEMU_USER) $$x" ; \
+               x=$${x%.x} ; \
+               printf '%80s\n' | tr ' ' '#' >> address@hidden ; \
+               printf 'Running: %s\n' "$$xx" >> address@hidden ; \
+               if ! out="`$$xx 2>&1`" ; then \
+                       res=FAIL ; \
+                       cres='$(FAIL)' ; \
+                       : $$(( fail += 1 )) ; \
+               elif [ "$$out" != "pass" ] ; then \
+                       res=FAIL ; \
+                       cres='$(FAIL)' ; \
+                       : $$(( fail += 1 )) ; \
+               else \
+                       res=PASS ; \
+                       cres='$(PASS)' ; \
+                       : $$(( pass += 1 )) ; \
+               fi ; \
+               printf '%s\n%s: %s\n\n' "$$out" "$$res" $$x >> address@hidden ; 
\
+               echo "$$cres: $$x" ; \
+       done ; \
+       printf '$(BLUE)SUMMARY$(NORMAL): %i/%i tests passed\n' $$pass $$((
pass + fail )) ; \
+       exit $$(( fail != 0 ))
+
+jtag: $(JTAG)
+host: $(HOST)
+
+FLAGS = -g -o $@ $<
+
+DO_SIM = bfin-elf-gcc -msim $(FLAGS) -nostdlib
+%.c.x: %.c ; $(DO_SIM) $(shell sed -n '/^\# cc:/s|.*cc:||p' $<)
+%.s.x: %.s ; $(DO_SIM)
+%.S.x: %.S ; $(DO_SIM)
+
+DO_JTAG = bfin-elf-gcc $(FLAGS) -nostdlib
+%.c.j: %.c ; $(DO_JTAG) $(shell sed -n '/^\# cc:/s|.*cc:||p' $<)
+%.s.j: %.s ; $(DO_JTAG)
+%.S.j: %.S ; $(DO_JTAG)
+
+DO_HOST = bfin-linux-uclibc-gcc -Wa,--defsym,BFIN_HOST=1 $(FLAGS) -static
+%.c.X: %.c ; $(DO_HOST)
+%.s.X: %.s ; $(DO_HOST)
+%.S.X: %.S ; $(DO_HOST)
+
+clean:
+       rm -f *.[xX] *.o
+
+.PHONY: all clean

Attachment: 0004-Blackfin-add-test-suite.patch.xz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]