gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_4.c
raw| 1 | /* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */ |
| 2 | /* { dg-set-compiler-env-var GCC_CPUINFO "$srcdir/gcc.target/aarch64/cpunative/info_4" } */ |
| 3 | /* { dg-additional-options "-mcpu=native" } */ |
| 4 | |
| 5 | int main() |
| 6 | { |
| 7 | return 0; |
| 8 | } |
| 9 | |
| 10 | /* { dg-final { scan-assembler {\.arch armv8-a\+crypto\n} } } */ |
| 11 | |
| 12 | /* Test one where all crypto bits are given so crypto should be enabled. */ |