1 /* { dg-require-effective-target vect_int } */
5 int u
[N
] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
6 int z
[N
] = {-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18};
7 int res4
[N
] = {0, 1, 8, 3, 22, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
8 int res5
[N
] = {0, 1, 8, 3, 22, 5, 36, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
9 int res6
[N
] = {0, 1, 8, 3, 22, 5, 36, 7, 50, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
10 int res7
[N
] = {0, 1, 8, 3, 22, 5, 36, 7, 50, 9, 64, 11, 12, 13, 14, 15, 16, 17, 18, 19};
11 int res8
[N
] = {0, 1, 8, 3, 22, 5, 36, 7, 50, 9, 64, 11, 78, 13, 14, 15, 16, 17, 18, 19};
12 int res9
[N
] = {0, 1, 8, 3, 22, 5, 36, 7, 50, 9, 64, 11, 78, 13, 92, 15, 16, 17, 18, 19};
13 int res10
[N
] = {0, 1, 8, 3, 22, 5, 36, 7, 50, 9, 64, 11, 78, 13, 92, 15, 106, 17, 18, 19};
15 __attribute__ ((noinline
)) void
19 for (i
= 2; i
< n
; i
++)
20 u
[2*i
-2] = u
[2*i
-2] + d
* (z
[i
-1] + z
[i
] + z
[i
-1] + z
[i
] + z
[i
-1] + z
[i
]);
25 for (i = 0; i < N; i++) \
27 if (u[i] != res##x[i]) \
38 /* Need to check for all possible vector factors. */