xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/v850/allinsns.exp (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# v850 simulator testsuite.
2
3sim_init
4
5# All machines.
6# Should add more cpus if the testsuite adds coverage for their insns, but
7# at the core level, there's no deviation beyond these two.
8set all_machs "v850e3v5 v850e v850"
9
10# gas doesn't support any '=' option for v850.
11set cpu_option_sep ""
12set cpu_option -m
13
14# The .cgs suffix is for "cgen .s".
15foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
16    # If we're only testing specific files and this isn't one of them, skip it.
17    if ![runtest_file_p $runtests $src] {
18	continue
19    }
20    run_sim_test $src $all_machs
21}
22