From a1145a1d040dd52b2b5d0e7fe965b6507475bbe2 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 13 Aug 2011 16:41:14 +0000 Subject: Remove all IRAM attributes from libGME to be able to restart the IRAM optimization on a clean code base. As first step move the sample buffers to IRAM which results in a 1-5% speedup for all codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30284 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libgme/ymtables.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/codecs/libgme/ymtables.h') diff --git a/apps/codecs/libgme/ymtables.h b/apps/codecs/libgme/ymtables.h index 4e8f62a39b..51812c1b57 100644 --- a/apps/codecs/libgme/ymtables.h +++ b/apps/codecs/libgme/ymtables.h @@ -3,7 +3,7 @@ /* Precompiled ym2612 tables for use in Rockbox */ -static const int tl_coeff[] ICONST_ATTR = { +static const int tl_coeff[] = { 268435455, 267712100, 266990695, 266271234, 265553712, 264838123, 264124462, 263412725, 262702906, 261994999, 261289000, 260584903, 259882704, 259182396, 258483976, 257787438, 257092777, 256399988, 255709066, 255020006, 254332802, 253647450, 252963945, 252282282, 251602456, 250924462, 250248294, 249573949, 248901421, 248230705, 247561797, 246894691, 246229383, @@ -309,7 +309,7 @@ static const int tl_coeff[] ICONST_ATTR = { 34345, 34253, 34160, 34068, 33976, 33885 }; -static const short sindb_coeff[] ICONST_ATTR = { +static const short sindb_coeff[] = { 2401, 2144, 1994, 1887, 1804, 1737, 1680, 1630, 1587, 1548, 1512, 1480, 1450, 1423, 1397, 1373, 1351, 1330, 1310, 1291, 1273, 1255, 1239, 1223, 1208, 1194, 1180, 1166, 1153, 1141, 1128, 1117, 1105, 1094, 1084, 1073, 1063, 1053, 1043, @@ -392,7 +392,7 @@ static const short sindb_coeff[] ICONST_ATTR = { }; -static const short lfo_freq_coeff[] ICONST_ATTR = { +static const short lfo_freq_coeff[] = { 0, 3, 6, 9, 12, 15, 18, 21, 25, 28, 31, 34, 37, 40, 43, 46, 50, 53, 56, 59, 62, 65, 68, 71, 74, 78, 81, 84, 87, 90, 93, 96, 99, 102, 105, 108, 111, 115, 118, @@ -474,7 +474,7 @@ static const short lfo_freq_coeff[] ICONST_ATTR = { -31, -28, -25, -21, -18, -15, -12, -9, -6, -3 }; -static const short lfo_env_coeff[] ICONST_ATTR = { +static const short lfo_env_coeff[] = { 251, 253, 254, 256, 257, 259, 260, 262, 264, 265, 267, 268, 270, 271, 273, 274, 276, 277, 279, 281, 282, 284, 285, 287, 288, 290, 291, 293, 294, 296, 297, 299, 300, 302, 303, 305, 306, 308, 309, -- cgit v1.2.3