Add Intel AVX-512 support
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / i386.exp
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
18 #
19 # i386 tests
20 #
21 proc gas_64_check { } {
22 global NM
23 global NMFLAGS
24
25 set status [gas_host_run "$NM $NMFLAGS --help" ""]
26 return [regexp "targets:.*x86-64" [lindex $status 1]];
27 }
28
29 proc gas_32_check { } {
30 global NM
31 global NMFLAGS
32
33 set status [gas_host_run "$NM $NMFLAGS --help" ""]
34 return [regexp "targets:.*i386" [lindex $status 1]];
35 }
36
37 if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] then {
38
39 global ASFLAGS
40 set old_ASFLAGS "$ASFLAGS"
41 set ASFLAGS "$ASFLAGS --32"
42
43 run_list_test "float" "-al -mmnemonic=att"
44 run_list_test "general" "-al --listing-lhs-width=2 -mold-gcc"
45 run_list_test "inval" "-al"
46 run_list_test "segment" "-al"
47 run_list_test "inval-seg" "-al"
48 run_list_test "inval-reg" "-al"
49 run_list_test "modrm" "-al --listing-lhs-width=2"
50 run_dump_test "naked"
51 run_dump_test "opcode"
52 run_dump_test "opcode-intel"
53 run_dump_test "opcode-suffix"
54 run_dump_test "intel"
55 run_dump_test "intel16"
56 run_list_test "intelbad" ""
57 run_dump_test "intelok"
58 run_dump_test "prefix"
59 run_dump_test "amd"
60 run_dump_test "katmai"
61 run_dump_test "jump"
62 run_dump_test "relax-1"
63 run_dump_test "relax-2"
64 run_dump_test "ssemmx2"
65 run_dump_test "sse2"
66 run_dump_test "sub"
67 run_dump_test "sse3"
68 run_dump_test "sib"
69 run_dump_test "sib-intel"
70 run_dump_test "disp"
71 run_dump_test "disp-intel"
72 run_dump_test "disp32"
73 run_dump_test "vmx"
74 run_dump_test "vmfunc"
75 run_dump_test "smx"
76 run_dump_test "suffix"
77 run_dump_test "immed32"
78 run_dump_test "equ"
79 run_dump_test "divide"
80 run_dump_test "padlock"
81 run_dump_test "crx"
82 run_list_test "cr-err" ""
83 run_dump_test "svme"
84 run_dump_test "amdfam10"
85 run_dump_test "ssse3"
86 run_dump_test "rep"
87 run_dump_test "rep-suffix"
88 run_list_test "inval-rep" "-al"
89 run_dump_test "lock-1"
90 run_dump_test "lock-1-intel"
91 run_list_test "lockbad-1" "-al"
92 run_dump_test "long-1"
93 run_dump_test "long-1-intel"
94 run_dump_test "fp"
95 run_dump_test "nops"
96 run_dump_test "nops16-1"
97 run_dump_test "nops-1"
98 run_dump_test "nops-1-i386"
99 run_dump_test "nops-1-i386-i686"
100 run_dump_test "nops-1-i686"
101 run_dump_test "nops-1-k8"
102 run_dump_test "nops-1-core2"
103 run_dump_test "nops-1-bdver1"
104 run_dump_test "nops-1-bdver2"
105 run_dump_test "nops-1-bdver3"
106 run_dump_test "nops-1-btver1"
107 run_dump_test "nops-1-btver2"
108 run_dump_test "nops-2"
109 run_dump_test "nops-2-i386"
110 run_dump_test "nops-2-core2"
111 run_dump_test "nops-3"
112 run_dump_test "nops-3-i386"
113 run_dump_test "nops-3-i686"
114 run_dump_test "nops-4"
115 run_dump_test "nops-4-i386"
116 run_dump_test "nops-4-i686"
117 run_dump_test "nops-4a-i686"
118 run_dump_test "nops-5"
119 run_dump_test "nops-5-i686"
120 run_dump_test "nops-6"
121 run_dump_test "addr16"
122 run_dump_test "addr32"
123 run_dump_test "sse4_1"
124 run_dump_test "sse4_1-intel"
125 run_dump_test "sse4_2"
126 run_dump_test "sse4_2-intel"
127 run_dump_test "crc32"
128 run_dump_test "crc32-intel"
129 run_list_test "inval-crc32" "-al"
130 run_dump_test "simd"
131 run_dump_test "simd-intel"
132 run_dump_test "simd-suffix"
133 run_dump_test "mem"
134 run_dump_test "mem-intel"
135 run_dump_test "reg"
136 run_dump_test "reg-intel"
137 run_dump_test "i386"
138 run_dump_test "compat"
139 run_dump_test "compat-intel"
140 run_dump_test "arch-1"
141 run_dump_test "arch-2"
142 run_dump_test "arch-3"
143 run_dump_test "arch-4"
144 run_dump_test "arch-5"
145 run_dump_test "arch-6"
146 run_dump_test "arch-7"
147 run_dump_test "arch-9"
148 run_dump_test "arch-10"
149 run_dump_test "arch-10-lzcnt"
150 run_dump_test "arch-10-prefetchw"
151 run_dump_test "arch-10-bdver1"
152 run_dump_test "arch-10-bdver2"
153 run_dump_test "arch-10-bdver3"
154 run_dump_test "arch-10-btver1"
155 run_dump_test "arch-10-btver2"
156 run_list_test "arch-10-1" "-march=generic32 -I${srcdir}/$subdir -al"
157 run_list_test "arch-10-2" "-march=i686 -I${srcdir}/$subdir -al"
158 run_list_test "arch-10-3" "-march=i686+sse4.2 -I${srcdir}/$subdir -al"
159 run_list_test "arch-10-4" "-march=i686+sse4+vmx+smx -I${srcdir}/$subdir -al"
160 run_dump_test "arch-11"
161 run_dump_test "arch-12"
162 run_dump_test "8087"
163 run_dump_test "287"
164 run_dump_test "387"
165 run_list_test "no87" "-al"
166 run_list_test "no87-2" "-march=i686+no87 -al"
167 run_dump_test "xsave"
168 run_dump_test "xsave-intel"
169 run_dump_test "aes"
170 run_dump_test "aes-intel"
171 run_dump_test "clmul"
172 run_dump_test "clmul-intel"
173 run_dump_test "avx"
174 run_dump_test "avx-intel"
175 run_dump_test "avx-scalar"
176 run_dump_test "avx-scalar-intel"
177 run_dump_test "avx256int"
178 run_dump_test "avx256int-intel"
179 run_dump_test "avx2"
180 run_dump_test "avx2-intel"
181 run_dump_test "avx-gather"
182 run_dump_test "avx-gather-intel"
183 run_dump_test "avx512f"
184 run_dump_test "avx512f-intel"
185 run_dump_test "avx512f-opts"
186 run_dump_test "avx512f-opts-intel"
187 run_dump_test "avx512f-nondef"
188 run_dump_test "avx512cd"
189 run_dump_test "avx512cd-intel"
190 run_dump_test "avx512er"
191 run_dump_test "avx512er-intel"
192 run_dump_test "avx512pf"
193 run_dump_test "avx512pf-intel"
194 run_dump_test "evex-lig256"
195 run_dump_test "evex-lig512"
196 run_dump_test "evex-lig256-intel"
197 run_dump_test "evex-lig512-intel"
198 run_dump_test "evex-wig1"
199 run_dump_test "evex-wig1-intel"
200 run_dump_test "sse2avx"
201 run_list_test "inval-avx" "-al"
202 run_list_test "inval-avx512f" "-al"
203 run_dump_test "sse-check"
204 run_dump_test "sse-check-none"
205 run_dump_test "sse-check-warn"
206 run_list_test "sse-check-error" "-msse-check=error -I${srcdir}/$subdir -al"
207 run_dump_test "vgather-check"
208 run_dump_test "vgather-check-none"
209 run_dump_test "vgather-check-warn"
210 run_list_test "vgather-check-error" "-moperand-check=error -I${srcdir}/$subdir"
211 run_dump_test "sse-noavx"
212 run_dump_test "movbe"
213 run_dump_test "movbe-intel"
214 run_list_test "inval-movbe" "-al"
215 run_dump_test "ept"
216 run_dump_test "ept-intel"
217 run_list_test "inval-ept" "-al"
218 run_dump_test "invpcid"
219 run_dump_test "invpcid-intel"
220 run_list_test "inval-invpcid" "-al"
221 run_dump_test "arch-avx-1"
222 run_list_test "arch-avx-1-1" "-march=generic32+avx -I${srcdir}/$subdir -al"
223 run_list_test "arch-avx-1-2" "-march=generic32+aes -I${srcdir}/$subdir -al"
224 run_list_test "arch-avx-1-3" "-march=generic32+pclmul -I${srcdir}/$subdir -al"
225 run_list_test "arch-avx-1-4" "-march=generic32+avx+aes -I${srcdir}/$subdir -al"
226 run_list_test "arch-avx-1-5" "-march=generic32+avx+pclmul -I${srcdir}/$subdir -al"
227 run_list_test "arch-avx-1-6" "-march=generic32+aes+pclmul -I${srcdir}/$subdir -al"
228 run_dump_test "opts"
229 run_dump_test "opts-intel"
230 run_dump_test "sse2avx-opts"
231 run_dump_test "sse2avx-opts-intel"
232 run_dump_test "bmi2"
233 run_dump_test "bmi2-intel"
234 run_dump_test "fma"
235 run_dump_test "fma-intel"
236 run_dump_test "fma-scalar"
237 run_dump_test "fma-scalar-intel"
238 run_dump_test "hle"
239 run_dump_test "hle-intel"
240 run_list_test "hlebad" "-al"
241 run_dump_test "rtm"
242 run_dump_test "rtm-intel"
243 run_dump_test "fma4"
244 run_dump_test "lwp"
245 run_dump_test "xop"
246 run_dump_test "bmi"
247 run_dump_test "bmi-intel"
248 run_dump_test "tbm"
249 run_dump_test "tbm-intel"
250 run_dump_test "f16c"
251 run_dump_test "f16c-intel"
252 run_dump_test "fsgs"
253 run_dump_test "fsgs-intel"
254 run_dump_test "rdrnd"
255 run_dump_test "rdrnd-intel"
256 run_dump_test "bundle"
257 run_dump_test "bundle-lock"
258 run_dump_test "bundle-bad"
259 run_dump_test "adx"
260 run_dump_test "adx-intel"
261 run_dump_test "rdseed"
262 run_dump_test "rdseed-intel"
263 run_dump_test "prefetch"
264 run_dump_test "prefetch-intel"
265 run_dump_test "smap"
266 run_dump_test "mpx"
267 run_list_test "mpx-inval-1" "-al"
268 run_dump_test "mpx-add-bnd-prefix"
269 run_dump_test "sha"
270
271 # These tests require support for 8 and 16 bit relocs,
272 # so we only run them for ELF and COFF targets.
273 if {[is_elf_format] || [istarget "*-*-coff*"]} then {
274 run_dump_test "reloc"
275 run_dump_test "jump16"
276 run_list_test "white" "-al --listing-lhs-width=3"
277
278 # These tests should in theory work for PE targets as well,
279 # but the relocs we currently produce are slightly different
280 # from those produced for ELF/COFF based toolchains.
281 # So for now we ignore PE targets.
282 run_dump_test "pcrel"
283 run_dump_test "absrel"
284 }
285
286 # ELF specific tests
287 if [is_elf_format] then {
288 # PIC is only supported on ELF targets.
289 run_dump_test "intelpic"
290
291 run_dump_test "relax"
292 run_dump_test "gotpc"
293 run_dump_test "tlsd"
294 run_dump_test "tlspic"
295 run_dump_test "tlsnopic"
296 run_dump_test "bss"
297 run_dump_test "reloc32"
298 run_list_test "reloc32" "--defsym _bad_=1"
299 run_dump_test "mixed-mode-reloc32"
300 run_dump_test "att-regs"
301 run_dump_test "intel-got32"
302 run_dump_test "intel-regs"
303 run_list_test "inval-equ-1" "-al"
304 run_list_test "inval-equ-2" "-al"
305 run_dump_test "ifunc"
306 run_list_test "ifunc-2"
307 run_dump_test "ifunc-3"
308 run_list_test "l1om-inval" "-march=l1om --32"
309 run_list_test "k1om-inval" "-march=k1om --32"
310 run_dump_test "localpic"
311 run_dump_test "debug1"
312
313 run_dump_test "dw2-compress-2"
314
315 run_dump_test "bad-size"
316
317 run_dump_test "size-1"
318 run_dump_test "size-2"
319 run_dump_test "size-3"
320 run_dump_test "size-4"
321 }
322
323 # This is a PE specific test.
324 if { [istarget "*-*-cygwin*"] || [istarget "*-*-pe"]
325 || [istarget "*-*-mingw*"]
326 } then {
327 run_dump_test "secrel"
328 }
329
330 # Miscellaneous tests.
331 run_dump_test "pr12589-1"
332
333 set ASFLAGS "$old_ASFLAGS"
334 }
335
336 # Common tests
337 if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then {
338 run_dump_test "intel-expr"
339 run_dump_test "string-ok"
340 run_list_test "string-bad" ""
341 run_list_test "reg-bad" ""
342 run_list_test "space1" "-al"
343 run_dump_test rept
344 if [is_elf_format] then {
345 run_list_test_stdin "list-1" "-al"
346 run_list_test_stdin "list-2" "-al"
347 run_list_test_stdin "list-3" "-al"
348 run_dump_test "dw2-compress-1"
349 }
350 }
351
352 if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] then {
353
354 global ASFLAGS
355 set old_ASFLAGS "$ASFLAGS"
356 set ASFLAGS "$ASFLAGS --64"
357
358 run_dump_test "x86_64"
359 run_dump_test "x86-64-addr32"
360 run_dump_test "x86-64-addr32-intel"
361 run_dump_test "x86-64-opcode"
362 run_dump_test "x86-64-intel64"
363 if { ![istarget "*-*-mingw*"] } then {
364 run_dump_test "x86-64-pcrel"
365 } else {
366 run_dump_test "x86-64-w64-pcrel"
367 }
368 run_dump_test "x86-64-rip"
369 run_dump_test "x86-64-rip-intel"
370 run_dump_test "x86-64-stack"
371 run_dump_test "x86-64-stack-intel"
372 run_dump_test "x86-64-stack-suffix"
373 run_list_test "x86-64-inval" "-al"
374 run_list_test "x86-64-segment" "-al"
375 run_dump_test "x86-64-segovr"
376 run_list_test "x86-64-inval-seg" "-al"
377 run_dump_test "x86-64-branch"
378 run_dump_test "x86-64-relax-1"
379 run_dump_test "svme64"
380 run_dump_test "x86-64-amdfam10"
381 run_dump_test "x86-64-vmx"
382 run_dump_test "x86-64-vmfunc"
383 run_dump_test "immed64"
384 run_dump_test "x86-64-sse3"
385 run_dump_test "x86-64-crx"
386 run_dump_test "x86-64-crx-suffix"
387 run_dump_test "x86-64-drx"
388 run_dump_test "x86-64-drx-suffix"
389 run_dump_test "x86-64-ssse3"
390 run_dump_test "x86-64-rep"
391 run_dump_test "x86-64-rep-suffix"
392 run_list_test "x86-64-inval-rep" "-al"
393 run_dump_test "x86-64-lock-1"
394 run_dump_test "x86-64-lock-1-intel"
395 run_list_test "x86-64-lockbad-1" "-al"
396 run_dump_test "x86-64-long-1"
397 run_dump_test "x86-64-long-1-intel"
398 run_dump_test "x86-64-cbw"
399 run_dump_test "x86-64-cbw-intel"
400 run_dump_test "x86-64-io"
401 run_dump_test "x86-64-io-intel"
402 run_dump_test "x86-64-io-suffix"
403 run_dump_test "x86-64-gidt"
404 run_dump_test "x86-64-nops"
405 run_dump_test "x86-64-nops-1"
406 run_dump_test "x86-64-nops-1-g64"
407 run_dump_test "x86-64-nops-1-k8"
408 run_dump_test "x86-64-nops-1-nocona"
409 run_dump_test "x86-64-nops-1-core2"
410 run_dump_test "x86-64-nops-1-pentium"
411 run_dump_test "x86-64-nops-1-bdver1"
412 run_dump_test "x86-64-nops-1-bdver2"
413 run_dump_test "x86-64-nops-1-bdver3"
414 run_dump_test "x86-64-nops-1-btver1"
415 run_dump_test "x86-64-nops-1-btver2"
416 run_dump_test "x86-64-nops-2"
417 run_dump_test "x86-64-nops-3"
418 run_dump_test "x86-64-nops-4"
419 run_dump_test "x86-64-nops-4-core2"
420 run_dump_test "x86-64-nops-4-k8"
421 run_dump_test "x86-64-nops-5"
422 run_dump_test "x86-64-nops-5-k8"
423 run_dump_test "x86-64-sse4_1"
424 run_dump_test "x86-64-sse4_1-intel"
425 run_dump_test "x86-64-sse4_2"
426 run_dump_test "x86-64-sse4_2-intel"
427 run_dump_test "x86-64-crc32"
428 run_dump_test "x86-64-crc32-intel"
429 run_list_test "x86-64-inval-crc32" "-al"
430 run_dump_test "x86-64-simd"
431 run_dump_test "x86-64-simd-intel"
432 run_dump_test "x86-64-simd-suffix"
433 run_dump_test "x86-64-mem"
434 run_dump_test "x86-64-mem-intel"
435 run_dump_test "x86-64-reg"
436 run_dump_test "x86-64-reg-intel"
437 run_dump_test "x86-64-sib"
438 run_dump_test "x86-64-sib-intel"
439 run_dump_test "x86-64-disp"
440 run_dump_test "x86-64-disp-intel"
441 run_dump_test "x86-64-disp32"
442 run_dump_test "rexw"
443 run_list_test "x86-64-specific-reg"
444 run_dump_test "x86-64-fxsave"
445 run_dump_test "x86-64-fxsave-intel"
446 run_dump_test "x86-64-arch-1"
447 run_dump_test "x86-64-arch-2"
448 run_dump_test "x86-64-arch-2-lzcnt"
449 run_dump_test "x86-64-arch-2-prefetchw"
450 run_dump_test "x86-64-arch-2-bdver1"
451 run_dump_test "x86-64-arch-2-bdver2"
452 run_dump_test "x86-64-arch-2-bdver3"
453 run_dump_test "x86-64-arch-2-btver1"
454 run_dump_test "x86-64-arch-2-btver2"
455 run_list_test "x86-64-arch-2-1" "-march=generic64 -I${srcdir}/$subdir -al"
456 run_list_test "x86-64-arch-2-2" "-march=generic64+cx16 -I${srcdir}/$subdir -al"
457 run_dump_test "x86-64-xsave"
458 run_dump_test "x86-64-xsave-intel"
459 run_dump_test "x86-64-aes"
460 run_dump_test "x86-64-aes-intel"
461 run_dump_test "x86-64-clmul"
462 run_dump_test "x86-64-clmul-intel"
463 run_dump_test "x86-64-avx"
464 run_dump_test "x86-64-avx-intel"
465 run_dump_test "x86-64-avx-scalar"
466 run_dump_test "x86-64-avx-scalar-intel"
467 run_dump_test "x86-64-avx256int"
468 run_dump_test "x86-64-avx256int-intel"
469 run_dump_test "x86-64-avx2"
470 run_dump_test "x86-64-avx2-intel"
471 run_dump_test "x86-64-avx-gather"
472 run_dump_test "x86-64-avx-gather-intel"
473 run_dump_test "x86-64-avx512f"
474 run_dump_test "x86-64-avx512f-intel"
475 run_dump_test "x86-64-avx512f-opts"
476 run_dump_test "x86-64-avx512f-opts-intel"
477 run_dump_test "x86-64-avx512f-nondef"
478 run_dump_test "x86-64-avx512cd"
479 run_dump_test "x86-64-avx512cd-intel"
480 run_dump_test "x86-64-avx512er"
481 run_dump_test "x86-64-avx512er-intel"
482 run_dump_test "x86-64-avx512pf"
483 run_dump_test "x86-64-avx512pf-intel"
484 run_dump_test "x86-64-evex-lig256"
485 run_dump_test "x86-64-evex-lig512"
486 run_dump_test "x86-64-evex-lig256-intel"
487 run_dump_test "x86-64-evex-lig512-intel"
488 run_dump_test "x86-64-evex-wig1"
489 run_dump_test "x86-64-evex-wig1-intel"
490 run_dump_test "x86-64-sse2avx"
491 run_list_test "x86-64-inval-avx" "-al"
492 run_list_test "x86-64-inval-avx512f" "-al"
493 run_dump_test "x86-64-sse-check"
494 run_dump_test "x86-64-sse-check-none"
495 run_dump_test "x86-64-sse-check-warn"
496 run_list_test "x86-64-sse-check-error" "-msse-check=error -I${srcdir}/$subdir -al"
497 run_dump_test "x86-64-vgather-check"
498 run_dump_test "x86-64-vgather-check-none"
499 run_dump_test "x86-64-vgather-check-warn"
500 run_list_test "x86-64-vgather-check-error" "-moperand-check=error -I${srcdir}/$subdir"
501 run_dump_test "x86-64-sse-noavx"
502 run_dump_test "x86-64-movbe"
503 run_dump_test "x86-64-movbe-intel"
504 run_list_test "x86-64-inval-movbe" "-al"
505 run_dump_test "x86-64-ept"
506 run_dump_test "x86-64-ept-intel"
507 run_list_test "x86-64-inval-ept" "-al"
508 run_dump_test "x86-64-invpcid"
509 run_dump_test "x86-64-invpcid-intel"
510 run_list_test "x86-64-inval-invpcid" "-al"
511 run_dump_test "x86-64-opts"
512 run_dump_test "x86-64-opts-intel"
513 run_dump_test "x86-64-sse2avx-opts"
514 run_dump_test "x86-64-sse2avx-opts-intel"
515 run_dump_test "x86-64-avx-swap"
516 run_dump_test "x86-64-avx-swap-intel"
517 run_dump_test "x86-64-bmi2"
518 run_dump_test "x86-64-bmi2-intel"
519 run_dump_test "x86-64-fma"
520 run_dump_test "x86-64-fma-intel"
521 run_dump_test "x86-64-fma-scalar"
522 run_dump_test "x86-64-fma-scalar-intel"
523 run_dump_test "x86-64-hle"
524 run_dump_test "x86-64-hle-intel"
525 run_list_test "x86-64-hlebad" "-al"
526 run_dump_test "x86-64-rtm"
527 run_dump_test "x86-64-rtm-intel"
528 run_dump_test "x86-64-fma4"
529 run_dump_test "x86-64-lwp"
530 run_dump_test "x86-64-xop"
531 run_dump_test "x86-64-bmi"
532 run_dump_test "x86-64-bmi-intel"
533 run_dump_test "x86-64-tbm"
534 run_dump_test "x86-64-tbm-intel"
535 run_dump_test "x86-64-f16c"
536 run_dump_test "x86-64-f16c-intel"
537 run_dump_test "x86-64-fsgs"
538 run_dump_test "x86-64-fsgs-intel"
539 run_dump_test "x86-64-rdrnd"
540 run_dump_test "x86-64-rdrnd-intel"
541 run_dump_test "x86-64-bundle"
542 run_dump_test "x86-64-adx"
543 run_dump_test "x86-64-adx-intel"
544 run_dump_test "x86-64-rdseed"
545 run_dump_test "x86-64-rdseed-intel"
546 run_dump_test "x86-64-prefetch"
547 run_dump_test "x86-64-prefetch-intel"
548 run_dump_test "x86-64-smap"
549 run_dump_test "x86-64-mpx"
550 run_list_test "x86-64-mpx-inval-1" "-al"
551 run_list_test "x86-64-mpx-inval-2" "-al"
552 run_dump_test "x86-64-mpx-addr32"
553 run_dump_test "x86-64-mpx-add-bnd-prefix"
554 run_dump_test "x86-64-sha"
555
556 if { ![istarget "*-*-aix*"]
557 && ![istarget "*-*-beos*"]
558 && ![istarget "*-*-*bsd*"]
559 && ![istarget "*-*-chaos*"]
560 && ![istarget "*-*-kaos*"]
561 && ![istarget "*-*-lynx*"]
562 && ![istarget "*-*-moss*"]
563 && ![istarget "*-*-nto-qnx*"]
564 && ![istarget "*-*-rtems*"]
565 && ![istarget "*-*-sco*"]
566 && ![istarget "*-*-solaris*"]
567 && ![istarget "*-*-sysv*"] } then {
568 run_dump_test "rex"
569 }
570
571 # ELF specific tests
572 if [is_elf_format] then {
573 # Verify that @unwind works.
574 run_dump_test "x86-64-unwind"
575
576 run_dump_test "reloc64"
577 run_list_test "reloc64" "--defsym _bad_=1"
578 run_dump_test "mixed-mode-reloc64"
579 run_dump_test "x86-64-ifunc"
580 run_dump_test "x86-64-opcode-inval"
581 run_dump_test "x86-64-opcode-inval-intel"
582 run_dump_test "intel-got64"
583 run_dump_test "l1om"
584 run_dump_test "k1om"
585 run_dump_test "x86-64-localpic"
586 run_dump_test "debug1"
587
588 run_dump_test "x86-64-dw2-compress-2"
589
590 run_dump_test "x86-64-size-1"
591 run_dump_test "x86-64-size-2"
592 run_dump_test "x86-64-size-3"
593 run_dump_test "x86-64-size-4"
594 run_dump_test "x86-64-size-5"
595 run_list_test "x86-64-size-inval-1" "-al"
596 }
597
598 set ASFLAGS "$old_ASFLAGS"
599 }
This page took 0.042531 seconds and 4 git commands to generate.