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/hes_apu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/codecs/libgme/hes_apu.h') diff --git a/apps/codecs/libgme/hes_apu.h b/apps/codecs/libgme/hes_apu.h index fcdcbab786..8f8a525108 100644 --- a/apps/codecs/libgme/hes_apu.h +++ b/apps/codecs/libgme/hes_apu.h @@ -31,7 +31,7 @@ struct Hes_Osc unsigned char control; }; -void Osc_run_until( struct Hes_Osc* this, struct Blip_Synth* synth, blip_time_t ) ICODE_ATTR; +void Osc_run_until( struct Hes_Osc* this, struct Blip_Synth* synth, blip_time_t ); struct Hes_Apu { struct Hes_Osc oscs [osc_count]; @@ -47,9 +47,9 @@ void Apu_init( struct Hes_Apu* this ); // Reset HES apu couns chip void Apu_reset( struct Hes_Apu* this ); -void Apu_osc_output( struct Hes_Apu* this, int index, struct Blip_Buffer* center, struct Blip_Buffer* left, struct Blip_Buffer* right ) ICODE_ATTR; -void Apu_write_data( struct Hes_Apu* this, blip_time_t, int addr, int data ) ICODE_ATTR; -void Apu_end_frame( struct Hes_Apu* this, blip_time_t ) ICODE_ATTR; +void Apu_osc_output( struct Hes_Apu* this, int index, struct Blip_Buffer* center, struct Blip_Buffer* left, struct Blip_Buffer* right ); +void Apu_write_data( struct Hes_Apu* this, blip_time_t, int addr, int data ); +void Apu_end_frame( struct Hes_Apu* this, blip_time_t ); static inline void Apu_volume( struct Hes_Apu* this, int v ) { Synth_volume( &this->synth, (v*9)/5 / osc_count / amp_range ); } #endif -- cgit v1.2.3