1 /* { dg-require-effective-target vect_simd_clones } */
2 /* { dg-additional-options "-fopenmp-simd" } */
3 /* { dg-additional-options "-mavx" { target avx_runtime } } */
13 #pragma omp declare simd simdlen(4) notinbranch uniform(b) linear(c:3)
14 __attribute__((noinline
)) int
15 foo (int a
, int b
, int c
)
22 __attribute__((noinline
, noclone
)) void
27 for (i
= 0; i
< N
; ++i
)
29 d
[i
] = foo (i
, 123, i
* 3);
40 for (i
= 0; i
< N
; i
++)
41 if (d
[i
] != (i
< 30 ? 5 : i
* 4 + 123) || e
[i
] != i
)