| 1 |
/* PR target/113733 */ |
| 2 |
/* { dg-do assemble { target { apxf && { ! ia32 } } } } */ |
| 3 |
/* { dg-require-effective-target tls } */ |
| 4 |
/* { dg-require-effective-target code_6_gottpoff_reloc } */ |
| 5 |
/* { dg-options "-save-temps -std=gnu17 -mapxf -O3 -w" } */ |
| 6 |
/* The testcase is fragile, it's supposed to check the compiler |
| 7 |
ability of generating code_6_gottpoff_reloc instruction, but |
| 8 |
failed since there's a seg_prefixed memory |
| 9 |
usage(r14-6242-gd564198f960a2f). */ |
| 10 |
#include "apx-ndd-tls-1a.c" |
| 11 |
|
| 12 |
/* { dg-final { scan-assembler-times "addq\[ \t]+%r\[a-z0-9\]+, a@gottpoff\\(%rip\\), %r\[a-z0-9\]+" 1 { xfail lp64 } } } */ |