From 5a0cb68e43eacc98d275baef08296f154f3ae6dd Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 25 Jul 2006 11:16:03 +0000 Subject: Moved some assembly optimizations to the target tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10318 a1c6a512-1295-4272-9138-f99709370657 --- firmware/SOURCES | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'firmware/SOURCES') diff --git a/firmware/SOURCES b/firmware/SOURCES index 7d93edaca1..2979e33ccc 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -30,7 +30,7 @@ common/strchr.c common/strcmp.c common/strcpy.c #if (CONFIG_CPU == SH7034) && !defined(SIMULATOR) -common/strlen_a.S +target/sh/strlen-sh.S #else common/strlen.c #endif @@ -39,22 +39,24 @@ common/strncpy.c common/strrchr.c common/strtok.c common/timefuncs.c -#if (CONFIG_CPU == SH7034) || defined(CPU_COLDFIRE) -common/memcpy_a.S -common/memmove_a.S -common/memset_a.S + +#ifdef CPU_COLDFIRE +target/coldfire/memcpy-coldfire.S +target/coldfire/memmove-coldfire.S +target/coldfire/memset-coldfire.S +target/coldfire/memset16-coldfire.S +#elif (CONFIG_CPU == SH7034) +target/sh/memcpy-sh.S +target/sh/memmove-sh.S +target/sh/memset-sh.S #elif defined(CPU_ARM) common/memcpy.c common/memmove.c -common/memset_a.S +target/arm/memset-arm.S #else common/memcpy.c common/memmove.c common/memset.c -#endif -#ifdef CPU_COLDFIRE -common/memset16_a.S -#else common/memset16.c #endif #ifdef HAVE_LCD_CHARCELLS -- cgit v1.2.3