Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # |
2 | # Some PowerPC tests | |
3 | # | |
4 | ||
5 | # These tests are currently ELF specific, only because nobody has | |
6 | # converted them to look for XCOFF relocations. | |
7 | ||
e88b7c97 AM |
8 | if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then { |
9 | # FIXME: Pass -x to objdump as well as -Dr for astest64 and astest2_64. | |
10 | run_dump_test "astest64" | |
11 | run_dump_test "astest2_64" | |
12 | run_dump_test "test1elf64" | |
adadcc0c | 13 | run_dump_test "test2elf64" |
e88b7c97 AM |
14 | } elseif { [istarget powerpc*-*aix*] } then { |
15 | run_dump_test "test1xcoff32" | |
16 | } elseif { [istarget powerpc*-*-*bsd*] \ | |
252b5132 RH |
17 | || [istarget powerpc*-*-elf*] \ |
18 | || [istarget powerpc*-*-eabi*] \ | |
19 | || [istarget powerpc*-*-sysv4*] \ | |
20 | || [istarget powerpc*-*-linux*] \ | |
21 | || [istarget powerpc*-*-solaris*] \ | |
22 | || [istarget powerpc*-*-rtems*] } then { | |
23 | run_dump_test "astest" | |
24 | run_dump_test "astest2" | |
e88b7c97 | 25 | run_dump_test "test1elf32" |
252b5132 RH |
26 | } |
27 | ||
28 | if { [istarget powerpc*-*-*] } then { | |
29 | run_dump_test "simpshft" | |
74a21df4 | 30 | |
7bbfa6f5 | 31 | if { [istarget powerpc-*-*aix*] } then { |
74a21df4 TR |
32 | run_dump_test "altivec_xcoff" |
33 | run_dump_test "altivec_xcoff64" | |
ff3a6ee3 TR |
34 | run_dump_test "booke_xcoff" |
35 | run_dump_test "booke_xcoff64" | |
74a21df4 TR |
36 | } else { |
37 | run_dump_test "altivec" | |
ff3a6ee3 | 38 | run_dump_test "booke" |
7bbfa6f5 | 39 | run_dump_test "e500" |
74a21df4 | 40 | } |
252b5132 | 41 | } |