mirror of
https://github.com/xiph/opus.git
synced 2025-05-27 21:59:12 +00:00
MIPS optimizations
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
This commit is contained in:
parent
a88d8365d4
commit
f133bac6f9
26 changed files with 2338 additions and 3 deletions
|
@ -135,6 +135,10 @@
|
|||
/** Divide a 32-bit value by a 32-bit value. Result fits in 32 bits */
|
||||
#define DIV32(a,b) (((opus_val32)(a))/((opus_val32)(b)))
|
||||
|
||||
#if defined(MIPSr1_ASM)
|
||||
#include "mips/fixed_generic_mipsr1.h"
|
||||
#endif
|
||||
|
||||
static OPUS_INLINE opus_val16 SIG2WORD16_generic(celt_sig x)
|
||||
{
|
||||
x = PSHR32(x, SIG_SHIFT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue