summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/ymtables.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/ymtables.h
parent724a2d2514578297a7fe21dc4c17a7b51a25758d (diff)
downloadrockbox-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/ymtables.h')
-rw-r--r--apps/codecs/libgme/ymtables.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libgme/ymtables.h b/apps/codecs/libgme/ymtables.h
index 4e8f62a39b..51812c1b57 100644
--- a/apps/codecs/libgme/ymtables.h
+++ b/apps/codecs/libgme/ymtables.h
@@ -3,7 +3,7 @@
3 3
4/* Precompiled ym2612 tables for use in Rockbox */ 4/* Precompiled ym2612 tables for use in Rockbox */
5 5
6static const int tl_coeff[] ICONST_ATTR = { 6static const int tl_coeff[] = {
7 268435455, 267712100, 266990695, 266271234, 265553712, 264838123, 264124462, 263412725, 262702906, 261994999, 261289000, 7 268435455, 267712100, 266990695, 266271234, 265553712, 264838123, 264124462, 263412725, 262702906, 261994999, 261289000,
8 260584903, 259882704, 259182396, 258483976, 257787438, 257092777, 256399988, 255709066, 255020006, 254332802, 253647450, 8 260584903, 259882704, 259182396, 258483976, 257787438, 257092777, 256399988, 255709066, 255020006, 254332802, 253647450,
9 252963945, 252282282, 251602456, 250924462, 250248294, 249573949, 248901421, 248230705, 247561797, 246894691, 246229383, 9 252963945, 252282282, 251602456, 250924462, 250248294, 249573949, 248901421, 248230705, 247561797, 246894691, 246229383,
@@ -309,7 +309,7 @@ static const int tl_coeff[] ICONST_ATTR = {
309 34345, 34253, 34160, 34068, 33976, 33885 309 34345, 34253, 34160, 34068, 33976, 33885
310}; 310};
311 311
312static const short sindb_coeff[] ICONST_ATTR = { 312static const short sindb_coeff[] = {
313 2401, 2144, 1994, 1887, 1804, 1737, 1680, 1630, 1587, 1548, 1512, 1480, 1450, 313 2401, 2144, 1994, 1887, 1804, 1737, 1680, 1630, 1587, 1548, 1512, 1480, 1450,
314 1423, 1397, 1373, 1351, 1330, 1310, 1291, 1273, 1255, 1239, 1223, 1208, 1194, 314 1423, 1397, 1373, 1351, 1330, 1310, 1291, 1273, 1255, 1239, 1223, 1208, 1194,
315 1180, 1166, 1153, 1141, 1128, 1117, 1105, 1094, 1084, 1073, 1063, 1053, 1043, 315 1180, 1166, 1153, 1141, 1128, 1117, 1105, 1094, 1084, 1073, 1063, 1053, 1043,
@@ -392,7 +392,7 @@ static const short sindb_coeff[] ICONST_ATTR = {
392}; 392};
393 393
394 394
395static const short lfo_freq_coeff[] ICONST_ATTR = { 395static const short lfo_freq_coeff[] = {
396 0, 3, 6, 9, 12, 15, 18, 21, 25, 28, 31, 34, 37, 396 0, 3, 6, 9, 12, 15, 18, 21, 25, 28, 31, 34, 37,
397 40, 43, 46, 50, 53, 56, 59, 62, 65, 68, 71, 74, 78, 397 40, 43, 46, 50, 53, 56, 59, 62, 65, 68, 71, 74, 78,
398 81, 84, 87, 90, 93, 96, 99, 102, 105, 108, 111, 115, 118, 398 81, 84, 87, 90, 93, 96, 99, 102, 105, 108, 111, 115, 118,
@@ -474,7 +474,7 @@ static const short lfo_freq_coeff[] ICONST_ATTR = {
474 -31, -28, -25, -21, -18, -15, -12, -9, -6, -3 474 -31, -28, -25, -21, -18, -15, -12, -9, -6, -3
475}; 475};
476 476
477static const short lfo_env_coeff[] ICONST_ATTR = { 477static const short lfo_env_coeff[] = {
478 251, 253, 254, 256, 257, 259, 260, 262, 264, 265, 267, 268, 270, 478 251, 253, 254, 256, 257, 259, 260, 262, 264, 265, 267, 268, 270,
479 271, 273, 274, 276, 277, 279, 281, 282, 284, 285, 287, 288, 290, 479 271, 273, 274, 276, 277, 279, 281, 282, 284, 285, 287, 288, 290,
480 291, 293, 294, 296, 297, 299, 300, 302, 303, 305, 306, 308, 309, 480 291, 293, 294, 296, 297, 299, 300, 302, 303, 305, 306, 308, 309,