1 /* { dg-require-effective-target vect_int } */
13 __attribute__ ((noinline
)) int
19 unsigned int *iptr
= iarr
;
24 for (i
= 0; i
< N
; i
++)
33 for (i
= 0; i
< N
; i
++)
36 res
[i
].b
= ptr
->b
- ptr
->a
;
37 res
[i
].a
= ptr
->b
+ ptr
->a
;
43 for (i
= 0; i
< N
; i
++)
45 if (res
[i
].b
!= arr
[i
].b
- arr
[i
].a
47 || res
[i
].a
!= arr
[i
].b
+ arr
[i
].a
)
65 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_strided2 } } } */
66 /* { dg-final { cleanup-tree-dump "vect" } } */