1 /* { dg-require-effective-target vect_int } */
8 extern void abort (void);
10 __attribute__((noinline
, noclone
)) void
14 for (i
= 0; i
< 1024; i
++)
21 __attribute__((noinline
, noclone
)) void
25 for (i
= 0; i
< 1024; i
++)
32 __attribute__((noinline
, noclone
)) void
36 for (i
= 0; i
< 1024; i
++)
51 for (i
= 0; i
< 1024; i
++)
52 if (a
[i
] != 5 + 4 * i
)
56 for (i
= 0; i
< 1024; i
++)
57 if (a
[i
] != 9 + 4 * i
)
61 for (i
= 0; i
< 1024; i
++)
62 if (a
[i
] != 5 + 4 * i
|| b
[i
] != (unsigned char) i
)
67 /* { dg-final { scan-tree-dump-times "vectorized 1 loop" 3 "vect" { target vect_pack_trunc } } } */
68 /* { dg-final { scan-tree-dump-times "vectorized 1 loop" 2 "vect" { target { ! vect_pack_trunc } } } } */