1 /* { dg-require-effective-target vect_int } */
13 s buffer1
[N
], buffer2
[N
];
15 __attribute__ ((noinline
)) int
16 main1 (s
* __restrict__ pIn
, s
* __restrict__ pOut
)
18 unsigned short i
, x
, y
, d
;
24 for (i
= 0; i
< N
/2; i
++)
38 for (i
= 0; i
< N
/2; i
++)
58 for (i
= 0; i
< N
; i
++)
64 if (buffer1
[i
].a
== 500)
70 main1 (buffer1
, buffer2
);
75 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_strided2 } } } */
76 /* { dg-final { cleanup-tree-dump "vect" } } */