blob: 02091c6c542b98b61156409b437d142169348138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { 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-not "\\+fp" } } */
/* { dg-final { scan-assembler-not "\\+crypto" } } */
/* { dg-final { scan-assembler-not "\\+simd" } } */
|