1 /* { dg-require-effective-target vect_int } */
8 __attribute__ ((noinline
)) int
12 unsigned short sout
[N
*8];
13 unsigned int iout
[N
*8];
15 for (i
= 0; i
< N
; i
++)
29 for (i
= 0; i
< N
; i
++)
32 || sout
[i
*4 + 1] != 18
33 || sout
[i
*4 + 2] != 28
34 || sout
[i
*4 + 3] != 38
36 || iout
[i
*4 + 1] != 18
37 || iout
[i
*4 + 2] != 28
38 || iout
[i
*4 + 3] != 38)
54 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
55 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" } } */