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/gb_cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/libgme/gb_cpu.h') diff --git a/apps/codecs/libgme/gb_cpu.h b/apps/codecs/libgme/gb_cpu.h index 3a3b1d6..37b2214 100644 --- a/apps/codecs/libgme/gb_cpu.h +++ b/apps/codecs/libgme/gb_cpu.h @@ -54,7 +54,7 @@ void Cpu_reset( struct Gb_Cpu* this, void* unmapped ); // Maps code memory (memory accessed via the program counter). Start and size // must be multiple of page_size. -void Cpu_map_code( struct Gb_Cpu* this, addr_t start, int size, void* code ) ICODE_ATTR; +void Cpu_map_code( struct Gb_Cpu* this, addr_t start, int size, void* code ); // Current time. static inline int Cpu_time( struct Gb_Cpu* this ) { return this->cpu_state->time; } -- cgit v1.1