diff options
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/Tremor/mdct.c | 1 | ||||
| -rw-r--r-- | apps/codecs/Tremor/mdct_arm.S | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/apps/codecs/Tremor/mdct.c b/apps/codecs/Tremor/mdct.c index 2e38617..dce2a9d 100644 --- a/apps/codecs/Tremor/mdct.c +++ b/apps/codecs/Tremor/mdct.c @@ -39,6 +39,7 @@ #include "mdct_lookup.h" #if defined(CPU_ARM) && CONFIG_CPU != S3C2440 +/* C code is faster on S3C2440 */ extern void mdct_butterfly_32(DATA_TYPE *x); extern void mdct_butterfly_generic_loop(DATA_TYPE *x1, DATA_TYPE *x2, diff --git a/apps/codecs/Tremor/mdct_arm.S b/apps/codecs/Tremor/mdct_arm.S index 495e6a1..275359d 100644 --- a/apps/codecs/Tremor/mdct_arm.S +++ b/apps/codecs/Tremor/mdct_arm.S @@ -16,12 +16,20 @@ * KIND, either express or implied. * ****************************************************************************/ + +#include "config.h" +/* Codecs should not normally do this, but we need to check a macro, and + * codecs.h would confuse the assembler. */ #define cPI3_8 (0x30fbc54d) #define cPI2_8 (0x5a82799a) #define cPI1_8 (0x7641af3d) +#ifdef USE_IRAM .section .icode,"ax",%progbits +#else + .text +#endif .align .global mdct_butterfly_32 |