Add compile command to each testcase
[gcc-vect-testsuite.git] / fast-math-slp-27.c
blob4c2c5c510f44669b743b0a46878f576df03386df
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 } } } */
17 /* { dg-final { cleanup-tree-dump "vect" } } */