1 /* { dg-require-effective-target vect_int } */
8 __attribute__ ((noinline
)) int
12 unsigned short sout
[N
*8];
13 unsigned int iout
[N
*8];
14 unsigned char cout
[N
*8];
16 for (i
= 0; i
< N
; i
++)
35 for (i
= 0; i
< N
; i
++)
38 || sout
[i
*4 + 1] != 18
39 || sout
[i
*4 + 2] != 28
40 || sout
[i
*4 + 3] != 38
42 || iout
[i
*4 + 1] != 18
43 || iout
[i
*4 + 2] != 28
44 || iout
[i
*4 + 3] != 38
48 || cout
[i
*4 + 3] != 4)
64 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
65 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 3 "vect" } } */