summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/gb_cpu_run.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-13 16:41:14 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-13 16:41:14 +0000
commita1145a1d040dd52b2b5d0e7fe965b6507475bbe2 (patch)
tree988f845d688974dd7db1950243ef09cc39ed443c /apps/codecs/libgme/gb_cpu_run.h
parent724a2d2514578297a7fe21dc4c17a7b51a25758d (diff)
downloadrockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.zip
rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.tar.gz
rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.tar.bz2
rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.tar.xz
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/gb_cpu_run.h')
-rw-r--r--apps/codecs/libgme/gb_cpu_run.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/gb_cpu_run.h b/apps/codecs/libgme/gb_cpu_run.h
index 86f06fa..1ea8b59 100644
--- a/apps/codecs/libgme/gb_cpu_run.h
+++ b/apps/codecs/libgme/gb_cpu_run.h
@@ -172,7 +172,7 @@ loop:
#define GET_ADDR() GET_LE16( instr )
- static byte const instr_times [256*2] ICONST_ATTR = {
+ static byte const instr_times [256*2] = {
// 0 1 2 3 4 5 6 7 8 9 A B C D E F
4,12, 8, 8, 4, 4, 8, 4,20, 8, 8, 8, 4, 4, 8, 4,// 0
4,12, 8, 8, 4, 4, 8, 4,12, 8, 8, 8, 4, 4, 8, 4,// 1