1 /* { dg-require-effective-target vect_int } */
13 __attribute__ ((noinline
)) int
20 for (i
= 0; i
< N
; i
++)
22 res
[i
].a
= ptr
->b
- ptr
->a
;
23 res
[i
].b
= ptr
->b
+ ptr
->a
;
28 for (i
= 0; i
< N
; i
++)
30 if (res
[i
].a
!= arr
[i
].b
- arr
[i
].a
31 || res
[i
].b
!= arr
[i
].a
+ arr
[i
].b
)
45 for (i
= 0; i
< N
; i
++)
58 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_interleave && vect_extract_even_odd } } } } */
59 /* { dg-final { cleanup-tree-dump "vect" } } */