1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thom Johansen 2005-12-15 12:40:39 +00:00
parent 9ceb311328
commit df7f61e0c1

View file

@ -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] */