1 # FRV assembler testsuite.
3 proc run_list_test { name opts } {
5 set testname "$name error test ($opts)"
6 gas_run $name.s $opts >&dump.out
7 if {[regexp_diff dump.out $srcdir/$subdir/$name.l]} {
9 verbose "output is [file_contents dump.out]" 2
15 if [istarget frv*-*-*] {
16 run_dump_test "allinsn"
19 run_dump_test "reloc1"
20 run_dump_test "fr405-insn"
21 run_list_test "fr405-insn" "-mcpu=fr400"
22 run_list_test "fr405-insn" "-mcpu=fr500"
24 run_dump_test "fr450-spr"
25 run_dump_test "fr450-insn"
26 run_list_test "fr450-insn" "-mcpu=fr405"
27 run_list_test "fr450-insn" "-mcpu=fr400"
28 run_list_test "fr450-insn" "-mcpu=fr500"
29 run_list_test "fr450-media-issue" "-mcpu=fr450"