mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
opus: Re-enable Coldfire ASM optimizations
Was accidently disabled in 14c6bb798d
(in January 2019)
(Had to make a minor change due argument differences)
Change-Id: If7c128cdeaa9ed82b2b33de1b75ca7cc4a95abdd
This commit is contained in:
parent
fdbaf7df59
commit
67b5fa06d5
4 changed files with 11 additions and 1 deletions
|
|
@ -97,6 +97,9 @@
|
|||
#if defined(OPUS_ARM_INLINE_EDSP)
|
||||
#include "arm/kiss_fft_armv5e.h"
|
||||
#endif
|
||||
#if defined(OPUS_CF_INLINE_ASM)
|
||||
#include "cf/kiss_fft_cf.h"
|
||||
#endif
|
||||
#if defined(MIPSr1_ASM)
|
||||
#include "mips/kiss_fft_mipsr1.h"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -170,6 +170,8 @@ static OPUS_INLINE opus_int16 SAT16(opus_int32 x) {
|
|||
#include "fixed_c5x.h"
|
||||
#elif defined (TI_C6X_ASM)
|
||||
#include "fixed_c6x.h"
|
||||
#elif defined (OPUS_CF_INLINE_ASM)
|
||||
#include "cf/fixed_cf.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -55,8 +55,9 @@ static inline int32_t MULT32_32_Q31_cf(int32_t a, int32_t b)
|
|||
|
||||
#define OVERRIDE_COMB_FILTER_CONST
|
||||
static inline void comb_filter_const(opus_val32 *y, opus_val32 *x, int T, int N,
|
||||
opus_val16 g10, opus_val16 g11, opus_val16 g12)
|
||||
opus_val16 g10, opus_val16 g11, opus_val16 g12, int arch)
|
||||
{
|
||||
(void)arch;
|
||||
opus_val32 x0, x1, x2, x3, x4;
|
||||
int i;
|
||||
x4 = x[-T-2];
|
||||
|
|
|
|||
|
|
@ -143,6 +143,10 @@ static OPUS_INLINE opus_int32 silk_CLZ32(opus_int32 in32)
|
|||
#include "arm/macros_armv5e.h"
|
||||
#endif
|
||||
|
||||
#ifdef OPUS_CF_INLINE_ASM
|
||||
#include "cf/macros_cf.h"
|
||||
#endif
|
||||
|
||||
#ifdef OPUS_ARM_PRESUME_AARCH64_NEON_INTR
|
||||
#include "arm/macros_arm64.h"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue