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/ay_emu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libgme/ay_emu.c') diff --git a/apps/codecs/libgme/ay_emu.c b/apps/codecs/libgme/ay_emu.c index b537883a6d..e961797dd3 100644 --- a/apps/codecs/libgme/ay_emu.c +++ b/apps/codecs/libgme/ay_emu.c @@ -359,7 +359,7 @@ void Sound_set_tempo( struct Ay_Emu *this, int t ) this->play_period = (blip_time_t) ((p * FP_ONE_TEMPO) / t); } -void fill_buf( struct Ay_Emu *this ) ICODE_ATTR;; +void fill_buf( struct Ay_Emu *this );; blargg_err_t Ay_start_track( struct Ay_Emu *this, int track ) { clear_track_vars( this ); @@ -543,7 +543,7 @@ blargg_err_t Track_seek( struct Ay_Emu *this, long msec ) return Track_skip( this, time - this->out_time ); } -blargg_err_t play_( struct Ay_Emu *this, long count, sample_t* out ) ICODE_ATTR; +blargg_err_t play_( struct Ay_Emu *this, long count, sample_t* out ); static blargg_err_t skip_( struct Ay_Emu *this, long count ) { // for long skip, mute sound -- cgit v1.2.3