2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / fast-math-slp-27.c
blob3597b3acef87dccf57dfef1b61287edd8b343490
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
4 float x[2*256+1];
6 void foo(void)
8 int i;
9 for (i=0; i<256; ++i)
11 x[2*i] = x[2*i] * x[2*i];
12 x[2*i+1] = x[2*i+1] * x[2*i+1];
16 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { target vect_strided2 } } } */