Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / gas / testsuite / gas / ppc / ppc.exp
CommitLineData
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
21# These tests are currently ELF specific, only because nobody has
22# converted them to look for XCOFF relocations.
23
e88b7c97
AM
24if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then {
25# FIXME: Pass -x to objdump as well as -Dr for astest64 and astest2_64.
26 run_dump_test "astest64"
27 run_dump_test "astest2_64"
28 run_dump_test "test1elf64"
03417200 29 run_dump_test "power4"
c5c2803a 30 run_list_test "range64" "-a64"
e88b7c97
AM
31} elseif { [istarget powerpc*-*aix*] } then {
32 run_dump_test "test1xcoff32"
7fa9fcb6 33 run_dump_test "test2xcoff32"
e88b7c97 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
46if { [istarget powerpc*-*-*] } then {
2c524891 47 run_dump_test "regnames"
ab1f5dd1
AM
48 if { [is_elf_format] } then {
49 run_dump_test "machine"
50 run_dump_test "common"
51 run_dump_test "476"
52 run_dump_test "a2"
9b753937 53 run_dump_test "pr21303"
48f7f303
AM
54 run_dump_test "vle"
55 run_dump_test "vle-reloc"
56 run_dump_test "vle-simple-1"
57 run_dump_test "vle-simple-2"
58 run_dump_test "vle-simple-3"
59 run_dump_test "vle-simple-4"
60 run_dump_test "vle-simple-5"
61 run_dump_test "vle-simple-6"
62 run_dump_test "vle-mult-ld-st-insns"
e3c2f928 63
48f7f303
AM
64 #fail expected until get_powerpc_dialect() patch not applied
65 setup_xfail "*-*-*"
66 run_dump_test "lsp"
67 run_dump_test "lsp-checks"
68 run_dump_test "efs"
69 run_dump_test "efs2"
70 run_dump_test "spe2"
71 run_dump_test "spe2-checks"
72 run_dump_test "spe"
74081948 73
48f7f303
AM
74 setup_xfail "*-*-*"
75 run_dump_test "spe_ambiguous"
ab1f5dd1 76 }
74a21df4 77
7bbfa6f5 78 if { [istarget powerpc-*-*aix*] } then {
74a21df4
TR
79 run_dump_test "altivec_xcoff"
80 run_dump_test "altivec_xcoff64"
81 } else {
ec9fbfea 82 run_dump_test "simpshft"
74a21df4 83 run_dump_test "altivec"
c7a5aa9c 84 run_dump_test "altivec2"
a680de9a 85 run_dump_test "altivec3"
b0e34bfe 86 run_dump_test "altivec_and_spe"
ff3a6ee3 87 run_dump_test "booke"
7bbfa6f5 88 run_dump_test "e500"
2ec6d9e6 89 run_list_test "e500-ill" "-me500"
c5c2803a 90 run_list_test "range" "-a32"
c3d65c1c 91 run_dump_test "ppc750ps"
9239aded 92 run_dump_test "e500mc"
aea77599
AM
93 run_dump_test "e6500"
94 run_dump_test "e500mc64_nop"
95 run_dump_test "e5500_nop"
96 run_dump_test "e6500_nop"
38233209 97 run_dump_test "cell"
a08f0c75 98 run_dump_test "power4_32"
38233209 99 run_dump_test "power6"
9b4e5766 100 run_dump_test "power7"
5817ffd1 101 run_dump_test "power8"
a680de9a 102 run_dump_test "power9"
066be9f7 103 run_dump_test "vsx"
c0637f3a 104 run_dump_test "vsx2"
a680de9a 105 run_dump_test "vsx3"
5817ffd1 106 run_dump_test "htm"
ce3d2015 107 run_dump_test "titan"
74a21df4 108 }
252b5132 109}
This page took 0.80983 seconds and 4 git commands to generate.