Commit | Line | Data |
---|---|---|
5bf135a7 NC |
1 | # Copyright 2012 |
2 | # Free Software Foundation, Inc. | |
3 | ||
4 | # This program is free software; you can redistribute it and/or modify | |
5 | # it under the terms of the GNU General Public License as published by | |
6 | # the Free Software Foundation; either version 3 of the License, or | |
7 | # (at your option) any later version. | |
8 | # | |
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. | |
13 | # | |
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. | |
17 | ||
252b5132 RH |
18 | # |
19 | # Some PowerPC tests | |
20 | # | |
21 | ||
22 | # These tests are currently ELF specific, only because nobody has | |
23 | # converted them to look for XCOFF relocations. | |
24 | ||
e88b7c97 AM |
25 | if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then { |
26 | # FIXME: Pass -x to objdump as well as -Dr for astest64 and astest2_64. | |
27 | run_dump_test "astest64" | |
28 | run_dump_test "astest2_64" | |
29 | run_dump_test "test1elf64" | |
03417200 | 30 | run_dump_test "power4" |
c5c2803a | 31 | run_list_test "range64" "-a64" |
e88b7c97 AM |
32 | } elseif { [istarget powerpc*-*aix*] } then { |
33 | run_dump_test "test1xcoff32" | |
34 | } elseif { [istarget powerpc*-*-*bsd*] \ | |
252b5132 RH |
35 | || [istarget powerpc*-*-elf*] \ |
36 | || [istarget powerpc*-*-eabi*] \ | |
37 | || [istarget powerpc*-*-sysv4*] \ | |
38 | || [istarget powerpc*-*-linux*] \ | |
39 | || [istarget powerpc*-*-solaris*] \ | |
40 | || [istarget powerpc*-*-rtems*] } then { | |
41 | run_dump_test "astest" | |
42 | run_dump_test "astest2" | |
e88b7c97 | 43 | run_dump_test "test1elf32" |
252b5132 RH |
44 | } |
45 | ||
46 | if { [istarget powerpc*-*-*] } then { | |
4bff14ba | 47 | run_dump_test "simpshft" |
2c524891 | 48 | run_dump_test "regnames" |
ab1f5dd1 AM |
49 | if { [is_elf_format] } then { |
50 | run_dump_test "machine" | |
51 | run_dump_test "common" | |
52 | run_dump_test "476" | |
53 | run_dump_test "a2" | |
54 | if { ![istarget powerpc*le-*-*] } then { | |
55 | run_dump_test "vle" | |
56 | run_dump_test "vle-reloc" | |
57 | run_dump_test "vle-simple-1" | |
58 | run_dump_test "vle-simple-2" | |
59 | run_dump_test "vle-simple-3" | |
60 | run_dump_test "vle-simple-4" | |
61 | run_dump_test "vle-simple-5" | |
62 | run_dump_test "vle-simple-6" | |
63 | } | |
64 | } | |
74a21df4 | 65 | |
7bbfa6f5 | 66 | if { [istarget powerpc-*-*aix*] } then { |
74a21df4 TR |
67 | run_dump_test "altivec_xcoff" |
68 | run_dump_test "altivec_xcoff64" | |
69 | } else { | |
70 | run_dump_test "altivec" | |
c7a5aa9c | 71 | run_dump_test "altivec2" |
b0e34bfe | 72 | run_dump_test "altivec_and_spe" |
ff3a6ee3 | 73 | run_dump_test "booke" |
7bbfa6f5 | 74 | run_dump_test "e500" |
c5c2803a | 75 | run_list_test "range" "-a32" |
c3d65c1c | 76 | run_dump_test "ppc750ps" |
9239aded | 77 | run_dump_test "e500mc" |
aea77599 AM |
78 | run_dump_test "e6500" |
79 | run_dump_test "e500mc64_nop" | |
80 | run_dump_test "e5500_nop" | |
81 | run_dump_test "e6500_nop" | |
38233209 | 82 | run_dump_test "cell" |
a08f0c75 | 83 | run_dump_test "power4_32" |
38233209 | 84 | run_dump_test "power6" |
9b4e5766 | 85 | run_dump_test "power7" |
066be9f7 | 86 | run_dump_test "vsx" |
ce3d2015 | 87 | run_dump_test "titan" |
74a21df4 | 88 | } |
252b5132 | 89 | } |