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:
@ -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
|
||||
|
Reference in New Issue
Block a user