summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-12-31 00:22:53 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-12-31 00:22:53 +0000
commite90473222229e1aee4011ddcd863ca4451320fd9 (patch)
tree63650bc2f5baeb794b4cf2a8ac4a6031391f4720
parent68ae800d2d3781751a24c7decf53ca26f79f8095 (diff)
downloadrockbox-e90473222229e1aee4011ddcd863ca4451320fd9.tar.gz
rockbox-e90473222229e1aee4011ddcd863ca4451320fd9.zip
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
-rw-r--r--apps/codecs/libffmpegFLAC/arm.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/codecs/libffmpegFLAC/arm.S b/apps/codecs/libffmpegFLAC/arm.S
index 39c4b36cda..972467f00f 100644
--- a/apps/codecs/libffmpegFLAC/arm.S
+++ b/apps/codecs/libffmpegFLAC/arm.S
@@ -16,14 +16,20 @@
16 * KIND, either express or implied. 16 * KIND, either express or implied.
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19 19
20#include "config.h"
21
20/* The following is an assembler optimised version of the LPC filtering 22/* The following is an assembler optimised version of the LPC filtering
21 routines needed for FLAC decoding. It is optimised for use with ARM 23 routines needed for FLAC decoding. It is optimised for use with ARM
22 processors. 24 processors.
23 All LPC filtering up to order 9 is done in specially optimised unrolled 25 All LPC filtering up to order 9 is done in specially optimised unrolled
24 loops, while every order above this is handled by a slower default routine. 26 loops, while every order above this is handled by a slower default routine.
25 */ 27 */
28#if USE_IRAM
26 .section .icode,"ax",%progbits 29 .section .icode,"ax",%progbits
30#else
31 .section .text
32#endif
27 .global lpc_decode_arm 33 .global lpc_decode_arm
28lpc_decode_arm: 34lpc_decode_arm:
29 stmdb sp!, { r4-r11, lr } 35 stmdb sp!, { r4-r11, lr }