1 /* { dg-do compile } */
3 void foo (int * __restrict x
, int *y
)
5 for (int i
= 0; i
< 1024; ++i
)
8 x
[4*i
+1] = y
[3*i
+1] * 2;
9 x
[4*i
+2] = y
[3*i
+2] + 3;
10 x
[4*i
+3] = y
[3*i
+2] * 2 - 5;
14 /* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target { vect_int && vect_int_mult } } } } */