summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-02 21:13:39 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-02 21:13:39 +0000
commitc355122cce921cf6fe28772388d870d8dbde0f89 (patch)
treede6ad1cc187217375dfcfaf86345c90babe76627
parent560d89130f321f00b8c3b84f374b4ae04d3b2577 (diff)
downloadrockbox-c355122cce921cf6fe28772388d870d8dbde0f89.tar.gz
rockbox-c355122cce921cf6fe28772388d870d8dbde0f89.tar.bz2
rockbox-c355122cce921cf6fe28772388d870d8dbde0f89.zip
Minor optimization of mpc codec via moving dewindowing asm to icode section for S5L870x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28454 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libmusepack/synth_filter_arm.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/codecs/libmusepack/synth_filter_arm.S b/apps/codecs/libmusepack/synth_filter_arm.S
index 5bdae93561..b44e029a43 100644
--- a/apps/codecs/libmusepack/synth_filter_arm.S
+++ b/apps/codecs/libmusepack/synth_filter_arm.S
@@ -21,7 +21,12 @@
#include "config.h"
+#if defined(CPU_S5L870X)
+ /* Moving this asm routine to iram is (little) faster on S5L870x. */
+ .section .icode, "ax", %progbits
+#else
.section .text, "ax", %progbits
+#endif
/****************************************************************************
* void mpc_decoder_windowing_D(...)