[xiph-commits] r11467 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Tue May 30 04:11:08 PDT 2006
Author: jm
Date: 2006-05-30 04:11:06 -0700 (Tue, 30 May 2006)
New Revision: 11467
Modified:
trunk/speex/libspeex/cb_search_bfin.h
Log:
Blackfin quality regression fix and gcc 4.1 (missing clobber reg) fix by
David Rowe
Modified: trunk/speex/libspeex/cb_search_bfin.h
===================================================================
--- trunk/speex/libspeex/cb_search_bfin.h 2006-05-29 09:10:20 UTC (rev 11466)
+++ trunk/speex/libspeex/cb_search_bfin.h 2006-05-30 11:11:06 UTC (rev 11467)
@@ -72,7 +72,8 @@
"[P4] = R1;\n\t"
:
: "m" (subvect_size), "m" (shape_cb), "m" (r), "m" (resp), "m" (E)
- : "A0", "P0", "P1", "P2", "P3", "P4", "R0", "R1", "R2", "I0", "I1", "L0", "L1", "A0", "A1", "memory"
+ : "A0", "P0", "P1", "P2", "P3", "P4", "R0", "R1", "R2", "I0", "I1", "L0",
+ "L1", "A0", "A1", "memory", "LC0", "LC1"
);
shape_cb += subvect_size;
resp += subvect_size;
@@ -89,17 +90,18 @@
"I1 = %1;\n\t"
"L0 = 0;\n\t"
"L1 = 0;\n\t"
+ "R2 = 4096;\n\t"
"LOOP tupdate%= LC0 = %3;\n\t"
"LOOP_BEGIN tupdate%=;\n\t"
"R0.L = W[I0] || R1.L = W[I1++];\n\t"
"R1 = (A1 = R1.L*%2.L) (IS);\n\t"
+ "R1 = R1 + R2;\n\t"
"R1 >>>= 13;\n\t"
"R0.L = R0.L - R1.L;\n\t"
"W[I0++] = R0.L;\n\t"
"LOOP_END tupdate%=;\n\t"
:
: "a" (t), "a" (r), "d" (g), "a" (len)
- : "R0", "R1", "A1", "I0", "I1", "L0", "L1"
+ : "R0", "R1", "R2", "A1", "I0", "I1", "L0", "L1"
);
}
-
More information about the commits
mailing list