1 /* { dg-require-effective-target vect_int } */
10 __attribute__ ((noinline
)) unsigned int
17 for (i
= 0; i
< N
; i
++) {
19 for (j
= 0; j
< N
; j
++) {
22 sum
+= ((unsigned int) in
[i
] * (unsigned int) sum_j
) >> scale
;
27 __attribute__ ((noinline
)) unsigned short
33 for (j
= 0; j
< N
; j
++) {
42 unsigned short j
, sum_j
;
58 sum
+= ((unsigned int) in
[i
] * (unsigned int) sum_j
) >> 2;
66 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { target vect_widen_mult_hi_to_si } } } */
67 /* { dg-final { cleanup-tree-dump "vect" } } */