From 163d72ff1f680f81555c9cdd664fef8bde87df24 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 24 Aug 2007 21:03:19 +0000 Subject: iPod 1st..3rd Gen: Nearly halve the cost of software treble/bass (and eq) by putting the filter routine in IRAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14452 a1c6a512-1295-4272-9138-f99709370657 --- apps/eq_arm.S | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/eq_arm.S b/apps/eq_arm.S index 0c1961d2d3..a18f93a6f8 100644 --- a/apps/eq_arm.S +++ b/apps/eq_arm.S @@ -17,6 +17,8 @@ * ****************************************************************************/ +#include "config.h" + /* uncomment this to make filtering calculate lower bits after shifting. * without this, "shift" of the lower bits will be lost here. */ @@ -26,7 +28,11 @@ * void eq_filter(int32_t **x, struct eqfilter *f, unsigned num, * unsigned channels, unsigned shift) */ +#if CONFIG_CPU == PP5002 + .section .icode,"ax",%progbits +#else .text +#endif .global eq_filter eq_filter: ldr r12, [sp] @ get shift parameter -- cgit v1.2.3