summaryrefslogtreecommitdiff
path: root/libc/string/wcslcpy.c
diff options
context:
space:
mode:
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>2009-12-14 16:45:49 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-14 17:03:34 +0100
commit8cd420c223f1a39c01835189669928ea8df9d221 (patch)
tree9698aabfd30235d568e823ecab91811688f1df94 /libc/string/wcslcpy.c
parent6732cb1ae137d7af17eb911004ba904badba1b85 (diff)
sh: fix endianess and optimise the SH4 memcpy
This patch fixes the big-endian code and adds a new optimization only for little endian mode. This optimization is based on prefetching and 64bit data transfer via FPU. 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>
Diffstat (limited to 'libc/string/wcslcpy.c')
0 files changed, 0 insertions, 0 deletions