gcc/testsuite/gcc.target/aarch64/pr78733.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -mcmodel=large -mpc-relative-literal-loads -fno-pie" } */ |
| 3 | /* { dg-require-effective-target lp64 } */ |
| 4 | /* { dg-skip-if "-mcmodel=large, no support for -fpic" { aarch64-*-* } { "-fpic" } { "" } } */ |
| 5 | |
| 6 | __int128 |
| 7 | t (void) |
| 8 | { |
| 9 | return ((__int128)0x123456789abcdef << 64) | 0xfedcba987654321; |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-assembler "adr" } } */ |
| 13 | /* { dg-final { scan-assembler-not "adrp" } } */ |