1 /* { dg-require-effective-target vect_int } */
15 __attribute__ ((noinline
)) int
22 unsigned short x
, y
, z
, w
;
24 for (i
= 0; i
< N
; i
++)
34 for (i
= 0; i
< N
; i
++)
48 for (i
= 0; i
< N
; i
++)
50 if (res
[i
].c
!= arr
[i
].b
- arr
[i
].a
+ arr
[i
].d
- arr
[i
].c
51 || res
[i
].a
!= arr
[i
].a
+ arr
[i
].c
+ arr
[i
].b
+ arr
[i
].d
52 || res
[i
].d
!= arr
[i
].b
- arr
[i
].a
+ arr
[i
].d
- arr
[i
].c
53 || res
[i
].b
!= arr
[i
].b
- arr
[i
].a
+ arr
[i
].d
- arr
[i
].c
)
71 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_strided4 } } } */
72 /* { dg-final { cleanup-tree-dump "vect" } } */