1 2 3 4 5 6 7 8 9 10 11 12 13
/* { dg-do assemble } */ /* { dg-options "-march=armv8-a+crypto -save-temps" } */ /* Check that "+nothing" clears the ISA flags. */ __attribute__ ((target ("+nothing"))) int foo (int a) { return a + 1; } /* { dg-final { scan-assembler-times "\\.arch armv8-a\\+nofp\\+nosimd\n" 1 } } */