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 | # i386 tests | |
19 | # | |
b96d3a20 JH |
20 | proc gas_64_check { } { |
21 | global NM | |
22 | global NMFLAGS | |
252b5132 | 23 | |
7f6a71ff JM |
24 | set status [gas_host_run "$NM $NMFLAGS --help" ""] |
25 | return [regexp "targets:.*x86-64" [lindex $status 1]]; | |
b96d3a20 | 26 | } |
6e0b89ee | 27 | |
b96d3a20 JH |
28 | proc gas_32_check { } { |
29 | global NM | |
30 | global NMFLAGS | |
b96d3a20 | 31 | |
7f6a71ff JM |
32 | set status [gas_host_run "$NM $NMFLAGS --help" ""] |
33 | return [regexp "targets:.*i386" [lindex $status 1]]; | |
b96d3a20 JH |
34 | } |
35 | ||
d7f449c0 L |
36 | proc gas_bfd64_check { } { |
37 | global AS | |
38 | ||
39 | set status [gas_host_run "$AS --help" ""] | |
40 | return [regexp "32bit/64bit/x32" [lindex $status 1]]; | |
41 | } | |
42 | ||
b96d3a20 JH |
43 | if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] then { |
44 | ||
45 | global ASFLAGS | |
46 | set old_ASFLAGS "$ASFLAGS" | |
47 | set ASFLAGS "$ASFLAGS --32" | |
252b5132 | 48 | |
1efbbeb4 | 49 | run_list_test "float" "-al -mmnemonic=att" |
bd5dea88 | 50 | run_list_test "general" "-al --listing-lhs-width=2" |
252b5132 | 51 | run_list_test "inval" "-al" |
9e5e5283 | 52 | run_list_test "inval-16" "-al" |
4cc91dba L |
53 | run_list_test "segment" "-al" |
54 | run_list_test "inval-seg" "-al" | |
56ffb741 | 55 | run_list_test "inval-reg" "-al" |
252b5132 | 56 | run_list_test "modrm" "-al --listing-lhs-width=2" |
3f9ed93b | 57 | run_dump_test "naked" |
252b5132 | 58 | run_dump_test "opcode" |
8a82f7e3 JB |
59 | run_dump_test "opcode-intel" |
60 | run_dump_test "opcode-suffix" | |
cc5ca5ce | 61 | run_dump_test "intel" |
d53e6b98 | 62 | run_dump_test "intel-intel" |
be66c492 | 63 | run_dump_test "intel16" |
9306ca4a JB |
64 | run_list_test "intelbad" "" |
65 | run_dump_test "intelok" | |
252b5132 | 66 | run_dump_test "prefix" |
7a8655d2 | 67 | run_list_test "prefix32" "-al" |
252b5132 | 68 | run_dump_test "amd" |
c608c12e | 69 | run_dump_test "katmai" |
a3d1c52b | 70 | run_dump_test "jump" |
c07315e0 | 71 | run_dump_test "movz32" |
7898a2b1 L |
72 | run_dump_test "relax-1" |
73 | run_dump_test "relax-2" | |
de9d65b5 JH |
74 | run_dump_test "ssemmx2" |
75 | run_dump_test "sse2" | |
4dd8d67b | 76 | run_dump_test "sub" |
bc2ae10b | 77 | run_dump_test "sse3" |
2033b4b9 | 78 | run_dump_test "sib" |
db51cc60 | 79 | run_dump_test "sib-intel" |
0e1147d9 | 80 | run_dump_test "disp" |
6cee4cda | 81 | run_dump_test "disp-intel" |
f8a5c266 | 82 | run_dump_test "disp32" |
90700ea2 | 83 | run_dump_test "vmx" |
8729a6f6 | 84 | run_dump_test "vmfunc" |
47dd174c | 85 | run_dump_test "smx" |
22cbf2e7 | 86 | run_dump_test "suffix" |
4b4c407a | 87 | run_dump_test "suffix-intel" |
83b16ac6 | 88 | run_list_test "suffix-bad" |
9cd96992 | 89 | run_dump_test "immed32" |
4d1bb795 | 90 | run_dump_test "equ" |
5157cd8a | 91 | run_dump_test "divide" |
26f07657 | 92 | run_dump_test "padlock" |
c4a530c5 JB |
93 | run_dump_test "crx" |
94 | run_list_test "cr-err" "" | |
68f34464 | 95 | run_dump_test "cdr" |
30123838 | 96 | run_dump_test "svme" |
050dfa73 | 97 | run_dump_test "amdfam10" |
bc2ae10b | 98 | run_dump_test "ssse3" |
35c52694 L |
99 | run_dump_test "rep" |
100 | run_dump_test "rep-suffix" | |
d5de92cf | 101 | run_list_test "inval-rep" "-al" |
c32fa91d L |
102 | run_dump_test "lock-1" |
103 | run_dump_test "lock-1-intel" | |
104 | run_list_test "lockbad-1" "-al" | |
f16cd0d5 L |
105 | run_dump_test "long-1" |
106 | run_dump_test "long-1-intel" | |
5645cf1e | 107 | run_dump_test "fp" |
15965411 | 108 | run_dump_test "nops" |
76bc74dc | 109 | run_dump_test "nops16-1" |
ccc9c027 L |
110 | run_dump_test "nops-1" |
111 | run_dump_test "nops-1-i386" | |
76bc74dc | 112 | run_dump_test "nops-1-i386-i686" |
ccc9c027 | 113 | run_dump_test "nops-1-i686" |
76bc74dc | 114 | run_dump_test "nops-1-k8" |
bc2ae10b | 115 | run_dump_test "nops-1-core2" |
ccc9c027 L |
116 | run_dump_test "nops-2" |
117 | run_dump_test "nops-2-i386" | |
bc2ae10b | 118 | run_dump_test "nops-2-core2" |
c0f91ba6 | 119 | run_dump_test "nops-3" |
76bc74dc L |
120 | run_dump_test "nops-3-i386" |
121 | run_dump_test "nops-3-i686" | |
122 | run_dump_test "nops-4" | |
123 | run_dump_test "nops-4-i386" | |
124 | run_dump_test "nops-4-i686" | |
a586129e | 125 | run_dump_test "nops-4a-i686" |
fbf3f584 L |
126 | run_dump_test "nops-5" |
127 | run_dump_test "nops-5-i686" | |
a586129e | 128 | run_dump_test "nops-6" |
3ae729d5 | 129 | run_dump_test "nops-7" |
539e75ad L |
130 | run_dump_test "addr16" |
131 | run_dump_test "addr32" | |
42903f7f | 132 | run_dump_test "sse4_1" |
c3ad16c0 | 133 | run_dump_test "sse4_1-intel" |
381d071f | 134 | run_dump_test "sse4_2" |
c3ad16c0 | 135 | run_dump_test "sse4_2-intel" |
9344ff29 L |
136 | run_dump_test "crc32" |
137 | run_dump_test "crc32-intel" | |
20592a94 | 138 | run_list_test "inval-crc32" "-al" |
09a2c6cf L |
139 | run_dump_test "simd" |
140 | run_dump_test "simd-intel" | |
8a72226a | 141 | run_dump_test "simd-suffix" |
d9a5e5e5 L |
142 | run_dump_test "mem" |
143 | run_dump_test "mem-intel" | |
b844680a L |
144 | run_dump_test "reg" |
145 | run_dump_test "reg-intel" | |
ca61edf2 | 146 | run_dump_test "i386" |
a8484f96 | 147 | run_dump_test "i386-intel" |
9d141669 L |
148 | run_dump_test "compat" |
149 | run_dump_test "compat-intel" | |
8d79a8c8 L |
150 | run_dump_test "arch-1" |
151 | run_dump_test "arch-2" | |
152 | run_dump_test "arch-3" | |
b414985b | 153 | run_dump_test "arch-4" |
e0329a22 L |
154 | run_dump_test "arch-5" |
155 | run_dump_test "arch-6" | |
156 | run_dump_test "arch-7" | |
3629bb00 | 157 | run_dump_test "arch-9" |
6305a203 | 158 | run_dump_test "arch-10" |
6c30d220 | 159 | run_dump_test "arch-10-lzcnt" |
e2e1fcde | 160 | run_dump_test "arch-10-prefetchw" |
160a30bb | 161 | run_dump_test "arch-10-bdver1" |
5c5acbbd | 162 | run_dump_test "arch-10-bdver2" |
5e5c50d3 | 163 | run_dump_test "arch-10-bdver3" |
c7b0bd56 | 164 | run_dump_test "arch-10-bdver4" |
029f3522 | 165 | run_dump_test "arch-13-znver1" |
a9660a6f | 166 | run_dump_test "arch-13-znver2" |
7b458c12 L |
167 | run_dump_test "arch-10-btver1" |
168 | run_dump_test "arch-10-btver2" | |
6305a203 L |
169 | run_list_test "arch-10-1" "-march=generic32 -I${srcdir}/$subdir -al" |
170 | run_list_test "arch-10-2" "-march=i686 -I${srcdir}/$subdir -al" | |
1848e567 L |
171 | run_list_test "arch-10-3" "-march=i686+mmx+sse4.2 -I${srcdir}/$subdir -al" |
172 | run_list_test "arch-10-4" "-march=i686+mmx+sse4+vmx+smx -I${srcdir}/$subdir -al" | |
115c7c25 L |
173 | run_dump_test "arch-11" |
174 | run_dump_test "arch-12" | |
029f3522 | 175 | run_dump_test "arch-13" |
309d3373 JB |
176 | run_dump_test "8087" |
177 | run_dump_test "287" | |
178 | run_dump_test "387" | |
179 | run_list_test "no87" "-al" | |
180 | run_list_test "no87-2" "-march=i686+no87 -al" | |
1848e567 | 181 | run_list_test "no87-3" "-al" |
0e0eea78 JB |
182 | run_list_test "stN" "-al" |
183 | run_list_test "fpu" | |
293f5f65 L |
184 | run_list_test "nommx-1" "-al" |
185 | run_list_test "nommx-2" "-march=core+nommx -al" | |
186 | run_list_test "nommx-3" "-march=+nommx -al" | |
187 | run_list_test "nosse-1" "-al" | |
188 | run_list_test "nosse-2" "-march=core+nosse -al" | |
189 | run_list_test "nosse-3" "-march=+nosse -al" | |
1848e567 L |
190 | run_list_test "nosse-4" "-al" |
191 | run_dump_test "nosse-5" | |
293f5f65 L |
192 | run_list_test "noavx-1" "-al" |
193 | run_list_test "noavx-2" "-march=+noavx -al" | |
1848e567 L |
194 | run_list_test "noavx-3" "-al" |
195 | run_dump_test "noavx-4" | |
144b71e2 L |
196 | run_list_test "noavx512-1" "-al" |
197 | run_list_test "noavx512-2" "-al" | |
3a2430e0 | 198 | run_dump_test "noextreg" |
6e041cf4 | 199 | run_dump_test "xmmhi32" |
475a2301 L |
200 | run_dump_test "xsave" |
201 | run_dump_test "xsave-intel" | |
c0f3af97 L |
202 | run_dump_test "aes" |
203 | run_dump_test "aes-intel" | |
204 | run_dump_test "clmul" | |
205 | run_dump_test "clmul-intel" | |
206 | run_dump_test "avx" | |
207 | run_dump_test "avx-intel" | |
539f890d L |
208 | run_dump_test "avx-scalar" |
209 | run_dump_test "avx-scalar-intel" | |
d5f787c2 | 210 | run_dump_test "avx-scalar-2" |
6c30d220 L |
211 | run_dump_test "avx256int" |
212 | run_dump_test "avx256int-intel" | |
213 | run_dump_test "avx2" | |
214 | run_dump_test "avx2-intel" | |
215 | run_dump_test "avx-gather" | |
216 | run_dump_test "avx-gather-intel" | |
03751133 L |
217 | run_dump_test "avx-wig" |
218 | run_dump_test "avx2-wig" | |
fd71a375 | 219 | run_dump_test "vex-lig-2" |
43234a1e L |
220 | run_dump_test "avx512f" |
221 | run_dump_test "avx512f-intel" | |
222 | run_dump_test "avx512f-opts" | |
223 | run_dump_test "avx512f-opts-intel" | |
224 | run_dump_test "avx512f-nondef" | |
929f69fa | 225 | run_list_test "avx512f-plain" "-al" |
6e041cf4 | 226 | run_dump_test "avx512f-ymm" |
43234a1e L |
227 | run_dump_test "avx512cd" |
228 | run_dump_test "avx512cd-intel" | |
229 | run_dump_test "avx512er" | |
230 | run_dump_test "avx512er-intel" | |
231 | run_dump_test "avx512pf" | |
232 | run_dump_test "avx512pf-intel" | |
d20dee9e | 233 | run_dump_test "evex" |
43234a1e L |
234 | run_dump_test "evex-lig256" |
235 | run_dump_test "evex-lig512" | |
236 | run_dump_test "evex-lig256-intel" | |
237 | run_dump_test "evex-lig512-intel" | |
04e2a182 | 238 | run_dump_test "evex-lig-2" |
43234a1e L |
239 | run_dump_test "evex-wig1" |
240 | run_dump_test "evex-wig1-intel" | |
c0f3af97 L |
241 | run_dump_test "sse2avx" |
242 | run_list_test "inval-avx" "-al" | |
43234a1e | 243 | run_list_test "inval-avx512f" "-al" |
daf50ae7 | 244 | run_dump_test "sse-check" |
cb19c032 | 245 | run_dump_test "sse-check-none" |
daf50ae7 L |
246 | run_dump_test "sse-check-warn" |
247 | run_list_test "sse-check-error" "-msse-check=error -I${srcdir}/$subdir -al" | |
7bab8ab5 JB |
248 | run_dump_test "vgather-check" |
249 | run_dump_test "vgather-check-none" | |
250 | run_dump_test "vgather-check-warn" | |
251 | run_list_test "vgather-check-error" "-moperand-check=error -I${srcdir}/$subdir" | |
9ba52a26 | 252 | run_dump_test "sse-noavx" |
f1f8f695 L |
253 | run_dump_test "movbe" |
254 | run_dump_test "movbe-intel" | |
255 | run_list_test "inval-movbe" "-al" | |
256 | run_dump_test "ept" | |
257 | run_dump_test "ept-intel" | |
258 | run_list_test "inval-ept" "-al" | |
6c30d220 L |
259 | run_dump_test "invpcid" |
260 | run_dump_test "invpcid-intel" | |
261 | run_list_test "inval-invpcid" "-al" | |
a5ff0eb2 L |
262 | run_dump_test "arch-avx-1" |
263 | run_list_test "arch-avx-1-1" "-march=generic32+avx -I${srcdir}/$subdir -al" | |
264 | run_list_test "arch-avx-1-2" "-march=generic32+aes -I${srcdir}/$subdir -al" | |
ce2f5b3c L |
265 | run_list_test "arch-avx-1-3" "-march=generic32+pclmul -I${srcdir}/$subdir -al" |
266 | run_list_test "arch-avx-1-4" "-march=generic32+avx+aes -I${srcdir}/$subdir -al" | |
267 | run_list_test "arch-avx-1-5" "-march=generic32+avx+pclmul -I${srcdir}/$subdir -al" | |
268 | run_list_test "arch-avx-1-6" "-march=generic32+aes+pclmul -I${srcdir}/$subdir -al" | |
929f69fa JB |
269 | run_list_test "arch-avx-1-7" "-march=generic32+gfni -I${srcdir}/$subdir -al" |
270 | run_list_test "arch-avx-1-8" "-march=generic32+avx+gfni -I${srcdir}/$subdir -al" | |
b6169b20 L |
271 | run_dump_test "opts" |
272 | run_dump_test "opts-intel" | |
273 | run_dump_test "sse2avx-opts" | |
274 | run_dump_test "sse2avx-opts-intel" | |
6c30d220 L |
275 | run_dump_test "bmi2" |
276 | run_dump_test "bmi2-intel" | |
0bfee649 L |
277 | run_dump_test "fma" |
278 | run_dump_test "fma-intel" | |
1c480963 L |
279 | run_dump_test "fma-scalar" |
280 | run_dump_test "fma-scalar-intel" | |
42164a71 L |
281 | run_dump_test "hle" |
282 | run_dump_test "hle-intel" | |
283 | run_list_test "hlebad" "-al" | |
284 | run_dump_test "rtm" | |
285 | run_dump_test "rtm-intel" | |
922d8de8 | 286 | run_dump_test "fma4" |
f88c9eb0 | 287 | run_dump_test "lwp" |
5dd85c99 | 288 | run_dump_test "xop" |
abfcb414 | 289 | run_dump_test "xop32reg" |
f12dc422 L |
290 | run_dump_test "bmi" |
291 | run_dump_test "bmi-intel" | |
2a2a0f38 QN |
292 | run_dump_test "tbm" |
293 | run_dump_test "tbm-intel" | |
c7b8aa3a L |
294 | run_dump_test "f16c" |
295 | run_dump_test "f16c-intel" | |
296 | run_dump_test "fsgs" | |
297 | run_dump_test "fsgs-intel" | |
298 | run_dump_test "rdrnd" | |
299 | run_dump_test "rdrnd-intel" | |
fa94de6b RM |
300 | run_dump_test "bundle" |
301 | run_dump_test "bundle-lock" | |
302 | run_dump_test "bundle-bad" | |
e2e1fcde L |
303 | run_dump_test "adx" |
304 | run_dump_test "adx-intel" | |
305 | run_dump_test "rdseed" | |
306 | run_dump_test "rdseed-intel" | |
d7189fa5 RM |
307 | run_dump_test "prefetch" |
308 | run_dump_test "prefetch-intel" | |
5c111e37 | 309 | run_dump_test "smap" |
7e8b059b L |
310 | run_dump_test "mpx" |
311 | run_list_test "mpx-inval-1" "-al" | |
327e8c42 | 312 | run_list_test "mpx-inval-2" "-al" |
7e8b059b | 313 | run_dump_test "mpx-add-bnd-prefix" |
1adf7f56 | 314 | run_list_test "bnd" "-al" |
a0046408 | 315 | run_dump_test "sha" |
963f3586 IT |
316 | run_dump_test "clflushopt" |
317 | run_dump_test "clflushopt-intel" | |
318 | run_dump_test "xsavec" | |
319 | run_dump_test "xsavec-intel" | |
320 | run_dump_test "xsaves" | |
321 | run_dump_test "xsaves-intel" | |
dcf893b5 IT |
322 | run_dump_test "prefetchwt1" |
323 | run_dump_test "prefetchwt1-intel" | |
2cf200a4 | 324 | run_dump_test "se1" |
b28d1bda IT |
325 | run_dump_test "avx512f_vl-intel" |
326 | run_dump_test "avx512f_vl-opts-intel" | |
327 | run_dump_test "avx512f_vl-opts" | |
328 | run_dump_test "avx512f_vl-wig1-intel" | |
329 | run_dump_test "avx512f_vl-wig1" | |
330 | run_dump_test "avx512f_vl" | |
99282af6 IT |
331 | run_dump_test "avx512cd_vl-intel" |
332 | run_dump_test "avx512cd_vl" | |
1ba585e8 IT |
333 | run_dump_test "avx512bw-intel" |
334 | run_dump_test "avx512bw-opts-intel" | |
335 | run_dump_test "avx512bw-opts" | |
336 | run_dump_test "avx512bw-wig1-intel" | |
337 | run_dump_test "avx512bw-wig1" | |
338 | run_dump_test "avx512bw" | |
339 | run_dump_test "avx512bw_vl-intel" | |
340 | run_dump_test "avx512bw_vl-opts-intel" | |
341 | run_dump_test "avx512bw_vl-opts" | |
342 | run_dump_test "avx512bw_vl-wig1-intel" | |
343 | run_dump_test "avx512bw_vl-wig1" | |
344 | run_dump_test "avx512bw_vl" | |
90a915bf IT |
345 | run_dump_test "avx512dq-intel" |
346 | run_dump_test "avx512dq" | |
347 | run_dump_test "avx512dq_vl-intel" | |
348 | run_dump_test "avx512dq_vl" | |
d022bddd IT |
349 | run_dump_test "omit-lock-yes" |
350 | run_dump_test "omit-lock-no" | |
e4e00185 AS |
351 | run_dump_test "fence-as-lock-add-yes" |
352 | run_dump_test "fence-as-lock-add-no" | |
d3d3c6db IT |
353 | run_dump_test "avx512dq-rcigrd-intel" |
354 | run_dump_test "avx512dq-rcigrd" | |
355 | run_dump_test "avx512dq-rcigrne-intel" | |
356 | run_dump_test "avx512dq-rcigrne" | |
357 | run_dump_test "avx512dq-rcigru-intel" | |
358 | run_dump_test "avx512dq-rcigru" | |
359 | run_dump_test "avx512dq-rcigrz-intel" | |
360 | run_dump_test "avx512dq-rcigrz" | |
361 | run_dump_test "avx512er-rcigrd-intel" | |
362 | run_dump_test "avx512er-rcigrd" | |
363 | run_dump_test "avx512er-rcigrne-intel" | |
364 | run_dump_test "avx512er-rcigrne" | |
365 | run_dump_test "avx512er-rcigru-intel" | |
366 | run_dump_test "avx512er-rcigru" | |
367 | run_dump_test "avx512er-rcigrz-intel" | |
368 | run_dump_test "avx512er-rcigrz" | |
369 | run_dump_test "avx512f-rcigrd-intel" | |
370 | run_dump_test "avx512f-rcigrd" | |
371 | run_dump_test "avx512f-rcigrne-intel" | |
372 | run_dump_test "avx512f-rcigrne" | |
373 | run_dump_test "avx512f-rcigru-intel" | |
374 | run_dump_test "avx512f-rcigru" | |
375 | run_dump_test "avx512f-rcigrz-intel" | |
376 | run_dump_test "avx512f-rcigrz" | |
c5e7287a IT |
377 | run_dump_test "clwb" |
378 | run_dump_test "clwb-intel" | |
2cc1b5aa IT |
379 | run_dump_test "avx512ifma" |
380 | run_dump_test "avx512ifma-intel" | |
381 | run_dump_test "avx512ifma_vl" | |
382 | run_dump_test "avx512ifma_vl-intel" | |
14f195c9 IT |
383 | run_dump_test "avx512vbmi" |
384 | run_dump_test "avx512vbmi-intel" | |
385 | run_dump_test "avx512vbmi_vl" | |
386 | run_dump_test "avx512vbmi_vl-intel" | |
920d2ddc IT |
387 | run_dump_test "avx512_4fmaps" |
388 | run_dump_test "avx512_4fmaps-intel" | |
920d2ddc | 389 | run_list_test "avx512_4fmaps-warn" |
47acf0bd IT |
390 | run_dump_test "avx512_4vnniw" |
391 | run_dump_test "avx512_4vnniw-intel" | |
620214f7 IT |
392 | run_dump_test "avx512_vpopcntdq" |
393 | run_dump_test "avx512_vpopcntdq-intel" | |
53467f57 IT |
394 | run_dump_test "avx512vbmi2" |
395 | run_dump_test "avx512vbmi2-intel" | |
396 | run_dump_test "avx512vbmi2_vl" | |
397 | run_dump_test "avx512vbmi2_vl-intel" | |
48521003 IT |
398 | run_dump_test "avx512f_gfni" |
399 | run_dump_test "avx512f_gfni-intel" | |
400 | run_dump_test "avx512vl_gfni" | |
401 | run_dump_test "avx512vl_gfni-intel" | |
8dcf1fad IT |
402 | run_dump_test "avx512f_vaes" |
403 | run_dump_test "avx512f_vaes-intel" | |
404 | run_dump_test "avx512f_vaes-wig1" | |
405 | run_dump_test "avx512f_vaes-wig1-intel" | |
406 | run_dump_test "avx512vl_vaes" | |
407 | run_dump_test "avx512vl_vaes-intel" | |
408 | run_dump_test "avx512vl_vaes-wig1" | |
409 | run_dump_test "avx512vl_vaes-wig1-intel" | |
ff1982d5 IT |
410 | run_dump_test "avx512f_vpclmulqdq" |
411 | run_dump_test "avx512f_vpclmulqdq-intel" | |
412 | run_dump_test "avx512f_vpclmulqdq-wig1" | |
413 | run_dump_test "avx512f_vpclmulqdq-wig1-intel" | |
414 | run_dump_test "avx512vl_vpclmulqdq" | |
415 | run_dump_test "avx512vl_vpclmulqdq-intel" | |
416 | run_dump_test "avx512vl_vpclmulqdq-wig1" | |
417 | run_dump_test "avx512vl_vpclmulqdq-wig1-intel" | |
8cfcb765 IT |
418 | run_dump_test "avx512vnni" |
419 | run_dump_test "avx512vnni-intel" | |
420 | run_dump_test "avx512vnni_vl" | |
421 | run_dump_test "avx512vnni_vl-intel" | |
ee6872be IT |
422 | run_dump_test "avx512bitalg" |
423 | run_dump_test "avx512bitalg-intel" | |
424 | run_dump_test "avx512bitalg_vl" | |
425 | run_dump_test "avx512bitalg_vl-intel" | |
6ff00b5e | 426 | run_list_test "sg" |
029f3522 | 427 | run_dump_test "clzero" |
4a357820 | 428 | run_dump_test "disassem" |
9916071f AP |
429 | run_dump_test "mwaitx-bdver4" |
430 | run_list_test "mwaitx-reg" | |
8eab4136 | 431 | run_dump_test "ospke" |
8bc52696 AF |
432 | run_dump_test "rdpid" |
433 | run_dump_test "rdpid-intel" | |
6b40c462 L |
434 | run_dump_test "ptwrite" |
435 | run_dump_test "ptwrite-intel" | |
48521003 IT |
436 | run_dump_test "gfni" |
437 | run_dump_test "gfni-intel" | |
8dcf1fad IT |
438 | run_dump_test "vaes" |
439 | run_dump_test "vaes-intel" | |
ff1982d5 IT |
440 | run_dump_test "vpclmulqdq" |
441 | run_dump_test "vpclmulqdq-intel" | |
3233d7d0 IT |
442 | run_dump_test "wbnoinvd" |
443 | run_dump_test "wbnoinvd-intel" | |
be3a8dca IT |
444 | run_dump_test "pconfig" |
445 | run_dump_test "pconfig-intel" | |
de89d0a3 IT |
446 | run_dump_test "waitpkg" |
447 | run_dump_test "waitpkg-intel" | |
c48935d7 IT |
448 | run_dump_test "cldemote" |
449 | run_dump_test "cldemote-intel" | |
c0a30a9f L |
450 | run_dump_test "movdir" |
451 | run_dump_test "movdir-intel" | |
452 | run_list_test "movdir64b-reg" | |
73b090a9 L |
453 | run_list_test "avx512vl-1" "-al" |
454 | run_list_test "avx512vl-2" "-al" | |
929f69fa | 455 | run_list_test "avx512vl-plain" "-al" |
48c97fa1 | 456 | run_dump_test "fpu-bad" |
603555e5 L |
457 | run_dump_test "cet" |
458 | run_dump_test "cet-intel" | |
d777820b IT |
459 | run_list_test "cet-ibt-inval" |
460 | run_list_test "cet-shstk-inval" | |
86fa6981 | 461 | run_dump_test "pseudos" |
04ef582a L |
462 | run_dump_test "notrack" |
463 | run_dump_test "notrack-intel" | |
464 | run_list_test "notrackbad" "-al" | |
0ad71725 L |
465 | run_dump_test "align-1a" |
466 | run_dump_test "align-1b" | |
390c91cf | 467 | run_list_test "inval-pseudo" "-al" |
62a02d25 L |
468 | run_dump_test "nop-1" |
469 | run_dump_test "nop-2" | |
b6f8c7c4 L |
470 | run_dump_test "optimize-1" |
471 | run_dump_test "optimize-2" | |
472 | run_dump_test "optimize-3" | |
0089dace L |
473 | run_dump_test "optimize-4" |
474 | run_dump_test "optimize-5" | |
252b5132 | 475 | |
a3d1c52b AM |
476 | # These tests require support for 8 and 16 bit relocs, |
477 | # so we only run them for ELF and COFF targets. | |
62e88f3c | 478 | if {[is_elf_format] || [istarget "*-*-coff*"]} then { |
252b5132 | 479 | run_dump_test "reloc" |
a3d1c52b | 480 | run_dump_test "jump16" |
252b5132 | 481 | run_list_test "white" "-al --listing-lhs-width=3" |
3d983505 NC |
482 | |
483 | # These tests should in theory work for PE targets as well, | |
484 | # but the relocs we currently produce are slightly different | |
485 | # from those produced for ELF/COFF based toolchains. | |
486 | # So for now we ignore PE targets. | |
3d983505 | 487 | run_dump_test "absrel" |
8dcea932 L |
488 | if {[istarget "*-*-coff*"]} then { |
489 | run_dump_test "pcrel" | |
490 | } | |
252b5132 | 491 | } |
00687228 | 492 | |
62e88f3c NC |
493 | # ELF specific tests |
494 | if [is_elf_format] then { | |
495 | # PIC is only supported on ELF targets. | |
496 | run_dump_test "intelpic" | |
497 | ||
8dcea932 | 498 | run_dump_test "pcrel-elf" |
00687228 | 499 | run_dump_test "relax" |
2bbd9c25 | 500 | run_dump_test "gotpc" |
13ae64f3 JJ |
501 | run_dump_test "tlsd" |
502 | run_dump_test "tlspic" | |
503 | run_dump_test "tlsnopic" | |
8a75718c | 504 | run_dump_test "bss" |
3956db08 JB |
505 | run_dump_test "reloc32" |
506 | run_list_test "reloc32" "--defsym _bad_=1" | |
4261360e | 507 | run_dump_test "intel-got32" |
8325cc63 | 508 | run_dump_test "intel-movs32" |
d0548f34 L |
509 | run_list_test "inval-equ-1" "-al" |
510 | run_list_test "inval-equ-2" "-al" | |
915bcca5 | 511 | run_dump_test "ifunc" |
c969da64 RS |
512 | run_list_test "ifunc-2" |
513 | run_dump_test "ifunc-3" | |
8a9036a4 | 514 | run_list_test "l1om-inval" "-march=l1om --32" |
7a9068fe | 515 | run_list_test "k1om-inval" "-march=k1om --32" |
2a86604a | 516 | run_dump_test "localpic" |
df1c40a7 | 517 | run_dump_test "debug1" |
502abbdf | 518 | |
089b8992 | 519 | run_dump_test "dw2-compress-2" |
151411f8 | 520 | run_dump_test "dw2-compressed-2" |
21be61f5 L |
521 | |
522 | run_dump_test "bad-size" | |
8fd4256d L |
523 | |
524 | run_dump_test "size-1" | |
525 | run_dump_test "size-2" | |
526 | run_dump_test "size-3" | |
527 | run_dump_test "size-4" | |
00923338 L |
528 | |
529 | run_dump_test "note" | |
b084df0b L |
530 | |
531 | run_dump_test "relax-3" | |
8dcea932 | 532 | run_dump_test "relax-4" |
81486035 | 533 | |
02a86693 | 534 | run_dump_test "got" |
0cb4071e | 535 | run_dump_test "got-no-relax" |
02a86693 | 536 | |
4e21640f | 537 | run_dump_test "addend" |
62a02d25 L |
538 | run_dump_test "nop-3" |
539 | run_dump_test "nop-4" | |
540 | run_dump_test "nop-5" | |
541 | run_dump_test "nop-6" | |
4e21640f | 542 | |
99c2d522 | 543 | run_dump_test "evex-no-scale-32" |
90c745dc | 544 | run_dump_test "property-1" |
99c2d522 | 545 | |
da5f19a2 L |
546 | if { [gas_64_check] } then { |
547 | run_dump_test "att-regs" | |
548 | run_dump_test "intel-regs" | |
549 | run_dump_test "mixed-mode-reloc32" | |
550 | run_dump_test "code64" | |
d7f449c0 | 551 | } elseif { ![gas_bfd64_check] } { |
da5f19a2 L |
552 | run_list_test "code64-inval" "-I${srcdir}/$subdir -al" |
553 | } | |
554 | ||
81486035 L |
555 | if {![istarget "*-*-nacl*"]} then { |
556 | run_dump_test "iamcu-1" | |
557 | run_dump_test "iamcu-2" | |
558 | run_dump_test "iamcu-3" | |
5b64d091 L |
559 | run_dump_test "iamcu-4" |
560 | run_dump_test "iamcu-5" | |
81486035 | 561 | run_list_test "iamcu-inval-1" "-march=iamcu -al" |
81486035 | 562 | } |
00687228 L |
563 | } |
564 | ||
6482c264 NC |
565 | # This is a PE specific test. |
566 | if { [istarget "*-*-cygwin*"] || [istarget "*-*-pe"] | |
567 | || [istarget "*-*-mingw*"] | |
568 | } then { | |
569 | run_dump_test "secrel" | |
570 | } | |
571 | ||
a5f21126 L |
572 | # Miscellaneous tests. |
573 | run_dump_test "pr12589-1" | |
574 | ||
b96d3a20 JH |
575 | set ASFLAGS "$old_ASFLAGS" |
576 | } | |
6e0b89ee | 577 | |
cdcf9467 | 578 | # Common tests |
fc0763e6 | 579 | if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then { |
da5f19a2 | 580 | if {![istarget "i*86-*-elfiamcu"] && [gas_64_check]} then { |
81486035 L |
581 | run_dump_test "intel-expr" |
582 | run_dump_test "string-ok" | |
583 | } | |
fc0763e6 | 584 | run_list_test "string-bad" "" |
f76bf5e0 | 585 | run_list_test "reg-bad" "" |
cdcf9467 | 586 | run_list_test "space1" "-al" |
d6793fa1 | 587 | run_list_test "xmmword" "" |
c22faadb | 588 | run_dump_test rept |
df41fdf4 | 589 | run_dump_test pr19498 |
62a02d25 | 590 | run_list_test "nop-bad-1" "" |
f7768225 | 591 | run_list_test "unspec" "" |
4f9adf89 L |
592 | if [is_elf_format] then { |
593 | run_list_test_stdin "list-1" "-al" | |
594 | run_list_test_stdin "list-2" "-al" | |
595 | run_list_test_stdin "list-3" "-al" | |
12a8b92e | 596 | run_dump_test "dw2-compress-1" |
b8871f35 L |
597 | run_dump_test "dw2-compress-3a" |
598 | run_dump_test "dw2-compress-3b" | |
151411f8 | 599 | run_dump_test "dw2-compressed-1" |
b8871f35 L |
600 | run_dump_test "dw2-compressed-3a" |
601 | run_dump_test "dw2-compressed-3b" | |
12a8b92e | 602 | } |
fc0763e6 JB |
603 | } |
604 | ||
fc847f15 | 605 | if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] then { |
b96d3a20 JH |
606 | |
607 | global ASFLAGS | |
608 | set old_ASFLAGS "$ASFLAGS" | |
8325cc63 | 609 | set ASFLAGS "$ASFLAGS --64 --defsym x86_64=1 --strip-local-absolute" |
b96d3a20 JH |
610 | |
611 | run_dump_test "x86_64" | |
a8484f96 | 612 | run_dump_test "x86_64-intel" |
20f0a1fc | 613 | run_dump_test "x86-64-addr32" |
185b1163 | 614 | run_dump_test "x86-64-addr32-intel" |
831b02f6 | 615 | run_dump_test "x86-64-opcode" |
dfb07592 | 616 | run_dump_test "x86-64-intel64" |
3ee6e4fb | 617 | if { ! [istarget "*-*-*cygwin*"] && ![istarget "*-*-mingw*"] } then { |
0cd63f3d | 618 | run_dump_test "x86-64-pcrel" |
fa8761a3 | 619 | run_dump_test "x86-64-disassem" |
0cd63f3d KT |
620 | } else { |
621 | run_dump_test "x86-64-w64-pcrel" | |
622 | } | |
20f0a1fc | 623 | run_dump_test "x86-64-rip" |
185b1163 | 624 | run_dump_test "x86-64-rip-intel" |
1a114b12 JB |
625 | run_dump_test "x86-64-stack" |
626 | run_dump_test "x86-64-stack-intel" | |
627 | run_dump_test "x86-64-stack-suffix" | |
831b02f6 | 628 | run_list_test "x86-64-inval" "-al" |
4cc91dba | 629 | run_list_test "x86-64-segment" "-al" |
848930b2 | 630 | run_dump_test "x86-64-segovr" |
4cc91dba | 631 | run_list_test "x86-64-inval-seg" "-al" |
003519a7 | 632 | run_dump_test "x86-64-branch" |
c07315e0 | 633 | run_dump_test "movz64" |
7898a2b1 | 634 | run_dump_test "x86-64-relax-1" |
30123838 | 635 | run_dump_test "svme64" |
050dfa73 | 636 | run_dump_test "x86-64-amdfam10" |
90700ea2 | 637 | run_dump_test "x86-64-vmx" |
8729a6f6 | 638 | run_dump_test "x86-64-vmfunc" |
9cd96992 | 639 | run_dump_test "immed64" |
bc2ae10b | 640 | run_dump_test "x86-64-sse3" |
6dd5059a L |
641 | run_dump_test "x86-64-crx" |
642 | run_dump_test "x86-64-crx-suffix" | |
a1cfb73e L |
643 | run_dump_test "x86-64-drx" |
644 | run_dump_test "x86-64-drx-suffix" | |
68f34464 | 645 | run_dump_test "x86-64-cdr" |
bc2ae10b | 646 | run_dump_test "x86-64-ssse3" |
35c52694 L |
647 | run_dump_test "x86-64-rep" |
648 | run_dump_test "x86-64-rep-suffix" | |
d5de92cf | 649 | run_list_test "x86-64-inval-rep" "-al" |
c32fa91d L |
650 | run_dump_test "x86-64-lock-1" |
651 | run_dump_test "x86-64-lock-1-intel" | |
652 | run_list_test "x86-64-lockbad-1" "-al" | |
f16cd0d5 L |
653 | run_dump_test "x86-64-long-1" |
654 | run_dump_test "x86-64-long-1-intel" | |
a35ca55a JB |
655 | run_dump_test "x86-64-cbw" |
656 | run_dump_test "x86-64-cbw-intel" | |
52fd6d94 JB |
657 | run_dump_test "x86-64-io" |
658 | run_dump_test "x86-64-io-intel" | |
659 | run_dump_test "x86-64-io-suffix" | |
cb6d3433 | 660 | run_dump_test "x86-64-gidt" |
15965411 | 661 | run_dump_test "x86-64-nops" |
872ce6ff | 662 | run_dump_test "x86-64-nops-1" |
da98bb4c | 663 | run_dump_test "x86-64-nops-1-g64" |
ccc9c027 | 664 | run_dump_test "x86-64-nops-1-k8" |
bc2ae10b | 665 | run_dump_test "x86-64-nops-1-core2" |
711eedef | 666 | run_dump_test "x86-64-nops-1-pentium" |
76bc74dc L |
667 | run_dump_test "x86-64-nops-2" |
668 | run_dump_test "x86-64-nops-3" | |
669 | run_dump_test "x86-64-nops-4" | |
670 | run_dump_test "x86-64-nops-4-core2" | |
671 | run_dump_test "x86-64-nops-4-k8" | |
fbf3f584 L |
672 | run_dump_test "x86-64-nops-5" |
673 | run_dump_test "x86-64-nops-5-k8" | |
3ae729d5 | 674 | run_dump_test "x86-64-nops-7" |
4174bfff | 675 | run_list_test "cvtsi2sX" |
42903f7f | 676 | run_dump_test "x86-64-sse4_1" |
c3ad16c0 | 677 | run_dump_test "x86-64-sse4_1-intel" |
381d071f | 678 | run_dump_test "x86-64-sse4_2" |
c3ad16c0 | 679 | run_dump_test "x86-64-sse4_2-intel" |
9344ff29 L |
680 | run_dump_test "x86-64-crc32" |
681 | run_dump_test "x86-64-crc32-intel" | |
20592a94 | 682 | run_list_test "x86-64-inval-crc32" "-al" |
09a2c6cf L |
683 | run_dump_test "x86-64-simd" |
684 | run_dump_test "x86-64-simd-intel" | |
8a72226a | 685 | run_dump_test "x86-64-simd-suffix" |
d9a5e5e5 L |
686 | run_dump_test "x86-64-mem" |
687 | run_dump_test "x86-64-mem-intel" | |
5cee3fe6 | 688 | run_dump_test "x86-64-reg" |
0645f0a2 | 689 | run_list_test "x86-64-reg-bad" "-al" |
5cee3fe6 | 690 | run_dump_test "x86-64-reg-intel" |
db51cc60 L |
691 | run_dump_test "x86-64-sib" |
692 | run_dump_test "x86-64-sib-intel" | |
0e1147d9 | 693 | run_dump_test "x86-64-disp" |
6cee4cda | 694 | run_dump_test "x86-64-disp-intel" |
8325cc63 | 695 | run_dump_test "intel-movs64" |
f8a5c266 | 696 | run_dump_test "x86-64-disp32" |
c6add537 | 697 | run_dump_test "rexw" |
4c692bc7 | 698 | run_list_test "x86-64-specific-reg" |
83b16ac6 | 699 | run_list_test "suffix-bad" |
e4630f71 | 700 | run_list_test "x86-64-suffix-bad" |
23e42951 | 701 | run_list_test "unspec64" "" |
7a8655d2 | 702 | run_list_test "prefix64" "-al" |
eacc9c89 L |
703 | run_dump_test "x86-64-fxsave" |
704 | run_dump_test "x86-64-fxsave-intel" | |
599121aa | 705 | run_dump_test "x86-64-arch-1" |
e8efc4d9 | 706 | run_dump_test "x86-64-arch-2" |
029f3522 | 707 | run_dump_test "x86-64-arch-3" |
6c30d220 | 708 | run_dump_test "x86-64-arch-2-lzcnt" |
e2e1fcde | 709 | run_dump_test "x86-64-arch-2-prefetchw" |
160a30bb | 710 | run_dump_test "x86-64-arch-2-bdver1" |
5c5acbbd | 711 | run_dump_test "x86-64-arch-2-bdver2" |
5e5c50d3 | 712 | run_dump_test "x86-64-arch-2-bdver3" |
c7b0bd56 | 713 | run_dump_test "x86-64-arch-2-bdver4" |
029f3522 | 714 | run_dump_test "x86-64-arch-3-znver1" |
a9660a6f | 715 | run_dump_test "x86-64-arch-3-znver2" |
7b458c12 L |
716 | run_dump_test "x86-64-arch-2-btver1" |
717 | run_dump_test "x86-64-arch-2-btver2" | |
6788fa52 L |
718 | run_list_test "x86-64-arch-2-1" "-march=generic64 -I${srcdir}/$subdir -al" |
719 | run_list_test "x86-64-arch-2-2" "-march=generic64+cx16 -I${srcdir}/$subdir -al" | |
1d3f8286 | 720 | run_dump_test "xmmhi64" |
475a2301 L |
721 | run_dump_test "x86-64-xsave" |
722 | run_dump_test "x86-64-xsave-intel" | |
c0f3af97 L |
723 | run_dump_test "x86-64-aes" |
724 | run_dump_test "x86-64-aes-intel" | |
725 | run_dump_test "x86-64-clmul" | |
726 | run_dump_test "x86-64-clmul-intel" | |
727 | run_dump_test "x86-64-avx" | |
728 | run_dump_test "x86-64-avx-intel" | |
539f890d L |
729 | run_dump_test "x86-64-avx-scalar" |
730 | run_dump_test "x86-64-avx-scalar-intel" | |
d5f787c2 | 731 | run_dump_test "x86-64-avx-scalar-2" |
6c30d220 | 732 | run_dump_test "x86-64-avx256int" |
48521003 IT |
733 | run_dump_test "x86-64-avx_gfni" |
734 | run_dump_test "x86-64-avx_gfni-intel" | |
6c30d220 L |
735 | run_dump_test "x86-64-avx256int-intel" |
736 | run_dump_test "x86-64-avx2" | |
737 | run_dump_test "x86-64-avx2-intel" | |
738 | run_dump_test "x86-64-avx-gather" | |
739 | run_dump_test "x86-64-avx-gather-intel" | |
03751133 L |
740 | run_dump_test "x86-64-avx-wig" |
741 | run_dump_test "x86-64-avx2-wig" | |
fd71a375 | 742 | run_dump_test "x86-64-vex-lig-2" |
43234a1e L |
743 | run_dump_test "x86-64-avx512f" |
744 | run_dump_test "x86-64-avx512f-intel" | |
745 | run_dump_test "x86-64-avx512f-opts" | |
746 | run_dump_test "x86-64-avx512f-opts-intel" | |
747 | run_dump_test "x86-64-avx512f-nondef" | |
748 | run_dump_test "x86-64-avx512cd" | |
749 | run_dump_test "x86-64-avx512cd-intel" | |
750 | run_dump_test "x86-64-avx512er" | |
751 | run_dump_test "x86-64-avx512er-intel" | |
752 | run_dump_test "x86-64-avx512pf" | |
753 | run_dump_test "x86-64-avx512pf-intel" | |
754 | run_dump_test "x86-64-evex-lig256" | |
755 | run_dump_test "x86-64-evex-lig512" | |
756 | run_dump_test "x86-64-evex-lig256-intel" | |
757 | run_dump_test "x86-64-evex-lig512-intel" | |
04e2a182 | 758 | run_dump_test "x86-64-evex-lig-2" |
43234a1e L |
759 | run_dump_test "x86-64-evex-wig1" |
760 | run_dump_test "x86-64-evex-wig1-intel" | |
606cc040 | 761 | run_dump_test "x86-64-evex-wig2" |
c0f3af97 L |
762 | run_dump_test "x86-64-sse2avx" |
763 | run_list_test "x86-64-inval-avx" "-al" | |
43234a1e | 764 | run_list_test "x86-64-inval-avx512f" "-al" |
daf50ae7 | 765 | run_dump_test "x86-64-sse-check" |
cb19c032 | 766 | run_dump_test "x86-64-sse-check-none" |
daf50ae7 L |
767 | run_dump_test "x86-64-sse-check-warn" |
768 | run_list_test "x86-64-sse-check-error" "-msse-check=error -I${srcdir}/$subdir -al" | |
7bab8ab5 JB |
769 | run_dump_test "x86-64-vgather-check" |
770 | run_dump_test "x86-64-vgather-check-none" | |
771 | run_dump_test "x86-64-vgather-check-warn" | |
772 | run_list_test "x86-64-vgather-check-error" "-moperand-check=error -I${srcdir}/$subdir" | |
9ba52a26 | 773 | run_dump_test "x86-64-sse-noavx" |
f1f8f695 L |
774 | run_dump_test "x86-64-movbe" |
775 | run_dump_test "x86-64-movbe-intel" | |
776 | run_list_test "x86-64-inval-movbe" "-al" | |
777 | run_dump_test "x86-64-ept" | |
778 | run_dump_test "x86-64-ept-intel" | |
779 | run_list_test "x86-64-inval-ept" "-al" | |
6c30d220 L |
780 | run_dump_test "x86-64-invpcid" |
781 | run_dump_test "x86-64-invpcid-intel" | |
782 | run_list_test "x86-64-inval-invpcid" "-al" | |
b6169b20 L |
783 | run_dump_test "x86-64-opts" |
784 | run_dump_test "x86-64-opts-intel" | |
785 | run_dump_test "x86-64-sse2avx-opts" | |
786 | run_dump_test "x86-64-sse2avx-opts-intel" | |
fa99fab2 L |
787 | run_dump_test "x86-64-avx-swap" |
788 | run_dump_test "x86-64-avx-swap-intel" | |
6c30d220 L |
789 | run_dump_test "x86-64-bmi2" |
790 | run_dump_test "x86-64-bmi2-intel" | |
0bfee649 L |
791 | run_dump_test "x86-64-fma" |
792 | run_dump_test "x86-64-fma-intel" | |
1c480963 L |
793 | run_dump_test "x86-64-fma-scalar" |
794 | run_dump_test "x86-64-fma-scalar-intel" | |
42164a71 L |
795 | run_dump_test "x86-64-hle" |
796 | run_dump_test "x86-64-hle-intel" | |
797 | run_list_test "x86-64-hlebad" "-al" | |
798 | run_dump_test "x86-64-rtm" | |
799 | run_dump_test "x86-64-rtm-intel" | |
922d8de8 | 800 | run_dump_test "x86-64-fma4" |
f88c9eb0 | 801 | run_dump_test "x86-64-lwp" |
5dd85c99 | 802 | run_dump_test "x86-64-xop" |
f12dc422 L |
803 | run_dump_test "x86-64-bmi" |
804 | run_dump_test "x86-64-bmi-intel" | |
2a2a0f38 QN |
805 | run_dump_test "x86-64-tbm" |
806 | run_dump_test "x86-64-tbm-intel" | |
c7b8aa3a L |
807 | run_dump_test "x86-64-f16c" |
808 | run_dump_test "x86-64-f16c-intel" | |
809 | run_dump_test "x86-64-fsgs" | |
810 | run_dump_test "x86-64-fsgs-intel" | |
811 | run_dump_test "x86-64-rdrnd" | |
812 | run_dump_test "x86-64-rdrnd-intel" | |
fa94de6b | 813 | run_dump_test "x86-64-bundle" |
e2e1fcde L |
814 | run_dump_test "x86-64-adx" |
815 | run_dump_test "x86-64-adx-intel" | |
816 | run_dump_test "x86-64-rdseed" | |
817 | run_dump_test "x86-64-rdseed-intel" | |
d7189fa5 RM |
818 | run_dump_test "x86-64-prefetch" |
819 | run_dump_test "x86-64-prefetch-intel" | |
5c111e37 | 820 | run_dump_test "x86-64-smap" |
7e8b059b L |
821 | run_dump_test "x86-64-mpx" |
822 | run_list_test "x86-64-mpx-inval-1" "-al" | |
823 | run_list_test "x86-64-mpx-inval-2" "-al" | |
824 | run_dump_test "x86-64-mpx-addr32" | |
825 | run_dump_test "x86-64-mpx-add-bnd-prefix" | |
a0046408 | 826 | run_dump_test "x86-64-sha" |
963f3586 IT |
827 | run_dump_test "x86-64-clflushopt" |
828 | run_dump_test "x86-64-clflushopt-intel" | |
829 | run_dump_test "x86-64-xsavec" | |
830 | run_dump_test "x86-64-xsavec-intel" | |
831 | run_dump_test "x86-64-xsaves" | |
832 | run_dump_test "x86-64-xsaves-intel" | |
dcf893b5 IT |
833 | run_dump_test "x86-64-prefetchwt1" |
834 | run_dump_test "x86-64-prefetchwt1-intel" | |
2cf200a4 | 835 | run_dump_test "x86-64-se1" |
d3bb6b49 | 836 | run_dump_test "x86-64-equ" |
b28d1bda IT |
837 | run_dump_test "x86-64-avx512f_vl-intel" |
838 | run_dump_test "x86-64-avx512f_vl-opts-intel" | |
839 | run_dump_test "x86-64-avx512f_vl-opts" | |
840 | run_dump_test "x86-64-avx512f_vl-wig1-intel" | |
841 | run_dump_test "x86-64-avx512f_vl-wig1" | |
842 | run_dump_test "x86-64-avx512f_vl" | |
99282af6 IT |
843 | run_dump_test "x86-64-avx512cd_vl-intel" |
844 | run_dump_test "x86-64-avx512cd_vl" | |
1ba585e8 IT |
845 | run_dump_test "x86-64-avx512bw-intel" |
846 | run_dump_test "x86-64-avx512bw-opts-intel" | |
847 | run_dump_test "x86-64-avx512bw-opts" | |
848 | run_dump_test "x86-64-avx512bw-wig1-intel" | |
849 | run_dump_test "x86-64-avx512bw-wig1" | |
850 | run_dump_test "x86-64-avx512bw" | |
851 | run_dump_test "x86-64-avx512bw_vl-intel" | |
852 | run_dump_test "x86-64-avx512bw_vl-opts-intel" | |
853 | run_dump_test "x86-64-avx512bw_vl-opts" | |
854 | run_dump_test "x86-64-avx512bw_vl-wig1-intel" | |
855 | run_dump_test "x86-64-avx512bw_vl-wig1" | |
856 | run_dump_test "x86-64-avx512bw_vl" | |
90a915bf IT |
857 | run_dump_test "x86-64-avx512dq-intel" |
858 | run_dump_test "x86-64-avx512dq" | |
859 | run_dump_test "x86-64-avx512dq_vl-intel" | |
860 | run_dump_test "x86-64-avx512dq_vl" | |
4b4c407a L |
861 | run_dump_test "x86-64-suffix" |
862 | run_dump_test "x86-64-suffix-intel" | |
d3d3c6db IT |
863 | run_dump_test "x86-64-avx512dq-rcigrd-intel" |
864 | run_dump_test "x86-64-avx512dq-rcigrd" | |
865 | run_dump_test "x86-64-avx512dq-rcigrne-intel" | |
866 | run_dump_test "x86-64-avx512dq-rcigrne" | |
867 | run_dump_test "x86-64-avx512dq-rcigru-intel" | |
868 | run_dump_test "x86-64-avx512dq-rcigru" | |
869 | run_dump_test "x86-64-avx512dq-rcigrz-intel" | |
870 | run_dump_test "x86-64-avx512dq-rcigrz" | |
871 | run_dump_test "x86-64-avx512er-rcigrd-intel" | |
872 | run_dump_test "x86-64-avx512er-rcigrd" | |
873 | run_dump_test "x86-64-avx512er-rcigrne-intel" | |
874 | run_dump_test "x86-64-avx512er-rcigrne" | |
875 | run_dump_test "x86-64-avx512er-rcigru-intel" | |
876 | run_dump_test "x86-64-avx512er-rcigru" | |
877 | run_dump_test "x86-64-avx512er-rcigrz-intel" | |
878 | run_dump_test "x86-64-avx512er-rcigrz" | |
879 | run_dump_test "x86-64-avx512f-rcigrd-intel" | |
880 | run_dump_test "x86-64-avx512f-rcigrd" | |
881 | run_dump_test "x86-64-avx512f-rcigrne-intel" | |
882 | run_dump_test "x86-64-avx512f-rcigrne" | |
883 | run_dump_test "x86-64-avx512f-rcigru-intel" | |
884 | run_dump_test "x86-64-avx512f-rcigru" | |
885 | run_dump_test "x86-64-avx512f-rcigrz-intel" | |
886 | run_dump_test "x86-64-avx512f-rcigrz" | |
c5e7287a IT |
887 | run_dump_test "x86-64-clwb" |
888 | run_dump_test "x86-64-clwb-intel" | |
2cc1b5aa IT |
889 | run_dump_test "x86-64-avx512ifma" |
890 | run_dump_test "x86-64-avx512ifma-intel" | |
891 | run_dump_test "x86-64-avx512ifma_vl" | |
892 | run_dump_test "x86-64-avx512ifma_vl-intel" | |
14f195c9 IT |
893 | run_dump_test "x86-64-avx512vbmi" |
894 | run_dump_test "x86-64-avx512vbmi-intel" | |
895 | run_dump_test "x86-64-avx512vbmi_vl" | |
896 | run_dump_test "x86-64-avx512vbmi_vl-intel" | |
920d2ddc IT |
897 | run_dump_test "x86-64-avx512_4fmaps" |
898 | run_dump_test "x86-64-avx512_4fmaps-intel" | |
920d2ddc | 899 | run_list_test "x86-64-avx512_4fmaps-warn" |
47acf0bd IT |
900 | run_dump_test "x86-64-avx512_4vnniw" |
901 | run_dump_test "x86-64-avx512_4vnniw-intel" | |
620214f7 IT |
902 | run_dump_test "x86-64-avx512_vpopcntdq" |
903 | run_dump_test "x86-64-avx512_vpopcntdq-intel" | |
53467f57 IT |
904 | run_dump_test "x86-64-avx512vbmi2" |
905 | run_dump_test "x86-64-avx512vbmi2-intel" | |
906 | run_dump_test "x86-64-avx512vbmi2_vl" | |
907 | run_dump_test "x86-64-avx512vbmi2_vl-intel" | |
48521003 IT |
908 | run_dump_test "x86-64-avx512f_gfni" |
909 | run_dump_test "x86-64-avx512f_gfni-intel" | |
910 | run_dump_test "x86-64-avx512vl_gfni" | |
911 | run_dump_test "x86-64-avx512vl_gfni-intel" | |
8dcf1fad IT |
912 | run_dump_test "x86-64-avx512f_vaes" |
913 | run_dump_test "x86-64-avx512f_vaes-intel" | |
914 | run_dump_test "x86-64-avx512f_vaes-wig1" | |
915 | run_dump_test "x86-64-avx512f_vaes-wig1-intel" | |
916 | run_dump_test "x86-64-avx512vl_vaes" | |
917 | run_dump_test "x86-64-avx512vl_vaes-intel" | |
918 | run_dump_test "x86-64-avx512vl_vaes-wig1" | |
919 | run_dump_test "x86-64-avx512vl_vaes-wig1-intel" | |
ff1982d5 IT |
920 | run_dump_test "x86-64-avx512f_vpclmulqdq" |
921 | run_dump_test "x86-64-avx512f_vpclmulqdq-intel" | |
922 | run_dump_test "x86-64-avx512f_vpclmulqdq-wig1" | |
923 | run_dump_test "x86-64-avx512f_vpclmulqdq-wig1-intel" | |
924 | run_dump_test "x86-64-avx512vl_vpclmulqdq" | |
925 | run_dump_test "x86-64-avx512vl_vpclmulqdq-intel" | |
926 | run_dump_test "x86-64-avx512vl_vpclmulqdq-wig1" | |
927 | run_dump_test "x86-64-avx512vl_vpclmulqdq-wig1-intel" | |
8cfcb765 IT |
928 | run_dump_test "x86-64-avx512vnni" |
929 | run_dump_test "x86-64-avx512vnni-intel" | |
930 | run_dump_test "x86-64-avx512vnni_vl" | |
931 | run_dump_test "x86-64-avx512vnni_vl-intel" | |
ee6872be IT |
932 | run_dump_test "x86-64-avx512bitalg" |
933 | run_dump_test "x86-64-avx512bitalg-intel" | |
934 | run_dump_test "x86-64-avx512bitalg_vl" | |
935 | run_dump_test "x86-64-avx512bitalg_vl-intel" | |
029f3522 | 936 | run_dump_test "x86-64-clzero" |
9916071f AP |
937 | run_dump_test "x86-64-mwaitx-bdver4" |
938 | run_list_test "x86-64-mwaitx-reg" | |
8eab4136 | 939 | run_dump_test "x86-64-ospke" |
8bc52696 AF |
940 | run_dump_test "x86-64-rdpid" |
941 | run_dump_test "x86-64-rdpid-intel" | |
6b40c462 L |
942 | run_dump_test "x86-64-ptwrite" |
943 | run_dump_test "x86-64-ptwrite-intel" | |
48521003 IT |
944 | run_dump_test "x86-64-gfni" |
945 | run_dump_test "x86-64-gfni-intel" | |
8dcf1fad IT |
946 | run_dump_test "x86-64-vaes" |
947 | run_dump_test "x86-64-vaes-intel" | |
ff1982d5 IT |
948 | run_dump_test "x86-64-vpclmulqdq" |
949 | run_dump_test "x86-64-vpclmulqdq-intel" | |
3233d7d0 IT |
950 | run_dump_test "x86-64-wbnoinvd" |
951 | run_dump_test "x86-64-wbnoinvd-intel" | |
be3a8dca IT |
952 | run_dump_test "x86-64-pconfig" |
953 | run_dump_test "x86-64-pconfig-intel" | |
de89d0a3 IT |
954 | run_dump_test "x86-64-waitpkg" |
955 | run_dump_test "x86-64-waitpkg-intel" | |
c48935d7 IT |
956 | run_dump_test "x86-64-cldemote" |
957 | run_dump_test "x86-64-cldemote-intel" | |
c0a30a9f L |
958 | run_dump_test "x86-64-movdir" |
959 | run_dump_test "x86-64-movdir-intel" | |
960 | run_list_test "x86-64-movdir64b-reg" | |
e4e00185 AS |
961 | run_dump_test "x86-64-fence-as-lock-add-yes" |
962 | run_dump_test "x86-64-fence-as-lock-add-no" | |
f1360d58 | 963 | run_dump_test "x86-64-pr20141" |
73b090a9 L |
964 | run_list_test "x86-64-avx512vl-1" "-al" |
965 | run_list_test "x86-64-avx512vl-2" "-al" | |
9889cbb1 | 966 | run_dump_test "x86-64-opcode-bad" |
603555e5 L |
967 | run_dump_test "x86-64-cet" |
968 | run_dump_test "x86-64-cet-intel" | |
d777820b IT |
969 | run_list_test "x86-64-cet-ibt-inval" |
970 | run_list_test "x86-64-cet-shstk-inval" | |
86fa6981 | 971 | run_dump_test "x86-64-pseudos" |
04ef582a L |
972 | run_dump_test "x86-64-notrack" |
973 | run_dump_test "x86-64-notrack-intel" | |
974 | run_list_test "x86-64-notrackbad" "-al" | |
704a705d L |
975 | run_dump_test "x86-64-movd" |
976 | run_dump_test "x86-64-movd-intel" | |
62a02d25 L |
977 | run_dump_test "x86-64-nop-1" |
978 | run_dump_test "x86-64-nop-2" | |
b6f8c7c4 L |
979 | run_dump_test "x86-64-optimize-1" |
980 | run_dump_test "x86-64-optimize-2" | |
981 | run_dump_test "x86-64-optimize-3" | |
982 | run_dump_test "x86-64-optimize-4" | |
0089dace L |
983 | run_dump_test "x86-64-optimize-5" |
984 | run_dump_test "x86-64-optimize-6" | |
b96d3a20 | 985 | |
b1905489 JB |
986 | if { ![istarget "*-*-aix*"] |
987 | && ![istarget "*-*-beos*"] | |
988 | && ![istarget "*-*-*bsd*"] | |
989 | && ![istarget "*-*-chaos*"] | |
990 | && ![istarget "*-*-kaos*"] | |
991 | && ![istarget "*-*-lynx*"] | |
992 | && ![istarget "*-*-moss*"] | |
993 | && ![istarget "*-*-nto-qnx*"] | |
994 | && ![istarget "*-*-rtems*"] | |
995 | && ![istarget "*-*-sco*"] | |
996 | && ![istarget "*-*-solaris*"] | |
997 | && ![istarget "*-*-sysv*"] } then { | |
998 | run_dump_test "rex" | |
999 | } | |
1000 | ||
3956db08 JB |
1001 | # ELF specific tests |
1002 | if [is_elf_format] then { | |
f5d9e816 L |
1003 | # Verify that @unwind works. |
1004 | run_dump_test "x86-64-unwind" | |
1005 | ||
3956db08 JB |
1006 | run_dump_test "reloc64" |
1007 | run_list_test "reloc64" "--defsym _bad_=1" | |
4fa24527 | 1008 | run_dump_test "mixed-mode-reloc64" |
915bcca5 | 1009 | run_dump_test "x86-64-ifunc" |
4261360e AM |
1010 | run_dump_test "x86-64-opcode-inval" |
1011 | run_dump_test "x86-64-opcode-inval-intel" | |
1012 | run_dump_test "intel-got64" | |
8a9036a4 | 1013 | run_dump_test "l1om" |
7a9068fe | 1014 | run_dump_test "k1om" |
f5d9e816 | 1015 | run_dump_test "x86-64-localpic" |
df1c40a7 | 1016 | run_dump_test "debug1" |
c3320543 L |
1017 | run_dump_test "x86-64-mpx-branch-1" |
1018 | run_dump_test "x86-64-mpx-branch-2" | |
368886ac | 1019 | |
089b8992 | 1020 | run_dump_test "x86-64-dw2-compress-2" |
151411f8 | 1021 | run_dump_test "x86-64-dw2-compressed-2" |
8fd4256d L |
1022 | |
1023 | run_dump_test "x86-64-size-1" | |
1024 | run_dump_test "x86-64-size-2" | |
1025 | run_dump_test "x86-64-size-3" | |
1026 | run_dump_test "x86-64-size-4" | |
1027 | run_dump_test "x86-64-size-5" | |
1028 | run_list_test "x86-64-size-inval-1" "-al" | |
b084df0b L |
1029 | |
1030 | run_dump_test "x86-64-relax-2" | |
8dcea932 | 1031 | run_dump_test "x86-64-relax-3" |
a72d2af2 L |
1032 | |
1033 | run_dump_test "x86-64-jump" | |
5db04b09 L |
1034 | run_dump_test "x86-64-branch-2" |
1035 | run_list_test "x86-64-branch-3" "-al -mintel64" | |
07f5af7d | 1036 | run_list_test "x86-64-branch-4" "-al -mintel64" |
56ceb5b5 L |
1037 | |
1038 | run_dump_test "x86-64-gotpcrel" | |
0cb4071e | 1039 | run_dump_test "x86-64-gotpcrel-no-relax" |
4e21640f L |
1040 | |
1041 | run_dump_test "x86-64-addend" | |
62a02d25 L |
1042 | run_dump_test "x86-64-nop-3" |
1043 | run_dump_test "x86-64-nop-4" | |
1044 | run_dump_test "x86-64-nop-5" | |
1045 | run_dump_test "x86-64-nop-6" | |
99c2d522 L |
1046 | |
1047 | run_dump_test "evex-no-scale-64" | |
90c745dc | 1048 | run_dump_test "x86-64-property-1" |
3956db08 JB |
1049 | } |
1050 | ||
b96d3a20 | 1051 | set ASFLAGS "$old_ASFLAGS" |
252b5132 | 1052 | } |