1 /* { dg-require-effective-target vect_float } */
12 /* Outer-loop vectorization. */
14 __attribute__ ((noinline
)) void
19 for (i
= 0; i
< N
; i
++) {
21 for (j
= 0; j
< M
; j
+=4) {
22 diff
+= in
[j
+i
]*coeff
[j
];
34 for (i
= 0; i
< M
; i
++)
36 for (i
= 0; i
< N
+M
; i
++)
41 for (i
= 0; i
< N
; i
++) {
43 for (j
= 0; j
< M
; j
+=4) {
44 diff
+= in
[j
+i
]*coeff
[j
];
53 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" } } */
54 /* { dg-final { scan-tree-dump-times "zero step in outer loop." 1 "vect" } } */
55 /* { dg-final { cleanup-tree-dump "vect" } } */