diff options
author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2009-12-14 16:45:49 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-12-14 17:03:34 +0100 |
commit | 8cd420c223f1a39c01835189669928ea8df9d221 (patch) | |
tree | 9698aabfd30235d568e823ecab91811688f1df94 /libc/string/wcscasecmp_l.c | |
parent | 6732cb1ae137d7af17eb911004ba904badba1b85 (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/wcscasecmp_l.c')
0 files changed, 0 insertions, 0 deletions