diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-13 16:41:14 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-13 16:41:14 +0000 |
commit | a1145a1d040dd52b2b5d0e7fe965b6507475bbe2 (patch) | |
tree | 988f845d688974dd7db1950243ef09cc39ed443c /apps/codecs/libgme/blargg_common.h | |
parent | 724a2d2514578297a7fe21dc4c17a7b51a25758d (diff) | |
download | rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.tar.gz rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.zip |
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/blargg_common.h')
-rw-r--r-- | apps/codecs/libgme/blargg_common.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/codecs/libgme/blargg_common.h b/apps/codecs/libgme/blargg_common.h index 0f955e5151..74125bb808 100644 --- a/apps/codecs/libgme/blargg_common.h +++ b/apps/codecs/libgme/blargg_common.h | |||
@@ -25,20 +25,6 @@ | |||
25 | #define FP_ONE_GAIN (1LL << 24) | 25 | #define FP_ONE_GAIN (1LL << 24) |
26 | #define FP_ONE_VOLUME FP_ONE_GAIN | 26 | #define FP_ONE_VOLUME FP_ONE_GAIN |
27 | 27 | ||
28 | #if 1 /* IRAM configuration is not yet active for all libGME codecs. */ | ||
29 | #undef ICODE_ATTR | ||
30 | #define ICODE_ATTR | ||
31 | |||
32 | #undef IDATA_ATTR | ||
33 | #define IDATA_ATTR | ||
34 | |||
35 | #undef ICONST_ATTR | ||
36 | #define ICONST_ATTR | ||
37 | |||
38 | #undef IBSS_ATTR | ||
39 | #define IBSS_ATTR | ||
40 | #endif | ||
41 | |||
42 | // BLARGG_RESTRICT: equivalent to C99's restrict, where supported | 28 | // BLARGG_RESTRICT: equivalent to C99's restrict, where supported |
43 | #if __GNUC__ >= 3 || _MSC_VER >= 1100 | 29 | #if __GNUC__ >= 3 || _MSC_VER >= 1100 |
44 | #define BLARGG_RESTRICT __restrict | 30 | #define BLARGG_RESTRICT __restrict |