2 /* { dg-require-effective-target avx2 } */
3 /* { dg-options "-mavx2 -O3 -fopenmp-simd -fdump-tree-vect-details" } */
5 #include "avx2-check.h"
10 __attribute__ ((noinline
)) int
14 #pragma omp simd safelen(8)
18 if (t
> 0.0f
& t
< 1.0e+2f
)
25 __attribute__ ((noinline
)) float
39 a
[i
] = (float) (i
+ 1);
41 a
[i
] = (float) i
+ hundred ();
47 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */