summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-12-02 22:33:47 +0000
committerThomas Martitz <kugel@rockbox.org>2010-12-02 22:33:47 +0000
commit1d425bf1e6c0346db02f03be496ecef749b49c22 (patch)
tree16616903fa455b70917768bbdb2939a58f876425
parent1633d3f4790714f4d968764d0c3ce10122a3cb5e (diff)
downloadrockbox-1d425bf1e6c0346db02f03be496ecef749b49c22.tar.gz
rockbox-1d425bf1e6c0346db02f03be496ecef749b49c22.zip
Enable ARM ASM optimzations on android. Speedup in codecs ranges from 20% to 150%. Most codecs now need well below 30MHz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28727 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 540eff0329..6b64137b43 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -496,7 +496,8 @@ Lyre prototype 1 */
#define ARM_ARCH 6 /* ARMv6 */
#elif defined(CPU_TCC77X) || defined(CPU_TCC780X) || (CONFIG_CPU == DM320) \
- || (CONFIG_CPU == AT91SAM9260) || (CONFIG_CPU == AS3525v2)
+ || (CONFIG_CPU == AT91SAM9260) || (CONFIG_CPU == AS3525v2) \
+ || (CONFIG_PLATFORM & PLATFORM_ANDROID)
#define CPU_ARM
#define ARM_ARCH 5 /* ARMv5 */