gcc/testsuite/gcc.target/aarch64/acle/pr110132.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-march=armv8.7-a+ls64" } */ |
| 3 | |
| 4 | /* Check that ls64 builtins can be invoked using a preprocesed testcase |
| 5 | without triggering bogus builtin warnings, see PR110132. |
| 6 | |
| 7 | Note that this is purely to test GCC internals and user code should |
| 8 | include arm_acle.h to make use of these builtins. */ |
| 9 | |
| 10 | #pragma GCC aarch64 "arm_acle.h" |
| 11 | typedef __arm_data512_t data512_t; |
| 12 | void f(void *p, data512_t d) |
| 13 | { |
| 14 | __arm_st64b (p, d); |
| 15 | } |