]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/simd_pcs_attribute-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-Ofast" } */
4 __attribute__ ((__simd__
))
5 __attribute__ ((__nothrow__
, __leaf__
, __const__
))
8 void bar(double *f
, int n
)
11 for (i
= 0; i
< n
; i
++)
20 /* { dg-final { scan-assembler-not {\.variant_pcs\tfoo} } } */
21 /* { dg-final { scan-assembler-not {\.variant_pcs\t_ZGVnM1v_foo} } } */
22 /* { dg-final { scan-assembler-times {\.variant_pcs\t_ZGVnM2v_foo} 1 } } */
23 /* { dg-final { scan-assembler-not {\.variant_pcs\t_ZGVnN1v_foo} } } */
24 /* { dg-final { scan-assembler-times {\.variant_pcs\t_ZGVnN2v_foo} 1 } } */