| 1 |
/* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */ |
| 2 |
/* { dg-set-compiler-env-var GCC_CPUINFO "$srcdir/gcc.target/aarch64/cpunative/info_19" } */ |
| 3 |
/* { dg-additional-options "-mcpu=native" } */ |
| 4 |
|
| 5 |
int main() |
| 6 |
{ |
| 7 |
return 0; |
| 8 |
} |
| 9 |
|
| 10 |
/* { dg-final { scan-assembler {\.arch armv9-a\+crc\+i8mm\+bf16\+sve2-aes\+sve2-bitperm\+sve2-sha3\+sve2-sm4\+memtag\+profile\+nopauth\n} } } */ |
| 11 |
|
| 12 |
/* Test one that if the kernel doesn't report the availability of a mandatory |
| 13 |
feature that it has turned it off for whatever reason. As such compilers |
| 14 |
should follow along. */ |