Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Aug 26, 2023
1 parent 599de3f commit 53e0add
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tools/benchmark/generated-code/lp_filter2_faust.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,27 +119,27 @@ class lp_filter2_faust : public dsp {
float fSlow2 = 5e+05f / fSlow1;
float fSlow3 = fConst1 * fSlow1;
float fSlow4 = fConst4 / fSlow0;
for (int i0 = 0; i0 < count; i0 = i0 + 1) {
float fRec0 = -1.0f * fRec1[1];
float fRec2 = fSlow3;
float fTemp1 = fConst3 + fRec2;
for (int i0 = 0; i0 < count; i0 = i0 + 1) {
float fRec0 = -1.0f * fRec1[1];
float fRec2 = fSlow3;
float fTemp1 = fConst3 + fRec2;
float fRec6 = fConst3 * (fRec2 / fTemp1);
float fTemp7 = fSlow4 + fRec6;
float fTemp2 = fRec2 * (fConst2 + (fConst2 * fTemp1 + 1.0f) / fRec2);
float fTemp3 = 2.0f * (fRec0 / fTemp2);
float fTemp4 = 2.0f / fTemp2;
float fTemp5 = (1.0f - fTemp4) * fRec5[1];
float fRec3 = fTemp3 + fTemp5;
float fTemp2 = fRec2 * (fConst2 + (fConst2 * fTemp1 + 1.0f) / fRec2);
float fTemp3 = 2.0f * (fRec0 / fTemp2);
float fTemp4 = 2.0f / fTemp2;
float fTemp5 = (1.0f - fTemp4) * fRec5[1];
float fRec3 = fTemp3 + fTemp5;
float fRec7 = -1.0f * fRec3;
float fTemp6 = 2.0f * float(input0[i0]) + fRec3 - fRec7;
float fRec8 = fRec3 - fRec6 * fTemp6 / fTemp7;
float fRec4 = fRec0 * (fTemp4 + -1.0f) + fRec8 + fTemp5;
float fRec4 = fRec0 * (fTemp4 + -1.0f) + fRec8 + fTemp5;
float fTemp0 = fRec4 + fRec1[1];
fRec1[0] = fRec1[1] - fSlow2 * fTemp0;
fRec5[0] = fRec5[1] * (0.0f - fTemp4) + fRec8 + fTemp3;
output0[i0] = FAUSTFLOAT(0.5f * (fRec1[0] + fRec1[1]));
fRec1[1] = fRec1[0];
fRec5[1] = fRec5[0];
fRec5[0] = fRec5[1] * (0.0f - fTemp4) + fRec8 + fTemp3;
output0[i0] = FAUSTFLOAT(0.5f * (fRec1[0] + fRec1[1]));
fRec1[1] = fRec1[0];
fRec5[1] = fRec5[0];
}
}

Expand Down

0 comments on commit 53e0add

Please sign in to comment.