summaryrefslogtreecommitdiffstats
path: root/libc/string/sh/sh4/memcpy.S
Commit message (Collapse)AuthorAgeFilesLines
* sh: Add new optimisation to the SH4 memcpyGiuseppe Cavallaro2009-09-271-2/+107
| | | | | | | | | | | | | | | | | | This optimization is based on prefetching and 64bit data transfer via FPU (only for the little endianess) Tests shows that: ---------------------------------------- Memory bandwidth | Gain | sh4-300 | sh4-200 ---------------------------------------- 512 bytes to 16KiB | ~20% | ~25% from 32KiB to 16MiB | ~190% | ~5% ---------------------------------------- Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* sh: Fix up optimized SH-4 memcpy on big endian.Giuseppe Cavallaro2009-07-141-12/+12
| | | | | | | | | | Signed-off-by: Hideo Saito <saito@densan.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> See Linux Kernel commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e08b954c9a140f2062649faec72514eb505f18c3 Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-171-54/+53
| | | | | Step 4 libc/string and asm implementation
* Added optmized memcpy implementation for SH4Carmelo Amoroso2007-11-211-0/+804
(backward memcpy algorithm) Modified libc/string/generic/Makefile.in to handle subtarget implementations. Fixed generic memmove code to handle backward memcpy by using a selectable config option __ARCH_HAS_BWD_MEMCPY__ This option is on for SH4 arch Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>