/* { dg-require-effective-target vect_simd_clones } */ /* { dg-additional-options "-fopenmp-simd -ffast-math" } */ #include #include "tree-vect.h" #define N 64 float *px, *py; float *tx, *ty; float *x1, *z1, *t1, *t2; static void inline bar (const float cx, float cy, float *vx, float *vy) { int j; for (j = 0; j < N; ++j) { const float dx = cx - px[j]; const float dy = cy - py[j]; *vx -= dx * tx[j]; *vy -= dy * ty[j]; } } __attribute__((noinline, noclone)) void foo1 (int n) { int i; #pragma omp simd for (i=0; i