Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_18.c

raw
1 /* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */
2 /* { dg-set-compiler-env-var GCC_CPUINFO "$srcdir/gcc.target/aarch64/cpunative/info_18" } */
3 /* { dg-additional-options "-mcpu=native" } */
4
5 int main()
6 {
7 return 0;
8 }
9
10 /* { dg-final { scan-assembler {\.arch armv8.6-a\+rng\+crc\+aes\+sha3\+fp16\+nopauth\n} } } */
11
12 /* Test one where the boundary of buffer size would overwrite the last
13 character read when stitching the fgets-calls together. With the
14 test data provided, this would truncate the 'sha512' into 'ha512'
15 (dropping the 'sha3' feature). */