1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mcpu=thunderx -march=armv8-a -dA" } */
4 /* Make sure that #pragma overrides command line option and
5 target attribute overrides the pragma. */
7 #pragma GCC target ("cpu=xgene1")
15 __attribute__ ((target ("tune=cortex-a53")))
22 /* { dg-final { scan-assembler-times "//.tune xgene1" 1 } } */
23 /* { dg-final { scan-assembler-times "//.tune cortex-a53" 1 } } */
24 /* { dg-final { scan-assembler-not "thunderx" } } */