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/sms_apu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/libgme/sms_apu.c') 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 ) if ( out ) { // volumes [i] ~= 64 * pow( 1.26, 15 - i ) / pow( 1.26, 15 ) - static unsigned char const volumes [16] ICONST_ATTR = { + static unsigned char const volumes [16] = { 64, 50, 40, 32, 25, 20, 16, 13, 10, 8, 6, 5, 4, 3, 2, 0 }; -- cgit v1.2.3