]>
Commit | Line | Data |
---|---|---|
219d1afa | 1 | # Copyright (C) 2012-2018 Free Software Foundation, Inc. |
5bf135a7 NC |
2 | |
3 | # This program is free software; you can redistribute it and/or modify | |
4 | # it under the terms of the GNU General Public License as published by | |
5 | # the Free Software Foundation; either version 3 of the License, or | |
6 | # (at your option) any later version. | |
7 | # | |
8 | # This program is distributed in the hope that it will be useful, | |
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 | # GNU General Public License for more details. | |
12 | # | |
13 | # You should have received a copy of the GNU General Public License | |
14 | # along with this program; if not, write to the Free Software | |
15 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. | |
16 | ||
252b5132 RH |
17 | # |
18 | # Some PowerPC tests | |
19 | # | |
20 | ||
52fe4420 AM |
21 | if { ![istarget "powerpc*-*-*"] && ![istarget "rs6000-*-*"] } then { |
22 | return | |
23 | } | |
24 | ||
25 | run_dump_test "regnames" | |
26 | run_dump_test "misalign" | |
27 | run_dump_test "misalign2" | |
28 | run_dump_test "machine" | |
29 | run_dump_test "simpshft" | |
30 | run_dump_test "altivec_and_spe" | |
31 | run_list_test "range" "-a32" | |
32 | run_dump_test "cell" | |
33 | ||
34 | if { [istarget "*-*-aix*"] | |
35 | || [istarget "*-*-macos*"] | |
36 | || [istarget "*-*-beos*"] } then { | |
37 | run_dump_test "test1xcoff32" | |
38 | run_dump_test "test2xcoff32" | |
39 | run_dump_test "altivec_xcoff" | |
40 | run_dump_test "altivec_xcoff64" | |
41 | } | |
42 | ||
252b5132 RH |
43 | # These tests are currently ELF specific, only because nobody has |
44 | # converted them to look for XCOFF relocations. | |
52fe4420 AM |
45 | if { ![is_elf_format] } then { |
46 | return | |
47 | } | |
252b5132 | 48 | |
e88b7c97 AM |
49 | if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then { |
50 | # FIXME: Pass -x to objdump as well as -Dr for astest64 and astest2_64. | |
51 | run_dump_test "astest64" | |
52 | run_dump_test "astest2_64" | |
53 | run_dump_test "test1elf64" | |
03417200 | 54 | run_dump_test "power4" |
c5c2803a | 55 | run_list_test "range64" "-a64" |
52fe4420 | 56 | } else { |
252b5132 RH |
57 | run_dump_test "astest" |
58 | run_dump_test "astest2" | |
e88b7c97 | 59 | run_dump_test "test1elf32" |
252b5132 RH |
60 | } |
61 | ||
52fe4420 AM |
62 | run_dump_test "common" |
63 | run_dump_test "476" | |
64 | run_dump_test "a2" | |
65 | run_dump_test "pr21303" | |
66 | run_dump_test "vle" | |
67 | run_dump_test "vle-reloc" | |
68 | run_dump_test "vle-simple-1" | |
69 | run_dump_test "vle-simple-2" | |
70 | run_dump_test "vle-simple-3" | |
71 | run_dump_test "vle-simple-4" | |
72 | run_dump_test "vle-simple-5" | |
73 | run_dump_test "vle-simple-6" | |
74 | run_dump_test "vle-mult-ld-st-insns" | |
e3c2f928 | 75 | |
52fe4420 AM |
76 | #fail expected until get_powerpc_dialect() patch not applied |
77 | setup_xfail "*-*-*" | |
78 | run_dump_test "lsp" | |
74081948 | 79 | |
52fe4420 AM |
80 | run_dump_test "lsp-checks" |
81 | run_dump_test "efs" | |
82 | run_dump_test "efs2" | |
83 | run_dump_test "spe2" | |
84 | run_dump_test "spe2-checks" | |
85 | run_dump_test "spe" | |
74a21df4 | 86 | |
52fe4420 AM |
87 | setup_xfail "*-*-*" |
88 | run_dump_test "spe_ambiguous" | |
89 | ||
90 | run_dump_test "altivec" | |
91 | run_dump_test "altivec2" | |
92 | run_dump_test "altivec3" | |
93 | run_dump_test "booke" | |
94 | run_dump_test "e500" | |
95 | run_list_test "e500-ill" "-me500" | |
96 | run_dump_test "ppc750ps" | |
97 | run_dump_test "e500mc" | |
98 | run_dump_test "e6500" | |
99 | run_dump_test "e500mc64_nop" | |
100 | run_dump_test "e5500_nop" | |
101 | run_dump_test "e6500_nop" | |
102 | run_dump_test "power4_32" | |
103 | run_dump_test "power6" | |
104 | run_dump_test "power7" | |
105 | run_dump_test "power8" | |
106 | run_dump_test "power9" | |
107 | run_dump_test "vsx" | |
108 | run_dump_test "vsx2" | |
109 | run_dump_test "vsx3" | |
110 | run_dump_test "htm" | |
111 | run_dump_test "titan" |