/* { dg-do run } */ /* { dg-require-effective-target avx2 } */ /* { dg-options "-mavx2 -O3 -fopenmp-simd -fdump-tree-vect-details" } */ #include "avx2-check.h" #define N 64 float a[N]; int c[N]; __attribute__ ((noinline)) int foo () { int i, res = 0; #pragma omp simd safelen(8) for (i=0; i 0.0f & t < 1.0e+2f) if (c[i] != 0) res += 1; } return res; } __attribute__ ((noinline)) float hundred () { return 100.0f; } static void avx2_test (void) { int i, res; for (i=0; i