1
0
Fork 0
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:
Marcoen Hirschberg 2006-12-31 00:22:53 +00:00
parent 68ae800d2d
commit e904732222

View file

@ -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 }