From 07fabd1cd1f2173d93cb1b3962da7d11ca80c569 Mon Sep 17 00:00:00 2001 From: Dan Everton Date: Mon, 9 Jul 2007 11:18:10 +0000 Subject: ICONST_ATTR most constant tables in Speex. Results in a 10% improvement on Coldfire (200% to 220% realtime). Almost certainly not the best use of IRAM, but it works now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13831 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libspeex/exc_8_128_table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs/libspeex/exc_8_128_table.c') diff --git a/apps/codecs/libspeex/exc_8_128_table.c b/apps/codecs/libspeex/exc_8_128_table.c index 17ee64b926..3a910bee37 100644 --- a/apps/codecs/libspeex/exc_8_128_table.c +++ b/apps/codecs/libspeex/exc_8_128_table.c @@ -30,8 +30,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config-speex.h" -const signed char exc_8_128_table[1024] = { +const signed char exc_8_128_table[1024] ICONST_ATTR = { -14,9,13,-32,2,-10,31,-10, -8,-8,6,-4,-1,10,-64,23, 6,20,13,6,8,-22,16,34, -- cgit v1.2.3