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" | |
03417200 | 13 | run_dump_test "power4" |
ede602d7 | 14 | run_dump_test "cell" |
c5c2803a | 15 | run_list_test "range64" "-a64" |
e88b7c97 AM |
16 | } elseif { [istarget powerpc*-*aix*] } then { |
17 | run_dump_test "test1xcoff32" | |
18 | } elseif { [istarget powerpc*-*-*bsd*] \ | |
252b5132 RH |
19 | || [istarget powerpc*-*-elf*] \ |
20 | || [istarget powerpc*-*-eabi*] \ | |
21 | || [istarget powerpc*-*-sysv4*] \ | |
22 | || [istarget powerpc*-*-linux*] \ | |
23 | || [istarget powerpc*-*-solaris*] \ | |
24 | || [istarget powerpc*-*-rtems*] } then { | |
25 | run_dump_test "astest" | |
26 | run_dump_test "astest2" | |
e88b7c97 | 27 | run_dump_test "test1elf32" |
252b5132 RH |
28 | } |
29 | ||
30 | if { [istarget powerpc*-*-*] } then { | |
4bff14ba AM |
31 | run_dump_test "simpshft" |
32 | run_dump_test "machine" | |
2c524891 | 33 | run_dump_test "regnames" |
74a21df4 | 34 | |
7bbfa6f5 | 35 | if { [istarget powerpc-*-*aix*] } then { |
74a21df4 TR |
36 | run_dump_test "altivec_xcoff" |
37 | run_dump_test "altivec_xcoff64" | |
ff3a6ee3 TR |
38 | run_dump_test "booke_xcoff" |
39 | run_dump_test "booke_xcoff64" | |
74a21df4 TR |
40 | } else { |
41 | run_dump_test "altivec" | |
b0e34bfe | 42 | run_dump_test "altivec_and_spe" |
ff3a6ee3 | 43 | run_dump_test "booke" |
7bbfa6f5 | 44 | run_dump_test "e500" |
c5c2803a | 45 | run_list_test "range" "-a32" |
c3d65c1c | 46 | run_dump_test "ppc750ps" |
74a21df4 | 47 | } |
252b5132 | 48 | } |