1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
6 unsigned short in
[N
+M
];
7 unsigned short coeff
[M
];
10 /* Outer-loop vectorization. */
17 for (i
= 0; i
< N
; i
++) {
19 for (j
= 0; j
< M
; j
+=8) {
20 diff
+= in
[j
+i
]*coeff
[j
];
26 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { target { vect_short_mult && { ! vect_no_align } } } } } */
27 /* { dg-final { scan-tree-dump-times "zero step in outer loop.(?:(?!Analysys failed).)*Analysis succeeded" 1 "vect" { target { vect_short_mult && { ! vect_no_align } } } } } */