mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
codecs: disable incompatible ARM assembly for Cortex-M
Some assembly routines don't work on Thumb as-is. For now just disable these so the codecs compile. Affected codecs: - libflac - libmad - libspeex - libtta - libwavpack A few DSP routines need to be disabled for the same reason: - crossfeed_process - crossfeed_meier_process - resample_hermite - filter_process - sample_output_stereo Change-Id: I277e0719652096745a19a7e2b597eff32d8e1553
This commit is contained in:
parent
94c7c908b3
commit
da4e02cdd3
17 changed files with 28 additions and 23 deletions
|
|
@ -7,8 +7,7 @@ stream.c
|
|||
synth.c
|
||||
#if defined(CPU_COLDFIRE)
|
||||
imdct_mcf5249.S
|
||||
#endif
|
||||
#if defined(CPU_ARM)
|
||||
#elif defined(CPU_ARM_CLASSIC)
|
||||
imdct_l_arm.S
|
||||
synth_full_arm.S
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#if defined(CPU_COLDFIRE)
|
||||
#define FPM_COLDFIRE_EMAC
|
||||
#elif defined(CPU_ARM)
|
||||
#elif defined(CPU_ARM_CLASSIC)
|
||||
#define FPM_ARM
|
||||
#elif defined(CPU_MIPS)
|
||||
#define FPM_MIPS
|
||||
|
|
|
|||
|
|
@ -922,7 +922,7 @@ mad_fixed_t III_requantize(unsigned int value, signed int exp)
|
|||
}
|
||||
|
||||
/* we must take care that sz >= bits and sz < sizeof(long) lest bits == 0 */
|
||||
# if defined(CPU_ARM)
|
||||
# if defined(CPU_ARM_CLASSIC)
|
||||
# define MASK(cache, sz, bits) \
|
||||
({ unsigned long res; \
|
||||
asm ("mov %0, #1\n\t" \
|
||||
|
|
@ -1557,7 +1557,7 @@ enum mad_error III_stereo(mad_fixed_t xr[2][576],
|
|||
return MAD_ERROR_NONE;
|
||||
}
|
||||
|
||||
#if defined(CPU_ARM)
|
||||
#if defined(CPU_ARM_CLASSIC)
|
||||
void III_aliasreduce(mad_fixed_t xr[576], int lines);
|
||||
#else
|
||||
/*
|
||||
|
|
@ -2683,7 +2683,7 @@ void III_imdct_s(mad_fixed_t const X[18], mad_fixed_t z[36])
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef CPU_ARM
|
||||
#if defined(CPU_ARM_CLASSIC)
|
||||
void III_overlap(mad_fixed_t const output[36], mad_fixed_t overlap[18],
|
||||
mad_fixed_t sample[18][32], unsigned int sb);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue