load in parallel
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 7 Jun 2005 07:19:20 +0000 (07:19 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 7 Jun 2005 07:19:20 +0000 (07:19 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@9385 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/filters_bfin.h

index 4928834..8c66a88 100644 (file)
@@ -427,13 +427,12 @@ void compute_impulse_response(const spx_coef_t *ak, const spx_coef_t *awk1, cons
             "%0 += 2;\n\t"
             "%1 += 2;\n\t"
             "A0 = A1 = 0;\n\t"
+            "R0.L = W[I0--] || R1.L = W[I2++];\n\t"
             "LC1 = R2;\n\t"
             "LOOP filter%= LC1;\n\t"
             "LOOP_BEGIN filter%=;\n\t"
-               "R0.L = W[I0--] || R1.L = W[I2++];\n\t"
-               "A0 -= R0.L*R1.L (IS);\n\t"
-               "R0.L = W[I1--] || R1.L = W[I3++];\n\t"
-               "A1 -= R0.L*R1.L (IS);\n\t"
+               "A0 -= R0.L*R1.L (IS) || R0.L = W[I1--] || R1.L = W[I3++];\n\t"
+               "A1 -= R0.L*R1.L (IS) || R0.L = W[I0--] || R1.L = W[I2++];\n\t"
             "LOOP_END filter%=;\n\t"
             "R0 = A0, R1 = A1;\n\t"
             "R3 = W[%1] (X);\n\t"