mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-27 13:10:29 +00:00
6fb8cbcb58
This patch includes optimized 64bit memcpy/memmove for Atom, Core 2 and Core i7. It improves memcpy by up to 3X on Atom, up to 4X on Core 2 and up to 1X on Core i7. It also improves memmove by up to 3X on Atom, up to 4X on Core 2 and up to 2X on Core i7.
20 lines
576 B
Makefile
20 lines
576 B
Makefile
ifeq ($(subdir),csu)
|
|
aux += init-arch
|
|
gen-as-const-headers += ifunc-defines.sym
|
|
endif
|
|
|
|
ifeq ($(subdir),string)
|
|
sysdep_routines += stpncpy-c strncpy-c strcmp-ssse3 strncmp-ssse3 \
|
|
strend-sse4 memcmp-sse4 memcpy-ssse3 mempcpy-ssse3 \
|
|
memmove-ssse3 memcpy-ssse3-back mempcpy-ssse3-back \
|
|
memmove-ssse3-back
|
|
ifeq (yes,$(config-cflags-sse4))
|
|
sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
|
|
CFLAGS-strcspn-c.c += -msse4
|
|
CFLAGS-strpbrk-c.c += -msse4
|
|
CFLAGS-strspn-c.c += -msse4
|
|
CFLAGS-strstr.c += -msse4
|
|
CFLAGS-strcasestr.c += -msse4
|
|
endif
|
|
endif
|