diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/aarch64/options_set_9.c')
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/options_set_9.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/options_set_9.c b/gcc/testsuite/gcc.target/aarch64/options_set_9.c new file mode 100644 index 00000000000..e3c7cdc54ff --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/options_set_9.c @@ -0,0 +1,14 @@ +/* { dg-do compile } */ +/* { dg-additional-options "-march=armv8-a+simd+fp" } */ + +int main () +{ + return 0; +} + +/* { dg-final { scan-assembler-times {\.arch armv8\-a} 1 } } */ + + /* Check that grouping of bits that don't form a synthetic group don't turn + on the parent. e.g. rdma turns on simd+fp, but simd+fp does not turn on + rdma since rdma is it's own group. crypto however turns on aes and sha2 + and turning on sha2 and eas should turn on crypto!. */ |