1 /* { dg-do compile } */
5 TYPE
fun1(TYPE
*x
, TYPE
*y
, unsigned int n
)
10 for (i
= 0; i
< n
; i
++)
11 dot
+= *(x
++) * *(y
++);
16 TYPE
fun2(TYPE
*x
, TYPE
*y
, unsigned int n
)
21 for (i
= 0; i
< n
/ 8; i
++)
22 for (j
= 0; j
< 8; j
++)
23 dot
+= *(x
++) * *(y
++);
28 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { target { vect_int_mult && {! vect_no_align } } } } } */