1 /* { dg-require-effective-target vect_int } */
2 /* { dg-require-effective-target vect_int_mult } */
10 int ic
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
11 int ib
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
13 __attribute__ ((noinline
))
18 /* Not vectorizable yet (integer mult). */
19 for (i
= 0; i
< N
; i
++)
21 ia
[i
] = ib
[i
] * ic
[i
];
25 for (i
= 0; i
< N
; i
++)
27 if (ia
[i
] != ib
[i
] * ic
[i
])
41 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
42 /* { dg-final { cleanup-tree-dump "vect" } } */