1 /* { dg-require-effective-target vect_int } */
15 __attribute__ ((noinline
)) int
23 for (i
= 0; i
< N
; i
++)
29 asm volatile ("" ::: "memory");
32 for (i
= 0; i
< N
; i
++)
34 unsigned short x
, y
, z
, w
;
47 for (i
= 0; i
< N
; i
++)
49 if (res
[i
].c
!= arr
[i
].b
- arr
[i
].a
+ arr
[i
].d
- arr
[i
].c
50 || res
[i
].a
!= arr
[i
].a
+ arr
[i
].c
+ arr
[i
].b
+ arr
[i
].d
51 || res
[i
].d
!= arr
[i
].b
- arr
[i
].a
+ arr
[i
].d
- arr
[i
].c
52 || res
[i
].b
!= arr
[i
].b
- arr
[i
].a
+ arr
[i
].d
- arr
[i
].c
)
70 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_strided4 } } } */