1 /* { dg-require-effective-target vect_double } */
2 /* { dg-require-effective-target vect_intdouble_cvt } */
8 void __attribute__((noipa
))
11 for (int i
= 0; i
< 20; i
++)
17 for (int j
= 0; j
< 40; j
++)
34 for (int i
= 0; i
< 40; ++i
)
40 for (int i
= 0; i
< 20; i
++)
46 for (int j
= 0; j
< 40; j
++)
50 asm ("" : "+g" (suma
));
51 asm ("" : "+g" (sumb
));
55 if (image
[2*i
] != suma
56 || image
[2*i
+1] != sumb
)
63 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" } } */
64 /* We don't yet support SLP inductions for variable length vectors. */
65 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail vect_variable_length } } } */