summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-12-16 10:30:22 +0000
committerDave Chapman <dave@dchapman.com>2005-12-16 10:30:22 +0000
commitd22938286efa29139df27257a15c619450bf3c13 (patch)
treeeefa9d03322b223dae707d95819ca82da2edfc80
parenta3226c15e7ff3209c8f7f1d32021d56532a59cdc (diff)
Enable assembler optimisations for ARM targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8247 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libmad/SOURCES3
-rw-r--r--apps/codecs/libmad/global.h3
2 files changed, 6 insertions, 0 deletions
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