From d22938286efa29139df27257a15c619450bf3c13 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Fri, 16 Dec 2005 10:30:22 +0000 Subject: [PATCH] Enable assembler optimisations for ARM targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8247 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libmad/SOURCES | 3 +++ apps/codecs/libmad/global.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/apps/codecs/libmad/SOURCES b/apps/codecs/libmad/SOURCES index 72386d3bcb..74b8f2889d 100644 --- a/apps/codecs/libmad/SOURCES +++ b/apps/codecs/libmad/SOURCES @@ -12,3 +12,6 @@ version.c #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) imdct_mcf5249.S #endif +#if defined(CPU_ARM) && !defined(SIMULATOR) +imdct_l_arm.S +#endif diff --git a/apps/codecs/libmad/global.h b/apps/codecs/libmad/global.h index 5dee36c686..fc3dde883e 100644 --- a/apps/codecs/libmad/global.h +++ b/apps/codecs/libmad/global.h @@ -26,6 +26,9 @@ #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) #define FPM_COLDFIRE_EMAC +#elif defined(CPU_ARM) && !defined(SIMULATOR) +#define FPM_ARM +#define ASO_IMDCT #else #define FPM_DEFAULT #endif