gcc/testsuite/g++.target/aarch64/acle/ls64_lto.C
raw| 1 | /* { dg-do link { target aarch64_asm_ls64_ok } } */ |
| 2 | /* { dg-additional-options "-march=armv8.7-a+ls64 -flto" } */ |
| 3 | #include <arm_acle.h> |
| 4 | int main() |
| 5 | { |
| 6 | data512_t d = __arm_ld64b ((const void *)0x1000); |
| 7 | __arm_st64b ((void *)0x2000, d); |
| 8 | uint64_t x = __arm_st64bv ((void *)0x3000, d); |
| 9 | x += __arm_st64bv0 ((void *)0x4000, d); |
| 10 | } |