Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/acle/ls64_ld64b-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=armv8-a+ls64 -O2" } */
3
4 #ifndef __ARM_FEATURE_LS64
5 #error "__ARM_FEATURE_LS64 is not defined but should be!"
6 #endif
7
8 #include <arm_acle.h>
9
10 void
11 func(const void * addr, data512_t *data) {
12 *data = __arm_ld64b (addr);
13 }
14
15 /* { dg-final { scan-assembler-times {ld64b\t} 1 } } */