1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Improve performance of mempcpy by inlining and using memcpy. Enable

this for all targets except sparc which has an optimized mempcpy
implementation.
This commit is contained in:
Wilco Dijkstra
2015-08-05 15:58:15 +01:00
parent f29ac72eff
commit 05a910f7b4
3 changed files with 28 additions and 0 deletions

View File

@ -26,3 +26,6 @@
/* sparc32 and sparc64 strchr(x, '\0') perform better than
__rawmemchr(x, '\0'). */
#define _HAVE_STRING_ARCH_strchr 1
/* Don't inline mempcpy into memcpy as sparc has an optimized mempcpy. */
#define _HAVE_STRING_ARCH_mempcpy 1