1 /* { dg-require-effective-target vect_int } */
9 unsigned short coef[N];
12 __attribute__ ((noinline)) unsigned int
19 for (i = 0; i < N; i++) {
21 for (j = 0; j < N; j++) {
25 sum += ((unsigned int) in[i] * (unsigned int) coef[i]) >> scale;
37 for (j = 0; j < N; j++) {
47 unsigned short j, sum_j;
65 sum += ((unsigned int) in[i] * (unsigned int) coef[i]) >> 2;
73 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { target vect_widen_mult_hi_to_si } } } */
74 /* { dg-final { scan-tree-dump-times "vect_recog_widen_mult_pattern: detected" 1 "vect" } } */
75 /* { dg-final { cleanup-tree-dump "vect" } } */