1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_shift } */
6 /* All the loops are vectorizable on platforms with vector shift argument. */
11 static unsigned int bm
[N
];
12 static unsigned int cm
[N
];
15 /* Vectorizable on platforms with scalar shift argument. */
16 for (j
= 0; j
< N
/2; j
++)
22 /* Not vectorizable on platforms with scalar shift argument. */
23 for (j
= 0; j
< N
/2; j
++)
33 static unsigned int bm
[N
];
34 static unsigned int cm
[N
];
37 /* Vectorizable on platforms with scalar shift argument. */
38 for (j
= 0; j
< N
/2; j
++)
44 /* Not vectorizable on platforms with scalar shift argument. */
45 for (j
= 0; j
< N
/2; j
++)
55 static unsigned int bm
[N
];
59 /* Not vectorizable on platforms with scalar shift argument. */
60 for (j
= 0; j
< N
/2; j
++)
66 /* Not vectorizable on platforms with scalar shift argument. */
67 for (j
= 0; j
< N
/2; j
++)
70 bm
[2*j
+1] <<= am
[2*j
+1];
75 /* { dg-final { cleanup-tree-dump "vect" } } */