1 /* { dg-require-effective-target vect_int } */
13 __attribute__ ((noinline
)) int
20 unsigned char a
[N
], b
[N
];
23 for (i
= 0; i
< N
; i
++)
31 for (i
= 0; i
< N
; i
++)
34 res
[i
].b
= a
[i
] + b
[i
];
39 for (i
= 0; i
< N
; i
++)
41 if (res
[i
].a
!= a
[i
] + 3
42 || res
[i
].b
!= a
[i
] + b
[i
])
58 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_interleave || vect_strided2 } } } } */
59 /* { dg-final { cleanup-tree-dump "vect" } } */