1 /* { dg-lto-do link } */
2 /* { dg-require-effective-target vect_simd_clones } */
3 /* { dg-require-effective-target avx2 } */
4 /* { dg-lto-options { { -fopenmp-simd -O3 -ffast-math -mavx2 -flto -flto-partition=max } } } */
10 #pragma omp declare simd
12 __attribute__ ((noinline
))
13 my_mul (float x
, float y
) {
17 __attribute__ ((noinline
))
21 #pragma omp simd safelen (16)
22 for (i
= 0; i
< SIZE
; i
++)
23 x
[i
] = my_mul ((float)i
, 9932.3323);
30 for (i
= 0; i
< SIZE
; i
++)
31 x
[i
] = my_mul ((float) i
, 9932.3323);