/* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */ /* { dg-set-compiler-env-var GCC_CPUINFO "$srcdir/gcc.target/aarch64/cpunative/info_4" } */ /* { dg-additional-options "-mcpu=native" } */ int main() { return 0; } /* { dg-final { scan-assembler {\.arch armv8-a\+crypto\n} } } */ /* Test one where all crypto bits are given so crypto should be enabled. */