1 /* { dg-require-effective-target vect_int } */
8 /* These multiplications should be vectorizable with additions when
9 no vector shift is available. */
11 __attribute__ ((noinline
)) void
14 for (int i
= 0; i
< N
; i
++)
18 __attribute__ ((noinline
)) void
21 for (int i
= 0; i
< N
; i
++)
32 for (i
= 0; i
< N
; i
++)
35 __asm__
volatile ("");
39 for (i
= 0; i
< N
; i
++)
43 __asm__
volatile ("");
46 for (i
= 0; i
< N
; i
++)
49 __asm__
volatile ("");
53 for (i
= 0; i
< N
; i
++)
57 __asm__
volatile ("");
63 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */