1 /* { dg-do compile } */
2 /* { dg-additional-options "-Ofast --param vect-epilogues-nomask=0" } */
3 /* { dg-require-effective-target vect_float } */
12 real_t a
[LEN_1D
],b
[LEN_1D
];
15 real_t dot
= (real_t
)0.;
16 for (int i
= 0; i
< LEN_1D
; i
+= 5) {
17 dot
= dot
+ a
[i
] * b
[i
] + a
[i
+ 1] * b
[i
+ 1] + a
[i
+ 2]
18 * b
[i
+ 2] + a
[i
+ 3] * b
[i
+ 3] + a
[i
+ 4] * b
[i
+ 4];
24 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */