summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getdents.c
diff options
context:
space:
mode:
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>2009-12-14 16:45:49 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-12-19 01:52:46 +0100
commitc7138026b726c70a10951ea5f10dfeefbb08156f (patch)
tree8a871919cb1d1b4a72531989007994031a6b0940 /libc/sysdeps/linux/common/getdents.c
parent815b20190f58731ba4e6144a844fa3652c4870ac (diff)
downloaduClibc-alpine-c7138026b726c70a10951ea5f10dfeefbb08156f.tar.bz2
uClibc-alpine-c7138026b726c70a10951ea5f10dfeefbb08156f.tar.xz
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> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/getdents.c')
0 files changed, 0 insertions, 0 deletions