forked from len0rd/rockbox
fix flac on ARM platforms which don't use iram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11869 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
68ae800d2d
commit
e904732222
1 changed files with 7 additions and 1 deletions
|
|
@ -16,14 +16,20 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
/* The following is an assembler optimised version of the LPC filtering
|
/* The following is an assembler optimised version of the LPC filtering
|
||||||
routines needed for FLAC decoding. It is optimised for use with ARM
|
routines needed for FLAC decoding. It is optimised for use with ARM
|
||||||
processors.
|
processors.
|
||||||
All LPC filtering up to order 9 is done in specially optimised unrolled
|
All LPC filtering up to order 9 is done in specially optimised unrolled
|
||||||
loops, while every order above this is handled by a slower default routine.
|
loops, while every order above this is handled by a slower default routine.
|
||||||
*/
|
*/
|
||||||
|
#if USE_IRAM
|
||||||
.section .icode,"ax",%progbits
|
.section .icode,"ax",%progbits
|
||||||
|
#else
|
||||||
|
.section .text
|
||||||
|
#endif
|
||||||
.global lpc_decode_arm
|
.global lpc_decode_arm
|
||||||
lpc_decode_arm:
|
lpc_decode_arm:
|
||||||
stmdb sp!, { r4-r11, lr }
|
stmdb sp!, { r4-r11, lr }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue