From df7f61e0c17c43088bcdcfded0ca657c274b2d2a Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Thu, 15 Dec 2005 12:40:39 +0000 Subject: [PATCH] Fix typo and disable crossfeed assembler version for DEBUG builds, which obviously tend to need the frame pointer which i use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8242 a1c6a512-1295-4272-9138-f99709370657 --- apps/dsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dsp.c b/apps/dsp.c index 309c8a229c..20aa1f895b 100644 --- a/apps/dsp.c +++ b/apps/dsp.c @@ -466,7 +466,7 @@ static long dither_sample(long sample, long bias, long mask, * the src array if gain was applied. * Note that this must be called before the resampler. */ -#if defined(CPU_COLDFIRE) && !defined(SIMULATOR) +#if defined(CPU_COLDFIRE) && !defined(SIMULATOR) && !defined(DEBUG) static const long crossfeed_coefs[6] ICONST_ATTR = { LOW, LOW_COMP, HIGH_NEG, HIGH_COMP, ATT, ATT_COMP }; @@ -503,7 +503,7 @@ static void apply_crossfeed(long* src[], int count) /* HIGH_NEG*high_left + HIGH_COMP*left */ "mac.l %%a1, %%d2, %%acc0 \n" "mac.l %%a2, %%d5, %%acc0 \n" - /* HIGH_NEG*high_right + HIGH_COMP+*right */ + /* HIGH_NEG*high_right + HIGH_COMP*right */ "mac.l %%a1, %%d3, (%[coef])+, %%a1, %%acc1 \n" /* a1 = ATT */ "mac.l %%a2, %%d6, (%[coef])+, %%a2, %%acc1 \n" /* a2 = ATT_COMP */ "lea.l (-6*4, %[coef]), %[coef] \n" /* coef = &coefs[0] */