[xiph-commits] r12094 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Sun Nov 12 06:55:17 PST 2006


Author: jm
Date: 2006-11-12 06:55:15 -0800 (Sun, 12 Nov 2006)
New Revision: 12094

Modified:
   trunk/speex/libspeex/cb_search_bfin.h
Log:
Now compiles fine with gcc 3.4 (which doesn't know about LC registers)


Modified: trunk/speex/libspeex/cb_search_bfin.h
===================================================================
--- trunk/speex/libspeex/cb_search_bfin.h	2006-11-12 14:44:51 UTC (rev 12093)
+++ trunk/speex/libspeex/cb_search_bfin.h	2006-11-12 14:55:15 UTC (rev 12094)
@@ -73,7 +73,10 @@
          :
       : "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", "LC0", "LC1"
+        "L1", "A0", "A1", "memory"
+#if !(__GNUC__ == 3)
+         , "LC0", "LC1" /* gcc 3.4 doesn't know about LC registers */
+#endif
       );
       shape_cb += subvect_size;
       resp += subvect_size;



More information about the commits mailing list