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
++)
50 for (i
= 0; i
< 1024; i
++)
51 if (a
[i
] != 5 + 4 * i
)
54 for (i
= 0; i
< 1024; i
++)
55 if (a
[i
] != 9 + 4 * i
)
58 for (i
= 0; i
< 1024; i
++)
59 if (a
[i
] != 5 + 4 * i
|| b
[i
] != (unsigned char) i
)
64 /* { dg-final { scan-tree-dump-times "vectorized 1 loop" 3 "vect" { target vect_pack_trunc } } } */
65 /* { dg-final { scan-tree-dump-times "vectorized 1 loop" 2 "vect" { target { ! vect_pack_trunc } } } } */