S/390: Add support for new cpu architecture - arch12.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / s390 / s390.exp
CommitLineData
b6849f55
NC
1#
2# s390/s390x tests
3#
b6849f55
NC
4
5if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
6
70ecb384
NC
7 # s390x-ibm-tpf target does not support a 32-bit target.
8 if { ! [istarget "s390x-*-tpf*"] } then {
9 run_dump_test "esa-g5" "{as -m31}"
10 run_dump_test "esa-z900" "{as -m31} {as -march=z900}"
11 run_dump_test "esa-z990" "{as -m31} {as -march=z990}"
12 run_dump_test "esa-z9-109" "{as -m31} {as -march=z9-109}"
13 run_dump_test "esa-reloc" "{as -m31}"
14 run_dump_test "esa-operands" "{as -m31}"
15 }
b6849f55
NC
16
17# # PIC is only supported on ELF targets.
18# if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] ) } then {
19# run_dump_test "s390pic"
20# }
b6849f55 21
85d30304
MS
22 run_dump_test "zarch-z900" "{as -m64}"
23 run_dump_test "zarch-z990" "{as -m64} {as -march=z990}"
24 run_dump_test "zarch-z9-109" "{as -m64} {as -march=z9-109}"
a3dcb6c5 25 run_list_test "zarch-z9-109-err" "-march=z9-109"
b5639b37 26 run_dump_test "zarch-z9-ec" "{as -m64} {as -march=z9-ec}"
5746fb46 27 run_dump_test "zarch-z10" "{as -m64} {as -march=z10}"
d9aee5d7 28 run_dump_test "zarch-z196" "{as -m64} {as -march=z196}"
cfc72779 29 run_dump_test "zarch-zEC12" "{as -m64} {as -march=zEC12}"
1e2e8c52 30 run_dump_test "zarch-z13" "{as -m64} {as -march=z13}"
64025b4e 31 run_dump_test "zarch-arch12" "{as -m64} {as -march=arch12}"
85d30304
MS
32 run_dump_test "zarch-reloc" "{as -m64}"
33 run_dump_test "zarch-operands" "{as -m64} {as -march=z9-109}"
902cc293 34 run_dump_test "zarch-machine" "{as -m64} {as -march=z900}"
7ecc513a
DV
35 run_list_test "machine-parsing-1" ""
36 run_list_test "machine-parsing-2" ""
37 run_list_test "machine-parsing-3" ""
38 run_list_test "machine-parsing-4" ""
39 run_list_test "machine-parsing-5" ""
40 run_list_test "machine-parsing-6" ""
b6849f55 41}
This page took 0.664622 seconds and 4 git commands to generate.