1 /* { dg-require-effective-target vect_int } */
2 /* { dg-require-effective-target vect_int_mult } */
3 /* { dg-require-effective-target vect_pack_trunc } */
4 /* { dg-additional-options "-mavx2" { target avx2_runtime } } */
12 unsigned short b
[158 * 2];
16 for (i
= 0; i
< 158; i
++)
23 for (i
= 0; i
< 158; ++i
)
24 if (b
[i
*2] != (unsigned short)(i
*7)
25 || b
[i
*2+1] != (unsigned short)(i
*8))
31 /* The init loop should be vectorized with SLP. */
32 /* We don't yet support SLP inductions for variable length vectors. */
33 /* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { xfail vect_variable_length } } } */