2012-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / s390 / s390.exp
1 #
2 # s390/s390x tests
3 #
4
5 if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
6
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 }
16
17 # # PIC is only supported on ELF targets.
18 # if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] ) } then {
19 # run_dump_test "s390pic"
20 # }
21
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}"
25 run_dump_test "zarch-z9-ec" "{as -m64} {as -march=z9-ec}"
26 run_dump_test "zarch-z10" "{as -m64} {as -march=z10}"
27 run_dump_test "zarch-z196" "{as -m64} {as -march=z196}"
28 run_dump_test "zarch-zEC12" "{as -m64} {as -march=zEC12}"
29 run_dump_test "zarch-reloc" "{as -m64}"
30 run_dump_test "zarch-operands" "{as -m64} {as -march=z9-109}"
31 run_dump_test "zarch-machine" "{as -m64} {as -march=z900}"
32 }
This page took 0.031357 seconds and 4 git commands to generate.