mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
404a6e3201
This is 64bit SSE4 optimized memcmp. It improves memcmp by upto 3X on Intel Core i7.
18 lines
465 B
Makefile
18 lines
465 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
|
|
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
|