annotate gcc/testsuite/gcc.dg/pr64935-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* PR rtl-optimization/64935 */
kono
parents:
diff changeset
2 /* { dg-do compile } */
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
3 /* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=1 -fcompare-debug" } */
111
kono
parents:
diff changeset
4 /* { dg-require-effective-target scheduling } */
kono
parents:
diff changeset
5 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 void
kono
parents:
diff changeset
8 foo (int *data, unsigned len, const int qlp_coeff[],
kono
parents:
diff changeset
9 unsigned order, int lp, int residual[], int i)
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 int sum;
kono
parents:
diff changeset
12 sum = 0;
kono
parents:
diff changeset
13 sum += qlp_coeff[1] * data[i - 2];
kono
parents:
diff changeset
14 sum += qlp_coeff[0] * data[i - 1];
kono
parents:
diff changeset
15 residual[i] = data[i] - (sum >> lp);
kono
parents:
diff changeset
16 }