1 /* { dg-require-effective-target vect_int } */
18 __attribute__ ((noinline)) int
29 for (i = 0; i < N; i++)
39 for (i = 0; i < N; i++)
41 ires[i].a = iptr->b - iptr->a;
42 ires[i].b = iptr->b + iptr->a;
43 res[i].b = ptr->b - ptr->a;
44 res[i].a = ptr->b + ptr->a;
50 for (i = 0; i < N; i++)
52 if (res[i].b != arr[i].b - arr[i].a
53 || ires[i].a != iarr[i].b - iarr[i].a
54 || res[i].a != arr[i].b + arr[i].a
55 || ires[i].b != iarr[i].b + iarr[i].a
74 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_strided2 } } } */
75 /* { dg-final { cleanup-tree-dump "vect" } } */