ebe4a35bb3f17b3c95018d04cc8880fd4a3f3be5
1 /* { dg-require-effective-target vect_int } */
2 /* { dg-additional-options "-mavx2" { target avx2_runtime } } */
10 unsigned short b
[158 * 2];
14 for (i
= 0; i
< 158; i
++)
20 for (i
= 0; i
< 158; ++i
)
21 if (b
[i
*2] != (unsigned short)(i
*7)
22 || b
[i
*2+1] != (unsigned short)(i
*8))
28 /* The init loop should be vectorized with SLP. */
29 /* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" } } */