mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 04:03:35 +08:00
d9cd52e64d
Customize memcmp.c for tile, using similar tricks from memcpy: - replace MERGE macro with dblalign. - replace memcmp_bytes function with revbytes. - use __glibc_likely. - use post-increment addressing. The schedule is still not perfect: the compiler is not hoisting code above the comparison branch, which could save a bundle or two. memcmp speeds up by 30-40% on shorter aligned tests in benchtest, with some tests with unaligned lengths taking a small performance hit. |
||
---|---|---|
.. | ||
bits | ||
nptl | ||
tilegx | ||
tilepro | ||
__longjmp.S | ||
__tls_get_addr.S | ||
_mcount.S | ||
abort-instr.h | ||
backtrace.c | ||
bsd-_setjmp.S | ||
bsd-setjmp.S | ||
bzero.S | ||
crti.S | ||
crtn.S | ||
dl-lookupcfg.h | ||
dl-machine.h | ||
dl-runtime.c | ||
dl-start.S | ||
dl-tls.c | ||
dl-tls.h | ||
dl-trampoline.S | ||
ffs.c | ||
ffsll.c | ||
gccframe.h | ||
Implies | ||
jmpbuf-offsets.h | ||
jmpbuf-unwind.h | ||
ldsodefs.h | ||
libm-test-ulps | ||
machine-gmon.h | ||
Makefile | ||
math_private.h | ||
memcmp.c | ||
memcopy.h | ||
preconfigure | ||
s_fma.c | ||
s_fmaf.c | ||
setjmp.S | ||
sfp-machine.h | ||
sotruss-lib.c | ||
stackguard-macros.h | ||
stackinfo.h | ||
start.S | ||
sysdep.h | ||
tls-macros.h | ||
tst-audit.h | ||
Versions | ||
wordcopy.c |