1 /* { dg-require-effective-target vect_int } */
7 unsigned short in
[N
+M
];
10 /* Outer-loop vectorization. */
11 /* Not vectorized due to multiple-types in the inner-loop. */
13 __attribute__ ((noinline
)) unsigned int
19 for (i
= 0; i
< N
; i
++) {
21 for (j
= 0; j
< M
; j
+=8) {
24 s
+=((unsigned short)diff
>>3);
33 unsigned int s
=0,sum
=0;
37 for (i
= 0; i
< N
+M
; i
++) {
43 for (i
= 0; i
< N
; i
++) {
45 for (j
= 0; j
< M
; j
+=8) {
48 s
+= ((unsigned short)diff
>>3);
57 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail *-*-* } } } */
58 /* { dg-final { cleanup-tree-dump "vect" } } */