diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-13 16:41:14 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-13 16:41:14 +0000 |
commit | a1145a1d040dd52b2b5d0e7fe965b6507475bbe2 (patch) | |
tree | 988f845d688974dd7db1950243ef09cc39ed443c /apps/codecs/libgme/sms_apu.c | |
parent | 724a2d2514578297a7fe21dc4c17a7b51a25758d (diff) | |
download | rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.tar.gz rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.zip |
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
Diffstat (limited to 'apps/codecs/libgme/sms_apu.c')
-rw-r--r-- | apps/codecs/libgme/sms_apu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/sms_apu.c b/apps/codecs/libgme/sms_apu.c index 12435f406d..965e4836c4 100644 --- a/apps/codecs/libgme/sms_apu.c +++ b/apps/codecs/libgme/sms_apu.c | |||
@@ -139,7 +139,7 @@ static void run_until( struct Sms_Apu* this, blip_time_t end_time ) | |||
139 | if ( out ) | 139 | if ( out ) |
140 | { | 140 | { |
141 | // volumes [i] ~= 64 * pow( 1.26, 15 - i ) / pow( 1.26, 15 ) | 141 | // volumes [i] ~= 64 * pow( 1.26, 15 - i ) / pow( 1.26, 15 ) |
142 | static unsigned char const volumes [16] ICONST_ATTR = { | 142 | static unsigned char const volumes [16] = { |
143 | 64, 50, 40, 32, 25, 20, 16, 13, 10, 8, 6, 5, 4, 3, 2, 0 | 143 | 64, 50, 40, 32, 25, 20, 16, 13, 10, 8, 6, 5, 4, 3, 2, 0 |
144 | }; | 144 | }; |
145 | 145 | ||