I've cleaned up the code and removed all the debugging bits. This passes a good number of tests (both the ones included here as well as the ones included with binutils/gcc/etc...), and as long as you stay away from the DSP related insns, your experience should be pretty good. If you do need DSP insns, then you should probably stick with the GNU sim for now.
The port started off against a much older version, so I might have missed some stuff that needs to be done for the latest master branch. Mike Frysinger (5): Blackfin: add disassembler support Blackfin: initial port Blackfin: add linux-user support Blackfin: add test suite linux-user: add support for Blackfin syscalls MAINTAINERS | 5 + configure | 8 + cpu-exec.c | 5 +- default-configs/bfin-linux-user.mak | 1 + disas.c | 9 + disas/Makefile.objs | 1 + disas/bfin.c | 4791 +++++++++++++++++++++++++++ gdbstub.c | 103 + include/disas/bfd.h | 3 + include/elf.h | 6 + linux-user/bfin/syscall.h | 59 + linux-user/bfin/syscall_nr.h | 389 +++ linux-user/bfin/target_flat.h | 92 + linux-user/bfin/target_sigcontext.h | 61 + linux-user/bfin/target_signal.h | 31 + linux-user/bfin/termbits.h | 227 ++ linux-user/elfload.c | 47 + linux-user/main.c | 160 + linux-user/qemu.h | 4 + linux-user/signal.c | 225 ++ linux-user/strace.list | 9 + linux-user/syscall.c | 77 +- linux-user/syscall_defs.h | 65 +- linux-user/target_ucontext.h | 14 + qapi-schema.json | 9 +- scripts/qemu-binfmt-conf.sh | 4 + target-bfin/Makefile.objs | 3 + target-bfin/README | 32 + target-bfin/TODO | 25 + target-bfin/bfin-sim.c | 3666 ++++++++++++++++++++ target-bfin/bfin-tdep.h | 94 + target-bfin/cpu-qom.h | 61 + target-bfin/cpu.c | 55 + target-bfin/cpu.h | 236 ++ target-bfin/helper.c | 37 + target-bfin/helper.h | 23 + target-bfin/linux-fixed-code.h | 23 + target-bfin/op_helper.c | 229 ++ target-bfin/opcode/bfin.h | 1754 ++++++++++ target-bfin/translate.c | 1347 ++++++++ tests/tcg/Makefile | 4 + tests/tcg/bfin/.gitignore | 2 + tests/tcg/bfin/10272_small.s | 51 + tests/tcg/bfin/10436.s | 39 + tests/tcg/bfin/10622.s | 21 + tests/tcg/bfin/10742.s | 17 + tests/tcg/bfin/10799.s | 55 + tests/tcg/bfin/7641.s | 38 + tests/tcg/bfin/Makefile | 80 + tests/tcg/bfin/a0.s | 17 + tests/tcg/bfin/a1.s | 29 + tests/tcg/bfin/a10.s | 163 + tests/tcg/bfin/a2.s | 179 + tests/tcg/bfin/a24.s | 12 + tests/tcg/bfin/a25.s | 28 + tests/tcg/bfin/a26.s | 72 + tests/tcg/bfin/a3.s | 313 ++ tests/tcg/bfin/a4.s | 36 + tests/tcg/bfin/a7.s | 179 + tests/tcg/bfin/a8.s | 41 + tests/tcg/bfin/a9.s | 205 ++ tests/tcg/bfin/abs-2.S | 42 + tests/tcg/bfin/abs-3.S | 42 + tests/tcg/bfin/abs.S | 42 + tests/tcg/bfin/acc-rot.s | 129 + tests/tcg/bfin/acp5_19.s | 12 + tests/tcg/bfin/add_imm7.s | 38 + tests/tcg/bfin/algnbug1.s | 38 + tests/tcg/bfin/algnbug2.s | 69 + tests/tcg/bfin/b0.S | 51 + tests/tcg/bfin/b1.s | 12 + tests/tcg/bfin/b2.S | 26 + tests/tcg/bfin/brcc.s | 164 + tests/tcg/bfin/brevadd.s | 20 + tests/tcg/bfin/byteunpack.s | 45 + tests/tcg/bfin/c_alu2op_arith_r_sft.s | 226 ++ tests/tcg/bfin/c_alu2op_conv_b.s | 211 ++ tests/tcg/bfin/c_alu2op_conv_h.s | 211 ++ tests/tcg/bfin/c_alu2op_conv_mix.s | 186 ++ tests/tcg/bfin/c_alu2op_conv_neg.s | 211 ++ tests/tcg/bfin/c_alu2op_conv_toggle.s | 211 ++ tests/tcg/bfin/c_alu2op_conv_xb.s | 211 ++ tests/tcg/bfin/c_alu2op_conv_xh.s | 212 ++ tests/tcg/bfin/c_alu2op_divq.s | 220 ++ tests/tcg/bfin/c_alu2op_divs.s | 220 ++ tests/tcg/bfin/c_alu2op_log_l_sft.s | 220 ++ tests/tcg/bfin/c_alu2op_log_r_sft.s | 217 ++ tests/tcg/bfin/c_alu2op_shadd_1.s | 209 ++ tests/tcg/bfin/c_alu2op_shadd_2.s | 209 ++ tests/tcg/bfin/c_br_preg_killed_ac.s | 82 + tests/tcg/bfin/c_br_preg_killed_ex1.s | 85 + tests/tcg/bfin/c_br_preg_stall_ac.s | 75 + tests/tcg/bfin/c_br_preg_stall_ex1.s | 70 + tests/tcg/bfin/c_brcc_bp1.s | 45 + tests/tcg/bfin/c_brcc_bp2.s | 45 + tests/tcg/bfin/c_brcc_bp3.s | 47 + tests/tcg/bfin/c_brcc_bp4.s | 46 + tests/tcg/bfin/c_brcc_brf_bp.s | 46 + tests/tcg/bfin/c_brcc_brf_brt_bp.s | 47 + tests/tcg/bfin/c_brcc_brf_brt_nbp.s | 46 + tests/tcg/bfin/c_brcc_brf_fbkwd.s | 46 + tests/tcg/bfin/c_brcc_brf_nbp.s | 45 + tests/tcg/bfin/c_brcc_brt_bp.s | 46 + tests/tcg/bfin/c_brcc_brt_nbp.s | 45 + tests/tcg/bfin/c_calla_ljump.s | 31 + tests/tcg/bfin/c_calla_subr.s | 28 + tests/tcg/bfin/c_cc2dreg.s | 56 + tests/tcg/bfin/c_cc2stat_cc_ac.S | 240 ++ tests/tcg/bfin/c_cc2stat_cc_an.s | 243 ++ tests/tcg/bfin/c_cc2stat_cc_aq.s | 243 ++ tests/tcg/bfin/c_cc2stat_cc_av0.S | 241 ++ tests/tcg/bfin/c_cc2stat_cc_av1.S | 240 ++ tests/tcg/bfin/c_cc2stat_cc_az.s | 243 ++ tests/tcg/bfin/c_cc_flag_ccmv_depend.S | 82 + tests/tcg/bfin/c_cc_flagdreg_mvbrsft.s | 87 + tests/tcg/bfin/c_cc_regmvlogi_mvbrsft.s | 83 + tests/tcg/bfin/c_ccflag_dr_dr.s | 299 ++ tests/tcg/bfin/c_ccflag_dr_dr_uu.s | 299 ++ tests/tcg/bfin/c_ccflag_dr_imm3.s | 224 ++ tests/tcg/bfin/c_ccflag_dr_imm3_uu.s | 221 ++ tests/tcg/bfin/c_ccflag_pr_imm3.s | 539 +++ tests/tcg/bfin/c_ccflag_pr_imm3_uu.s | 238 ++ tests/tcg/bfin/c_ccflag_pr_pr.s | 262 ++ tests/tcg/bfin/c_ccflag_pr_pr_uu.s | 212 ++ tests/tcg/bfin/c_ccmv_cc_dr_dr.s | 124 + tests/tcg/bfin/c_ccmv_cc_dr_pr.s | 61 + tests/tcg/bfin/c_ccmv_cc_pr_pr.s | 111 + tests/tcg/bfin/c_ccmv_ncc_dr_dr.s | 123 + tests/tcg/bfin/c_ccmv_ncc_dr_pr.s | 60 + tests/tcg/bfin/c_ccmv_ncc_pr_pr.s | 111 + tests/tcg/bfin/c_comp3op_dr_and_dr.s | 412 +++ tests/tcg/bfin/c_comp3op_dr_minus_dr.s | 412 +++ tests/tcg/bfin/c_comp3op_dr_mix.s | 237 ++ tests/tcg/bfin/c_comp3op_dr_or_dr.s | 412 +++ tests/tcg/bfin/c_comp3op_dr_plus_dr.s | 412 +++ tests/tcg/bfin/c_comp3op_dr_xor_dr.s | 412 +++ tests/tcg/bfin/c_comp3op_pr_plus_pr_sh1.s | 302 ++ tests/tcg/bfin/c_comp3op_pr_plus_pr_sh2.s | 302 ++ tests/tcg/bfin/c_compi2opd_dr_add_i7_n.s | 164 + tests/tcg/bfin/c_compi2opd_dr_add_i7_p.s | 147 + tests/tcg/bfin/c_compi2opd_dr_eq_i7_n.s | 166 + tests/tcg/bfin/c_compi2opd_dr_eq_i7_p.s | 147 + tests/tcg/bfin/c_compi2opd_flags.S | 600 ++++ tests/tcg/bfin/c_compi2opd_flags_2.S | 600 ++++ tests/tcg/bfin/c_compi2opp_pr_add_i7_n.s | 149 + tests/tcg/bfin/c_compi2opp_pr_add_i7_p.s | 116 + tests/tcg/bfin/c_compi2opp_pr_eq_i7_n.s | 161 + tests/tcg/bfin/c_compi2opp_pr_eq_i7_p.s | 131 + tests/tcg/bfin/c_dagmodik_lnz_imgebl.s | 290 ++ tests/tcg/bfin/c_dagmodik_lnz_imltbl.s | 289 ++ tests/tcg/bfin/c_dagmodik_lz_inc_dec.s | 140 + tests/tcg/bfin/c_dagmodim_lnz_imgebl.s | 108 + tests/tcg/bfin/c_dagmodim_lnz_imltbl.s | 109 + tests/tcg/bfin/c_dagmodim_lz_inc_dec.s | 98 + tests/tcg/bfin/c_dsp32alu_a_neg_a.s | 34 + tests/tcg/bfin/c_dsp32alu_aa_absabs.s | 35 + tests/tcg/bfin/c_dsp32alu_aa_negneg.s | 35 + tests/tcg/bfin/c_dsp32alu_abs.s | 62 + tests/tcg/bfin/c_dsp32alu_absabs.s | 62 + tests/tcg/bfin/c_dsp32alu_awx.s | 54 + tests/tcg/bfin/c_dsp32alu_bytepack.s | 77 + tests/tcg/bfin/c_dsp32alu_byteunpack.s | 113 + tests/tcg/bfin/c_dsp32alu_disalnexcpt.s | 255 ++ tests/tcg/bfin/c_dsp32alu_max.s | 261 ++ tests/tcg/bfin/c_dsp32alu_maxmax.s | 261 ++ tests/tcg/bfin/c_dsp32alu_min.s | 261 ++ tests/tcg/bfin/c_dsp32alu_minmin.s | 261 ++ tests/tcg/bfin/c_dsp32alu_rr_lph_a1a0.s | 33 + tests/tcg/bfin/c_dsp32alu_search.s | 74 + tests/tcg/bfin/c_dsp32alu_sgn.s | 39 + tests/tcg/bfin/c_dsp32mac_a1a0.s | 255 ++ tests/tcg/bfin/c_dsp32mac_pair_a0.s | 129 + tests/tcg/bfin/c_dsp32mac_pair_a0_i.s | 247 ++ tests/tcg/bfin/c_dsp32mac_pair_a0_m.s | 129 + tests/tcg/bfin/c_dsp32mac_pair_a1.s | 127 + tests/tcg/bfin/c_dsp32mac_pair_a1_i.s | 243 ++ tests/tcg/bfin/c_dsp32mac_pair_a1_m.s | 127 + tests/tcg/bfin/c_dsp32mult_pair_m.s | 178 + tests/tcg/bfin/c_dsp32mult_pair_m_i.s | 178 + tests/tcg/bfin/c_dsp32mult_pair_m_u.s | 178 + tests/tcg/bfin/c_dsp32shift_a0alr.s | 77 + tests/tcg/bfin/c_dsp32shift_af.s | 186 ++ tests/tcg/bfin/c_dsp32shift_ahalf_ln.s | 423 +++ tests/tcg/bfin/c_dsp32shift_ahalf_lp.s | 423 +++ tests/tcg/bfin/c_dsp32shift_ahalf_rn.s | 423 +++ tests/tcg/bfin/c_dsp32shift_ahalf_rn_s.s | 424 +++ tests/tcg/bfin/c_dsp32shift_ahalf_rp.s | 423 +++ tests/tcg/bfin/c_dsp32shift_ahalf_rp_s.s | 423 +++ tests/tcg/bfin/c_dsp32shift_align16.s | 210 ++ tests/tcg/bfin/c_dsp32shift_align24.s | 210 ++ tests/tcg/bfin/c_dsp32shift_align8.s | 210 ++ tests/tcg/bfin/c_dsp32shift_fdepx.s | 210 ++ tests/tcg/bfin/c_dsp32shift_fextx.s | 210 ++ tests/tcg/bfin/c_dsp32shift_lf.s | 422 +++ tests/tcg/bfin/c_dsp32shift_lhalf_ln.s | 422 +++ tests/tcg/bfin/c_dsp32shift_lhalf_lp.s | 422 +++ tests/tcg/bfin/c_dsp32shift_lhalf_rn.s | 425 +++ tests/tcg/bfin/c_dsp32shift_lhalf_rp.s | 423 +++ tests/tcg/bfin/c_dsp32shift_ones.s | 214 ++ tests/tcg/bfin/c_dsp32shift_pack.s | 411 +++ tests/tcg/bfin/c_dsp32shift_rot.s | 427 +++ tests/tcg/bfin/c_dsp32shift_rot_mix.s | 375 +++ tests/tcg/bfin/c_dsp32shift_signbits_r.s | 214 ++ tests/tcg/bfin/c_dsp32shift_signbits_rh.s | 214 ++ tests/tcg/bfin/c_dsp32shift_signbits_rl.s | 210 ++ tests/tcg/bfin/c_dsp32shift_vmax.s | 113 + tests/tcg/bfin/c_dsp32shift_vmaxvmax.s | 113 + tests/tcg/bfin/c_dsp32shiftim_a0alr.s | 213 ++ tests/tcg/bfin/c_dsp32shiftim_af.s | 63 + tests/tcg/bfin/c_dsp32shiftim_af_s.s | 37 + tests/tcg/bfin/c_dsp32shiftim_ahalf_ln.s | 406 +++ tests/tcg/bfin/c_dsp32shiftim_ahalf_lp.s | 418 +++ tests/tcg/bfin/c_dsp32shiftim_ahalf_rn.s | 418 +++ tests/tcg/bfin/c_dsp32shiftim_ahalf_rn_s.s | 418 +++ tests/tcg/bfin/c_dsp32shiftim_ahalf_rp.s | 420 +++ tests/tcg/bfin/c_dsp32shiftim_ahalf_rp_s.s | 422 +++ tests/tcg/bfin/c_dsp32shiftim_ahh.s | 65 + tests/tcg/bfin/c_dsp32shiftim_amix.s | 124 + tests/tcg/bfin/c_dsp32shiftim_lf.s | 63 + tests/tcg/bfin/c_dsp32shiftim_lhalf_ln.s | 401 +++ tests/tcg/bfin/c_dsp32shiftim_lhalf_lp.s | 418 +++ tests/tcg/bfin/c_dsp32shiftim_lhalf_rn.s | 424 +++ tests/tcg/bfin/c_dsp32shiftim_lhalf_rp.s | 421 +++ tests/tcg/bfin/c_dsp32shiftim_lhh.s | 65 + tests/tcg/bfin/c_dsp32shiftim_lmix.s | 138 + tests/tcg/bfin/c_dsp32shiftim_rot.s | 62 + tests/tcg/bfin/c_dspldst_ld_dr_i.s | 168 + tests/tcg/bfin/c_dspldst_ld_dr_ipp.s | 348 ++ tests/tcg/bfin/c_dspldst_ld_dr_ippm.s | 328 ++ tests/tcg/bfin/c_dspldst_ld_drhi_i.s | 168 + tests/tcg/bfin/c_dspldst_ld_drhi_ipp.s | 364 ++ tests/tcg/bfin/c_dspldst_ld_drlo_i.s | 164 + tests/tcg/bfin/c_dspldst_ld_drlo_ipp.s | 355 ++ tests/tcg/bfin/c_dspldst_st_dr_i.s | 185 ++ tests/tcg/bfin/c_dspldst_st_dr_ipp.s | 326 ++ tests/tcg/bfin/c_dspldst_st_dr_ippm.s | 279 ++ tests/tcg/bfin/c_dspldst_st_drhi_i.s | 161 + tests/tcg/bfin/c_dspldst_st_drhi_ipp.s | 355 ++ tests/tcg/bfin/c_dspldst_st_drlo_i.s | 163 + tests/tcg/bfin/c_dspldst_st_drlo_ipp.s | 351 ++ tests/tcg/bfin/c_ldimmhalf_dreg.s | 60 + tests/tcg/bfin/c_ldimmhalf_drhi.s | 85 + tests/tcg/bfin/c_ldimmhalf_drlo.s | 89 + tests/tcg/bfin/c_ldimmhalf_h_dr.s | 82 + tests/tcg/bfin/c_ldimmhalf_h_ibml.s | 165 + tests/tcg/bfin/c_ldimmhalf_h_pr.s | 74 + tests/tcg/bfin/c_ldimmhalf_l_dr.s | 82 + tests/tcg/bfin/c_ldimmhalf_l_ibml.s | 165 + tests/tcg/bfin/c_ldimmhalf_l_pr.s | 76 + tests/tcg/bfin/c_ldimmhalf_lz_dr.s | 81 + tests/tcg/bfin/c_ldimmhalf_lz_ibml.s | 168 + tests/tcg/bfin/c_ldimmhalf_lz_pr.s | 72 + tests/tcg/bfin/c_ldimmhalf_lzhi_dr.s | 113 + tests/tcg/bfin/c_ldimmhalf_lzhi_ibml.s | 216 ++ tests/tcg/bfin/c_ldimmhalf_lzhi_pr.s | 102 + tests/tcg/bfin/c_ldimmhalf_pibml.s | 212 ++ tests/tcg/bfin/c_ldst_ld_d_p.s | 372 +++ tests/tcg/bfin/c_ldst_ld_d_p_b.s | 353 ++ tests/tcg/bfin/c_ldst_ld_d_p_h.s | 351 ++ tests/tcg/bfin/c_ldst_ld_d_p_mm.s | 417 +++ tests/tcg/bfin/c_ldst_ld_d_p_mm_b.s | 353 ++ tests/tcg/bfin/c_ldst_ld_d_p_mm_h.s | 330 ++ tests/tcg/bfin/c_ldst_ld_d_p_mm_xb.s | 341 ++ tests/tcg/bfin/c_ldst_ld_d_p_mm_xh.s | 355 ++ tests/tcg/bfin/c_ldst_ld_d_p_pp.s | 371 +++ tests/tcg/bfin/c_ldst_ld_d_p_pp_b.s | 324 ++ tests/tcg/bfin/c_ldst_ld_d_p_pp_h.s | 350 ++ tests/tcg/bfin/c_ldst_ld_d_p_pp_xb.s | 355 ++ tests/tcg/bfin/c_ldst_ld_d_p_pp_xh.s | 333 ++ tests/tcg/bfin/c_ldst_ld_d_p_ppmm_hbx.s | 656 ++++ tests/tcg/bfin/c_ldst_ld_d_p_xb.s | 326 ++ tests/tcg/bfin/c_ldst_ld_d_p_xh.s | 354 ++ tests/tcg/bfin/c_ldst_ld_p_p.s | 327 ++ tests/tcg/bfin/c_ldst_ld_p_p_mm.s | 406 +++ tests/tcg/bfin/c_ldst_ld_p_p_pp.s | 335 ++ tests/tcg/bfin/c_ldst_st_p_d.s | 299 ++ tests/tcg/bfin/c_ldst_st_p_d_b.s | 300 ++ tests/tcg/bfin/c_ldst_st_p_d_h.s | 280 ++ tests/tcg/bfin/c_ldst_st_p_d_mm.s | 601 ++++ tests/tcg/bfin/c_ldst_st_p_d_mm_b.s | 498 +++ tests/tcg/bfin/c_ldst_st_p_d_mm_h.s | 554 ++++ tests/tcg/bfin/c_ldst_st_p_d_pp.s | 804 +++++ tests/tcg/bfin/c_ldst_st_p_d_pp_b.s | 455 +++ tests/tcg/bfin/c_ldst_st_p_d_pp_h.s | 457 +++ tests/tcg/bfin/c_ldst_st_p_p.s | 128 + tests/tcg/bfin/c_ldst_st_p_p_mm.s | 428 +++ tests/tcg/bfin/c_ldst_st_p_p_pp.s | 397 +++ tests/tcg/bfin/c_ldstidxl_ld_dr_b.s | 554 ++++ tests/tcg/bfin/c_ldstidxl_ld_dr_h.s | 595 ++++ tests/tcg/bfin/c_ldstidxl_ld_dr_xb.s | 594 ++++ tests/tcg/bfin/c_ldstidxl_ld_dr_xh.s | 595 ++++ tests/tcg/bfin/c_ldstidxl_ld_dreg.s | 554 ++++ tests/tcg/bfin/c_ldstidxl_ld_preg.s | 672 ++++ tests/tcg/bfin/c_ldstidxl_st_dr_b.s | 612 ++++ tests/tcg/bfin/c_ldstidxl_st_dr_h.s | 609 ++++ tests/tcg/bfin/c_ldstidxl_st_dreg.s | 780 +++++ tests/tcg/bfin/c_ldstidxl_st_preg.s | 709 ++++ tests/tcg/bfin/c_ldstii_ld_dr_h.s | 541 +++ tests/tcg/bfin/c_ldstii_ld_dr_xh.s | 541 +++ tests/tcg/bfin/c_ldstii_ld_dreg.s | 540 +++ tests/tcg/bfin/c_ldstii_ld_preg.s | 564 ++++ tests/tcg/bfin/c_ldstii_st_dr_h.s | 605 ++++ tests/tcg/bfin/c_ldstii_st_dreg.s | 640 ++++ tests/tcg/bfin/c_ldstii_st_preg.s | 603 ++++ tests/tcg/bfin/c_ldstiifp_ld_dreg.s | 528 +++ tests/tcg/bfin/c_ldstiifp_ld_preg.s | 511 +++ tests/tcg/bfin/c_ldstiifp_st_dreg.s | 641 ++++ tests/tcg/bfin/c_ldstiifp_st_preg.s | 618 ++++ tests/tcg/bfin/c_ldstpmod_ld_dr_hi.s | 411 +++ tests/tcg/bfin/c_ldstpmod_ld_dr_lo.s | 410 +++ tests/tcg/bfin/c_ldstpmod_ld_dreg.s | 462 +++ tests/tcg/bfin/c_ldstpmod_ld_h_xh.s | 458 +++ tests/tcg/bfin/c_ldstpmod_ld_lohi.s | 462 +++ tests/tcg/bfin/c_ldstpmod_st_dr_hi.s | 400 +++ tests/tcg/bfin/c_ldstpmod_st_dr_lo.s | 401 +++ tests/tcg/bfin/c_ldstpmod_st_dreg.s | 623 ++++ tests/tcg/bfin/c_ldstpmod_st_lohi.s | 625 ++++ tests/tcg/bfin/c_linkage.s | 60 + tests/tcg/bfin/c_logi2op_alshft_mix.s | 143 + tests/tcg/bfin/c_logi2op_arith_shft.s | 223 ++ tests/tcg/bfin/c_logi2op_bitclr.s | 92 + tests/tcg/bfin/c_logi2op_bitset.s | 92 + tests/tcg/bfin/c_logi2op_bittgl.s | 165 + tests/tcg/bfin/c_logi2op_bittst.s | 583 ++++ tests/tcg/bfin/c_logi2op_log_l_shft.s | 222 ++ tests/tcg/bfin/c_logi2op_log_l_shft_astat.S | 82 + tests/tcg/bfin/c_logi2op_log_r_shft.s | 222 ++ tests/tcg/bfin/c_logi2op_log_r_shft_astat.S | 82 + tests/tcg/bfin/c_logi2op_nbittst.s | 584 ++++ tests/tcg/bfin/c_loopsetup_nested.s | 166 + tests/tcg/bfin/c_loopsetup_nested_bot.s | 165 + tests/tcg/bfin/c_loopsetup_nested_prelc.s | 184 + tests/tcg/bfin/c_loopsetup_nested_top.s | 166 + tests/tcg/bfin/c_loopsetup_overlap.s | 167 + tests/tcg/bfin/c_loopsetup_preg_div2_lc0.s | 95 + tests/tcg/bfin/c_loopsetup_preg_div2_lc1.s | 94 + tests/tcg/bfin/c_loopsetup_preg_lc0.s | 95 + tests/tcg/bfin/c_loopsetup_preg_lc1.s | 93 + tests/tcg/bfin/c_loopsetup_prelc.s | 145 + tests/tcg/bfin/c_loopsetup_topbotcntr.s | 110 + tests/tcg/bfin/c_progctrl_call_pcpr.s | 63 + tests/tcg/bfin/c_progctrl_call_pr.s | 32 + tests/tcg/bfin/c_progctrl_jump_pcpr.s | 58 + tests/tcg/bfin/c_progctrl_jump_pr.s | 56 + tests/tcg/bfin/c_progctrl_nop.s | 55 + tests/tcg/bfin/c_progctrl_rts.s | 36 + tests/tcg/bfin/c_ptr2op_pr_neg_pr.s | 163 + tests/tcg/bfin/c_ptr2op_pr_sft_2_1.s | 162 + tests/tcg/bfin/c_ptr2op_pr_shadd_1_2.s | 167 + tests/tcg/bfin/c_pushpopmultiple_dp.s | 213 ++ tests/tcg/bfin/c_pushpopmultiple_dp_pair.s | 203 ++ tests/tcg/bfin/c_pushpopmultiple_dreg.s | 173 + tests/tcg/bfin/c_pushpopmultiple_preg.s | 83 + tests/tcg/bfin/c_regmv_acc_acc.s | 125 + tests/tcg/bfin/c_regmv_dag_lz_dep.s | 148 + tests/tcg/bfin/c_regmv_dr_acc_acc.s | 191 ++ tests/tcg/bfin/c_regmv_dr_dep_nostall.s | 245 ++ tests/tcg/bfin/c_regmv_dr_dr.s | 209 ++ tests/tcg/bfin/c_regmv_dr_imlb.s | 539 +++ tests/tcg/bfin/c_regmv_dr_pr.s | 107 + tests/tcg/bfin/c_regmv_imlb_dep_nostall.s | 664 ++++ tests/tcg/bfin/c_regmv_imlb_dep_stall.s | 335 ++ tests/tcg/bfin/c_regmv_imlb_dr.s | 313 ++ tests/tcg/bfin/c_regmv_imlb_imlb.s | 925 ++++++ tests/tcg/bfin/c_regmv_imlb_pr.s | 302 ++ tests/tcg/bfin/c_regmv_pr_dep_nostall.s | 280 ++ tests/tcg/bfin/c_regmv_pr_dep_stall.s | 237 ++ tests/tcg/bfin/c_regmv_pr_dr.s | 147 + tests/tcg/bfin/c_regmv_pr_imlb.s | 382 +++ tests/tcg/bfin/c_regmv_pr_pr.s | 95 + tests/tcg/bfin/c_ujump.s | 52 + tests/tcg/bfin/cc-astat-bits.s | 101 + tests/tcg/bfin/cc1.s | 26 + tests/tcg/bfin/cir.s | 20 + tests/tcg/bfin/cir1.s | 84 + tests/tcg/bfin/cmpdreg.S | 40 + tests/tcg/bfin/compare.s | 15 + tests/tcg/bfin/d0.s | 31 + tests/tcg/bfin/d1.s | 17 + tests/tcg/bfin/d2.s | 56 + tests/tcg/bfin/div0.s | 37 + tests/tcg/bfin/divq.s | 1322 ++++++++ tests/tcg/bfin/dotproduct.s | 304 ++ tests/tcg/bfin/dotproduct2.s | 299 ++ tests/tcg/bfin/dsp_d0.s | 31 + tests/tcg/bfin/dsp_d1.s | 117 + tests/tcg/bfin/edn_snafu.s | 45 + tests/tcg/bfin/events.s | 44 + tests/tcg/bfin/fact.s | 47 + tests/tcg/bfin/fsm.s | 57 + tests/tcg/bfin/greg2.s | 18 + tests/tcg/bfin/hwloop-branch-in.s | 99 + tests/tcg/bfin/hwloop-branch-out.s | 129 + tests/tcg/bfin/hwloop-lt-bits.s | 25 + tests/tcg/bfin/hwloop-nested.s | 33 + tests/tcg/bfin/i0.s | 57 + tests/tcg/bfin/issue113.s | 18 + tests/tcg/bfin/issue126.s | 19 + tests/tcg/bfin/issue129.s | 36 + tests/tcg/bfin/issue144.s | 31 + tests/tcg/bfin/issue83.s | 93 + tests/tcg/bfin/issue89.s | 30 + tests/tcg/bfin/l0.s | 137 + tests/tcg/bfin/l0shift.s | 13 + tests/tcg/bfin/l2_loop.s | 28 + tests/tcg/bfin/link-2.s | 24 + tests/tcg/bfin/link.s | 67 + tests/tcg/bfin/load.s | 239 ++ tests/tcg/bfin/logic.s | 64 + tests/tcg/bfin/loop_snafu.s | 28 + tests/tcg/bfin/loop_strncpy.s | 76 + tests/tcg/bfin/lp0.s | 17 + tests/tcg/bfin/lp1.s | 16 + tests/tcg/bfin/lsetup.s | 109 + tests/tcg/bfin/m0boundary.s | 46 + tests/tcg/bfin/m17.s | 74 + tests/tcg/bfin/max_min_flags.s | 275 ++ tests/tcg/bfin/mem3.s | 42 + tests/tcg/bfin/move.s | 36 + tests/tcg/bfin/neg.S | 42 + tests/tcg/bfin/nshift.s | 33 + tests/tcg/bfin/pr.s | 81 + tests/tcg/bfin/push-pop-multiple.s | 169 + tests/tcg/bfin/push-pop.s | 78 + tests/tcg/bfin/pushpopreg_1.s | 292 ++ tests/tcg/bfin/s0.s | 12 + tests/tcg/bfin/s1.s | 25 + tests/tcg/bfin/s10.s | 77 + tests/tcg/bfin/s15.s | 149 + tests/tcg/bfin/s16.s | 170 + tests/tcg/bfin/s17.s | 46 + tests/tcg/bfin/s2.s | 47 + tests/tcg/bfin/s20.s | 25 + tests/tcg/bfin/s21.s | 298 ++ tests/tcg/bfin/s4.s | 214 ++ tests/tcg/bfin/s5.s | 107 + tests/tcg/bfin/s6.s | 83 + tests/tcg/bfin/s7.s | 83 + tests/tcg/bfin/s8.s | 55 + tests/tcg/bfin/s9.s | 134 + tests/tcg/bfin/se_kills2.S | 148 + tests/tcg/bfin/se_rets_hazard.s | 55 + tests/tcg/bfin/sign.s | 27 + tests/tcg/bfin/simple0.s | 10 + tests/tcg/bfin/stk.s | 78 + tests/tcg/bfin/stk2.s | 107 + tests/tcg/bfin/stk3.s | 106 + tests/tcg/bfin/stk4.s | 110 + tests/tcg/bfin/stk5.s | 34 + tests/tcg/bfin/stk6.s | 58 + tests/tcg/bfin/tar10622.s | 20 + tests/tcg/bfin/test.h | 134 + tests/tcg/bfin/testset.s | 73 + tests/tcg/bfin/testset2.s | 37 + tests/tcg/bfin/testutils.inc | 258 ++ tests/tcg/bfin/vec-abs.S | 42 + tests/tcg/bfin/vecadd.s | 65 + tests/tcg/bfin/vit_max.s | 57 + tests/tcg/bfin/wtf.s | 26 + tests/tcg/bfin/zcall.s | 44 + 460 files changed, 101757 insertions(+), 8 deletions(-) create mode 100644 default-configs/bfin-linux-user.mak create mode 100644 disas/bfin.c create mode 100644 linux-user/bfin/syscall.h create mode 100644 linux-user/bfin/syscall_nr.h create mode 100644 linux-user/bfin/target_flat.h create mode 100644 linux-user/bfin/target_sigcontext.h create mode 100644 linux-user/bfin/target_signal.h create mode 100644 linux-user/bfin/termbits.h create mode 100644 linux-user/target_ucontext.h create mode 100644 target-bfin/Makefile.objs create mode 100644 target-bfin/README create mode 100644 target-bfin/TODO create mode 100644 target-bfin/bfin-sim.c create mode 100644 target-bfin/bfin-tdep.h create mode 100644 target-bfin/cpu-qom.h create mode 100644 target-bfin/cpu.c create mode 100644 target-bfin/cpu.h create mode 100644 target-bfin/helper.c create mode 100644 target-bfin/helper.h create mode 100644 target-bfin/linux-fixed-code.h create mode 100644 target-bfin/op_helper.c create mode 100644 target-bfin/opcode/bfin.h create mode 100644 target-bfin/translate.c create mode 100644 tests/tcg/bfin/.gitignore create mode 100644 tests/tcg/bfin/10272_small.s create mode 100644 tests/tcg/bfin/10436.s create mode 100644 tests/tcg/bfin/10622.s create mode 100644 tests/tcg/bfin/10742.s create mode 100644 tests/tcg/bfin/10799.s create mode 100644 tests/tcg/bfin/7641.s create mode 100644 tests/tcg/bfin/Makefile create mode 100644 tests/tcg/bfin/a0.s create mode 100644 tests/tcg/bfin/a1.s create mode 100644 tests/tcg/bfin/a10.s create mode 100644 tests/tcg/bfin/a2.s create mode 100644 tests/tcg/bfin/a24.s create mode 100644 tests/tcg/bfin/a25.s create mode 100644 tests/tcg/bfin/a26.s create mode 100644 tests/tcg/bfin/a3.s create mode 100644 tests/tcg/bfin/a4.s create mode 100644 tests/tcg/bfin/a7.s create mode 100644 tests/tcg/bfin/a8.s create mode 100644 tests/tcg/bfin/a9.s create mode 100644 tests/tcg/bfin/abs-2.S create mode 100644 tests/tcg/bfin/abs-3.S create mode 100644 tests/tcg/bfin/abs.S create mode 100644 tests/tcg/bfin/acc-rot.s create mode 100644 tests/tcg/bfin/acp5_19.s create mode 100644 tests/tcg/bfin/add_imm7.s create mode 100644 tests/tcg/bfin/algnbug1.s create mode 100644 tests/tcg/bfin/algnbug2.s create mode 100644 tests/tcg/bfin/b0.S create mode 100644 tests/tcg/bfin/b1.s create mode 100644 tests/tcg/bfin/b2.S create mode 100644 tests/tcg/bfin/brcc.s create mode 100644 tests/tcg/bfin/brevadd.s create mode 100644 tests/tcg/bfin/byteunpack.s create mode 100644 tests/tcg/bfin/c_alu2op_arith_r_sft.s create mode 100644 tests/tcg/bfin/c_alu2op_conv_b.s create mode 100644 tests/tcg/bfin/c_alu2op_conv_h.s create mode 100644 tests/tcg/bfin/c_alu2op_conv_mix.s create mode 100644 tests/tcg/bfin/c_alu2op_conv_neg.s create mode 100644 tests/tcg/bfin/c_alu2op_conv_toggle.s create mode 100644 tests/tcg/bfin/c_alu2op_conv_xb.s create mode 100644 tests/tcg/bfin/c_alu2op_conv_xh.s create mode 100644 tests/tcg/bfin/c_alu2op_divq.s create mode 100644 tests/tcg/bfin/c_alu2op_divs.s create mode 100644 tests/tcg/bfin/c_alu2op_log_l_sft.s create mode 100644 tests/tcg/bfin/c_alu2op_log_r_sft.s create mode 100644 tests/tcg/bfin/c_alu2op_shadd_1.s create mode 100644 tests/tcg/bfin/c_alu2op_shadd_2.s create mode 100644 tests/tcg/bfin/c_br_preg_killed_ac.s create mode 100644 tests/tcg/bfin/c_br_preg_killed_ex1.s create mode 100644 tests/tcg/bfin/c_br_preg_stall_ac.s create mode 100644 tests/tcg/bfin/c_br_preg_stall_ex1.s create mode 100644 tests/tcg/bfin/c_brcc_bp1.s create mode 100644 tests/tcg/bfin/c_brcc_bp2.s create mode 100644 tests/tcg/bfin/c_brcc_bp3.s create mode 100644 tests/tcg/bfin/c_brcc_bp4.s create mode 100644 tests/tcg/bfin/c_brcc_brf_bp.s create mode 100644 tests/tcg/bfin/c_brcc_brf_brt_bp.s create mode 100644 tests/tcg/bfin/c_brcc_brf_brt_nbp.s create mode 100644 tests/tcg/bfin/c_brcc_brf_fbkwd.s create mode 100644 tests/tcg/bfin/c_brcc_brf_nbp.s create mode 100644 tests/tcg/bfin/c_brcc_brt_bp.s create mode 100644 tests/tcg/bfin/c_brcc_brt_nbp.s create mode 100644 tests/tcg/bfin/c_calla_ljump.s create mode 100644 tests/tcg/bfin/c_calla_subr.s create mode 100644 tests/tcg/bfin/c_cc2dreg.s create mode 100644 tests/tcg/bfin/c_cc2stat_cc_ac.S create mode 100644 tests/tcg/bfin/c_cc2stat_cc_an.s create mode 100644 tests/tcg/bfin/c_cc2stat_cc_aq.s create mode 100644 tests/tcg/bfin/c_cc2stat_cc_av0.S create mode 100644 tests/tcg/bfin/c_cc2stat_cc_av1.S create mode 100644 tests/tcg/bfin/c_cc2stat_cc_az.s create mode 100644 tests/tcg/bfin/c_cc_flag_ccmv_depend.S create mode 100644 tests/tcg/bfin/c_cc_flagdreg_mvbrsft.s create mode 100644 tests/tcg/bfin/c_cc_regmvlogi_mvbrsft.s create mode 100644 tests/tcg/bfin/c_ccflag_dr_dr.s create mode 100644 tests/tcg/bfin/c_ccflag_dr_dr_uu.s create mode 100644 tests/tcg/bfin/c_ccflag_dr_imm3.s create mode 100644 tests/tcg/bfin/c_ccflag_dr_imm3_uu.s create mode 100644 tests/tcg/bfin/c_ccflag_pr_imm3.s create mode 100644 tests/tcg/bfin/c_ccflag_pr_imm3_uu.s create mode 100644 tests/tcg/bfin/c_ccflag_pr_pr.s create mode 100644 tests/tcg/bfin/c_ccflag_pr_pr_uu.s create mode 100644 tests/tcg/bfin/c_ccmv_cc_dr_dr.s create mode 100644 tests/tcg/bfin/c_ccmv_cc_dr_pr.s create mode 100644 tests/tcg/bfin/c_ccmv_cc_pr_pr.s create mode 100644 tests/tcg/bfin/c_ccmv_ncc_dr_dr.s create mode 100644 tests/tcg/bfin/c_ccmv_ncc_dr_pr.s create mode 100644 tests/tcg/bfin/c_ccmv_ncc_pr_pr.s create mode 100644 tests/tcg/bfin/c_comp3op_dr_and_dr.s create mode 100644 tests/tcg/bfin/c_comp3op_dr_minus_dr.s create mode 100644 tests/tcg/bfin/c_comp3op_dr_mix.s create mode 100644 tests/tcg/bfin/c_comp3op_dr_or_dr.s create mode 100644 tests/tcg/bfin/c_comp3op_dr_plus_dr.s create mode 100644 tests/tcg/bfin/c_comp3op_dr_xor_dr.s create mode 100644 tests/tcg/bfin/c_comp3op_pr_plus_pr_sh1.s create mode 100644 tests/tcg/bfin/c_comp3op_pr_plus_pr_sh2.s create mode 100644 tests/tcg/bfin/c_compi2opd_dr_add_i7_n.s create mode 100644 tests/tcg/bfin/c_compi2opd_dr_add_i7_p.s create mode 100644 tests/tcg/bfin/c_compi2opd_dr_eq_i7_n.s create mode 100644 tests/tcg/bfin/c_compi2opd_dr_eq_i7_p.s create mode 100644 tests/tcg/bfin/c_compi2opd_flags.S create mode 100644 tests/tcg/bfin/c_compi2opd_flags_2.S create mode 100644 tests/tcg/bfin/c_compi2opp_pr_add_i7_n.s create mode 100644 tests/tcg/bfin/c_compi2opp_pr_add_i7_p.s create mode 100644 tests/tcg/bfin/c_compi2opp_pr_eq_i7_n.s create mode 100644 tests/tcg/bfin/c_compi2opp_pr_eq_i7_p.s create mode 100644 tests/tcg/bfin/c_dagmodik_lnz_imgebl.s create mode 100644 tests/tcg/bfin/c_dagmodik_lnz_imltbl.s create mode 100644 tests/tcg/bfin/c_dagmodik_lz_inc_dec.s create mode 100644 tests/tcg/bfin/c_dagmodim_lnz_imgebl.s create mode 100644 tests/tcg/bfin/c_dagmodim_lnz_imltbl.s create mode 100644 tests/tcg/bfin/c_dagmodim_lz_inc_dec.s create mode 100644 tests/tcg/bfin/c_dsp32alu_a_neg_a.s create mode 100644 tests/tcg/bfin/c_dsp32alu_aa_absabs.s create mode 100644 tests/tcg/bfin/c_dsp32alu_aa_negneg.s create mode 100644 tests/tcg/bfin/c_dsp32alu_abs.s create mode 100644 tests/tcg/bfin/c_dsp32alu_absabs.s create mode 100644 tests/tcg/bfin/c_dsp32alu_awx.s create mode 100644 tests/tcg/bfin/c_dsp32alu_bytepack.s create mode 100644 tests/tcg/bfin/c_dsp32alu_byteunpack.s create mode 100644 tests/tcg/bfin/c_dsp32alu_disalnexcpt.s create mode 100644 tests/tcg/bfin/c_dsp32alu_max.s create mode 100644 tests/tcg/bfin/c_dsp32alu_maxmax.s create mode 100644 tests/tcg/bfin/c_dsp32alu_min.s create mode 100644 tests/tcg/bfin/c_dsp32alu_minmin.s create mode 100644 tests/tcg/bfin/c_dsp32alu_rr_lph_a1a0.s create mode 100644 tests/tcg/bfin/c_dsp32alu_search.s create mode 100644 tests/tcg/bfin/c_dsp32alu_sgn.s create mode 100644 tests/tcg/bfin/c_dsp32mac_a1a0.s create mode 100644 tests/tcg/bfin/c_dsp32mac_pair_a0.s create mode 100644 tests/tcg/bfin/c_dsp32mac_pair_a0_i.s create mode 100644 tests/tcg/bfin/c_dsp32mac_pair_a0_m.s create mode 100644 tests/tcg/bfin/c_dsp32mac_pair_a1.s create mode 100644 tests/tcg/bfin/c_dsp32mac_pair_a1_i.s create mode 100644 tests/tcg/bfin/c_dsp32mac_pair_a1_m.s create mode 100644 tests/tcg/bfin/c_dsp32mult_pair_m.s create mode 100644 tests/tcg/bfin/c_dsp32mult_pair_m_i.s create mode 100644 tests/tcg/bfin/c_dsp32mult_pair_m_u.s create mode 100644 tests/tcg/bfin/c_dsp32shift_a0alr.s create mode 100644 tests/tcg/bfin/c_dsp32shift_af.s create mode 100644 tests/tcg/bfin/c_dsp32shift_ahalf_ln.s create mode 100644 tests/tcg/bfin/c_dsp32shift_ahalf_lp.s create mode 100644 tests/tcg/bfin/c_dsp32shift_ahalf_rn.s create mode 100644 tests/tcg/bfin/c_dsp32shift_ahalf_rn_s.s create mode 100644 tests/tcg/bfin/c_dsp32shift_ahalf_rp.s create mode 100644 tests/tcg/bfin/c_dsp32shift_ahalf_rp_s.s create mode 100644 tests/tcg/bfin/c_dsp32shift_align16.s create mode 100644 tests/tcg/bfin/c_dsp32shift_align24.s create mode 100644 tests/tcg/bfin/c_dsp32shift_align8.s create mode 100644 tests/tcg/bfin/c_dsp32shift_fdepx.s create mode 100644 tests/tcg/bfin/c_dsp32shift_fextx.s create mode 100644 tests/tcg/bfin/c_dsp32shift_lf.s create mode 100644 tests/tcg/bfin/c_dsp32shift_lhalf_ln.s create mode 100644 tests/tcg/bfin/c_dsp32shift_lhalf_lp.s create mode 100644 tests/tcg/bfin/c_dsp32shift_lhalf_rn.s create mode 100644 tests/tcg/bfin/c_dsp32shift_lhalf_rp.s create mode 100644 tests/tcg/bfin/c_dsp32shift_ones.s create mode 100644 tests/tcg/bfin/c_dsp32shift_pack.s create mode 100644 tests/tcg/bfin/c_dsp32shift_rot.s create mode 100644 tests/tcg/bfin/c_dsp32shift_rot_mix.s create mode 100644 tests/tcg/bfin/c_dsp32shift_signbits_r.s create mode 100644 tests/tcg/bfin/c_dsp32shift_signbits_rh.s create mode 100644 tests/tcg/bfin/c_dsp32shift_signbits_rl.s create mode 100644 tests/tcg/bfin/c_dsp32shift_vmax.s create mode 100644 tests/tcg/bfin/c_dsp32shift_vmaxvmax.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_a0alr.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_af.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_af_s.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_ahalf_ln.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_ahalf_lp.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_ahalf_rn.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_ahalf_rn_s.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_ahalf_rp.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_ahalf_rp_s.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_ahh.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_amix.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_lf.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_lhalf_ln.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_lhalf_lp.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_lhalf_rn.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_lhalf_rp.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_lhh.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_lmix.s create mode 100644 tests/tcg/bfin/c_dsp32shiftim_rot.s create mode 100644 tests/tcg/bfin/c_dspldst_ld_dr_i.s create mode 100644 tests/tcg/bfin/c_dspldst_ld_dr_ipp.s create mode 100644 tests/tcg/bfin/c_dspldst_ld_dr_ippm.s create mode 100644 tests/tcg/bfin/c_dspldst_ld_drhi_i.s create mode 100644 tests/tcg/bfin/c_dspldst_ld_drhi_ipp.s create mode 100644 tests/tcg/bfin/c_dspldst_ld_drlo_i.s create mode 100644 tests/tcg/bfin/c_dspldst_ld_drlo_ipp.s create mode 100644 tests/tcg/bfin/c_dspldst_st_dr_i.s create mode 100644 tests/tcg/bfin/c_dspldst_st_dr_ipp.s create mode 100644 tests/tcg/bfin/c_dspldst_st_dr_ippm.s create mode 100644 tests/tcg/bfin/c_dspldst_st_drhi_i.s create mode 100644 tests/tcg/bfin/c_dspldst_st_drhi_ipp.s create mode 100644 tests/tcg/bfin/c_dspldst_st_drlo_i.s create mode 100644 tests/tcg/bfin/c_dspldst_st_drlo_ipp.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_dreg.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_drhi.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_drlo.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_h_dr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_h_ibml.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_h_pr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_l_dr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_l_ibml.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_l_pr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_lz_dr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_lz_ibml.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_lz_pr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_lzhi_dr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_lzhi_ibml.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_lzhi_pr.s create mode 100644 tests/tcg/bfin/c_ldimmhalf_pibml.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_b.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_h.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_mm.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_mm_b.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_mm_h.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_mm_xb.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_mm_xh.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_pp.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_pp_b.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_pp_h.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_pp_xb.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_pp_xh.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_ppmm_hbx.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_xb.s create mode 100644 tests/tcg/bfin/c_ldst_ld_d_p_xh.s create mode 100644 tests/tcg/bfin/c_ldst_ld_p_p.s create mode 100644 tests/tcg/bfin/c_ldst_ld_p_p_mm.s create mode 100644 tests/tcg/bfin/c_ldst_ld_p_p_pp.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_b.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_h.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_mm.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_mm_b.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_mm_h.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_pp.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_pp_b.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_d_pp_h.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_p.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_p_mm.s create mode 100644 tests/tcg/bfin/c_ldst_st_p_p_pp.s create mode 100644 tests/tcg/bfin/c_ldstidxl_ld_dr_b.s create mode 100644 tests/tcg/bfin/c_ldstidxl_ld_dr_h.s create mode 100644 tests/tcg/bfin/c_ldstidxl_ld_dr_xb.s create mode 100644 tests/tcg/bfin/c_ldstidxl_ld_dr_xh.s create mode 100644 tests/tcg/bfin/c_ldstidxl_ld_dreg.s create mode 100644 tests/tcg/bfin/c_ldstidxl_ld_preg.s create mode 100644 tests/tcg/bfin/c_ldstidxl_st_dr_b.s create mode 100644 tests/tcg/bfin/c_ldstidxl_st_dr_h.s create mode 100644 tests/tcg/bfin/c_ldstidxl_st_dreg.s create mode 100644 tests/tcg/bfin/c_ldstidxl_st_preg.s create mode 100644 tests/tcg/bfin/c_ldstii_ld_dr_h.s create mode 100644 tests/tcg/bfin/c_ldstii_ld_dr_xh.s create mode 100644 tests/tcg/bfin/c_ldstii_ld_dreg.s create mode 100644 tests/tcg/bfin/c_ldstii_ld_preg.s create mode 100644 tests/tcg/bfin/c_ldstii_st_dr_h.s create mode 100644 tests/tcg/bfin/c_ldstii_st_dreg.s create mode 100644 tests/tcg/bfin/c_ldstii_st_preg.s create mode 100644 tests/tcg/bfin/c_ldstiifp_ld_dreg.s create mode 100644 tests/tcg/bfin/c_ldstiifp_ld_preg.s create mode 100644 tests/tcg/bfin/c_ldstiifp_st_dreg.s create mode 100644 tests/tcg/bfin/c_ldstiifp_st_preg.s create mode 100644 tests/tcg/bfin/c_ldstpmod_ld_dr_hi.s create mode 100644 tests/tcg/bfin/c_ldstpmod_ld_dr_lo.s create mode 100644 tests/tcg/bfin/c_ldstpmod_ld_dreg.s create mode 100644 tests/tcg/bfin/c_ldstpmod_ld_h_xh.s create mode 100644 tests/tcg/bfin/c_ldstpmod_ld_lohi.s create mode 100644 tests/tcg/bfin/c_ldstpmod_st_dr_hi.s create mode 100644 tests/tcg/bfin/c_ldstpmod_st_dr_lo.s create mode 100644 tests/tcg/bfin/c_ldstpmod_st_dreg.s create mode 100644 tests/tcg/bfin/c_ldstpmod_st_lohi.s create mode 100644 tests/tcg/bfin/c_linkage.s create mode 100644 tests/tcg/bfin/c_logi2op_alshft_mix.s create mode 100644 tests/tcg/bfin/c_logi2op_arith_shft.s create mode 100644 tests/tcg/bfin/c_logi2op_bitclr.s create mode 100644 tests/tcg/bfin/c_logi2op_bitset.s create mode 100644 tests/tcg/bfin/c_logi2op_bittgl.s create mode 100644 tests/tcg/bfin/c_logi2op_bittst.s create mode 100644 tests/tcg/bfin/c_logi2op_log_l_shft.s create mode 100644 tests/tcg/bfin/c_logi2op_log_l_shft_astat.S create mode 100644 tests/tcg/bfin/c_logi2op_log_r_shft.s create mode 100644 tests/tcg/bfin/c_logi2op_log_r_shft_astat.S create mode 100644 tests/tcg/bfin/c_logi2op_nbittst.s create mode 100644 tests/tcg/bfin/c_loopsetup_nested.s create mode 100644 tests/tcg/bfin/c_loopsetup_nested_bot.s create mode 100644 tests/tcg/bfin/c_loopsetup_nested_prelc.s create mode 100644 tests/tcg/bfin/c_loopsetup_nested_top.s create mode 100644 tests/tcg/bfin/c_loopsetup_overlap.s create mode 100644 tests/tcg/bfin/c_loopsetup_preg_div2_lc0.s create mode 100644 tests/tcg/bfin/c_loopsetup_preg_div2_lc1.s create mode 100644 tests/tcg/bfin/c_loopsetup_preg_lc0.s create mode 100644 tests/tcg/bfin/c_loopsetup_preg_lc1.s create mode 100644 tests/tcg/bfin/c_loopsetup_prelc.s create mode 100644 tests/tcg/bfin/c_loopsetup_topbotcntr.s create mode 100644 tests/tcg/bfin/c_progctrl_call_pcpr.s create mode 100644 tests/tcg/bfin/c_progctrl_call_pr.s create mode 100644 tests/tcg/bfin/c_progctrl_jump_pcpr.s create mode 100644 tests/tcg/bfin/c_progctrl_jump_pr.s create mode 100644 tests/tcg/bfin/c_progctrl_nop.s create mode 100644 tests/tcg/bfin/c_progctrl_rts.s create mode 100644 tests/tcg/bfin/c_ptr2op_pr_neg_pr.s create mode 100644 tests/tcg/bfin/c_ptr2op_pr_sft_2_1.s create mode 100644 tests/tcg/bfin/c_ptr2op_pr_shadd_1_2.s create mode 100644 tests/tcg/bfin/c_pushpopmultiple_dp.s create mode 100644 tests/tcg/bfin/c_pushpopmultiple_dp_pair.s create mode 100644 tests/tcg/bfin/c_pushpopmultiple_dreg.s create mode 100644 tests/tcg/bfin/c_pushpopmultiple_preg.s create mode 100644 tests/tcg/bfin/c_regmv_acc_acc.s create mode 100644 tests/tcg/bfin/c_regmv_dag_lz_dep.s create mode 100644 tests/tcg/bfin/c_regmv_dr_acc_acc.s create mode 100644 tests/tcg/bfin/c_regmv_dr_dep_nostall.s create mode 100644 tests/tcg/bfin/c_regmv_dr_dr.s create mode 100644 tests/tcg/bfin/c_regmv_dr_imlb.s create mode 100644 tests/tcg/bfin/c_regmv_dr_pr.s create mode 100644 tests/tcg/bfin/c_regmv_imlb_dep_nostall.s create mode 100644 tests/tcg/bfin/c_regmv_imlb_dep_stall.s create mode 100644 tests/tcg/bfin/c_regmv_imlb_dr.s create mode 100644 tests/tcg/bfin/c_regmv_imlb_imlb.s create mode 100644 tests/tcg/bfin/c_regmv_imlb_pr.s create mode 100644 tests/tcg/bfin/c_regmv_pr_dep_nostall.s create mode 100644 tests/tcg/bfin/c_regmv_pr_dep_stall.s create mode 100644 tests/tcg/bfin/c_regmv_pr_dr.s create mode 100644 tests/tcg/bfin/c_regmv_pr_imlb.s create mode 100644 tests/tcg/bfin/c_regmv_pr_pr.s create mode 100644 tests/tcg/bfin/c_ujump.s create mode 100644 tests/tcg/bfin/cc-astat-bits.s create mode 100644 tests/tcg/bfin/cc1.s create mode 100644 tests/tcg/bfin/cir.s create mode 100644 tests/tcg/bfin/cir1.s create mode 100644 tests/tcg/bfin/cmpdreg.S create mode 100644 tests/tcg/bfin/compare.s create mode 100644 tests/tcg/bfin/d0.s create mode 100644 tests/tcg/bfin/d1.s create mode 100644 tests/tcg/bfin/d2.s create mode 100644 tests/tcg/bfin/div0.s create mode 100644 tests/tcg/bfin/divq.s create mode 100644 tests/tcg/bfin/dotproduct.s create mode 100644 tests/tcg/bfin/dotproduct2.s create mode 100644 tests/tcg/bfin/dsp_d0.s create mode 100644 tests/tcg/bfin/dsp_d1.s create mode 100644 tests/tcg/bfin/edn_snafu.s create mode 100644 tests/tcg/bfin/events.s create mode 100644 tests/tcg/bfin/fact.s create mode 100644 tests/tcg/bfin/fsm.s create mode 100644 tests/tcg/bfin/greg2.s create mode 100644 tests/tcg/bfin/hwloop-branch-in.s create mode 100644 tests/tcg/bfin/hwloop-branch-out.s create mode 100644 tests/tcg/bfin/hwloop-lt-bits.s create mode 100644 tests/tcg/bfin/hwloop-nested.s create mode 100644 tests/tcg/bfin/i0.s create mode 100644 tests/tcg/bfin/issue113.s create mode 100644 tests/tcg/bfin/issue126.s create mode 100644 tests/tcg/bfin/issue129.s create mode 100644 tests/tcg/bfin/issue144.s create mode 100644 tests/tcg/bfin/issue83.s create mode 100644 tests/tcg/bfin/issue89.s create mode 100644 tests/tcg/bfin/l0.s create mode 100644 tests/tcg/bfin/l0shift.s create mode 100644 tests/tcg/bfin/l2_loop.s create mode 100644 tests/tcg/bfin/link-2.s create mode 100644 tests/tcg/bfin/link.s create mode 100644 tests/tcg/bfin/load.s create mode 100644 tests/tcg/bfin/logic.s create mode 100644 tests/tcg/bfin/loop_snafu.s create mode 100644 tests/tcg/bfin/loop_strncpy.s create mode 100644 tests/tcg/bfin/lp0.s create mode 100644 tests/tcg/bfin/lp1.s create mode 100644 tests/tcg/bfin/lsetup.s create mode 100644 tests/tcg/bfin/m0boundary.s create mode 100644 tests/tcg/bfin/m17.s create mode 100644 tests/tcg/bfin/max_min_flags.s create mode 100644 tests/tcg/bfin/mem3.s create mode 100644 tests/tcg/bfin/move.s create mode 100644 tests/tcg/bfin/neg.S create mode 100644 tests/tcg/bfin/nshift.s create mode 100644 tests/tcg/bfin/pr.s create mode 100644 tests/tcg/bfin/push-pop-multiple.s create mode 100644 tests/tcg/bfin/push-pop.s create mode 100644 tests/tcg/bfin/pushpopreg_1.s create mode 100644 tests/tcg/bfin/s0.s create mode 100644 tests/tcg/bfin/s1.s create mode 100644 tests/tcg/bfin/s10.s create mode 100644 tests/tcg/bfin/s15.s create mode 100644 tests/tcg/bfin/s16.s create mode 100644 tests/tcg/bfin/s17.s create mode 100644 tests/tcg/bfin/s2.s create mode 100644 tests/tcg/bfin/s20.s create mode 100644 tests/tcg/bfin/s21.s create mode 100644 tests/tcg/bfin/s4.s create mode 100644 tests/tcg/bfin/s5.s create mode 100644 tests/tcg/bfin/s6.s create mode 100644 tests/tcg/bfin/s7.s create mode 100644 tests/tcg/bfin/s8.s create mode 100644 tests/tcg/bfin/s9.s create mode 100644 tests/tcg/bfin/se_kills2.S create mode 100644 tests/tcg/bfin/se_rets_hazard.s create mode 100644 tests/tcg/bfin/sign.s create mode 100644 tests/tcg/bfin/simple0.s create mode 100644 tests/tcg/bfin/stk.s create mode 100644 tests/tcg/bfin/stk2.s create mode 100644 tests/tcg/bfin/stk3.s create mode 100644 tests/tcg/bfin/stk4.s create mode 100644 tests/tcg/bfin/stk5.s create mode 100644 tests/tcg/bfin/stk6.s create mode 100644 tests/tcg/bfin/tar10622.s create mode 100644 tests/tcg/bfin/test.h create mode 100644 tests/tcg/bfin/testset.s create mode 100644 tests/tcg/bfin/testset2.s create mode 100644 tests/tcg/bfin/testutils.inc create mode 100644 tests/tcg/bfin/vec-abs.S create mode 100644 tests/tcg/bfin/vecadd.s create mode 100644 tests/tcg/bfin/vit_max.s create mode 100644 tests/tcg/bfin/wtf.s create mode 100644 tests/tcg/bfin/zcall.s -- 1.8.2.1