1 // { dg-require-effective-target vect_simd_clones }
2 // { dg-additional-options "-fopenmp-simd -fno-inline -DONE_FILE" }
3 // { dg-additional-options "-mavx" { target avx_runtime } }
5 #include "../../gcc.dg/vect/tree-vect.h"
8 #include "simd-clone-3.cc"
10 #include "simd-clone-2.h"
13 T b
__attribute__((aligned (32)));
20 for (i
= 0; i
< 64; i
++)
25 #pragma omp simd reduction(+:r)
26 for (i
= 0; i
< 64; i
++)
28 if (r
!= 64 * 63 / 2 + 64 * 16)
31 #pragma omp simd reduction(+:r)
32 for (i
= 0; i
< 64; i
++)
34 if (r
!= 64 * 63 / 2 + 64 * 32)
37 #pragma omp simd reduction(+:r)
38 for (i
= 0; i
< 64; i
++)
43 #pragma omp simd reduction(+:r)
44 for (i
= 0; i
< 64; i
++)