Implement SSE4.2 optimized strchr and strrchr.
[glibc.git] / sysdeps / x86_64 / multiarch / Makefile
blob364e7bbbd28bc2531b6dda9496ce3d95d97ac4f4
1 ifeq ($(subdir),csu)
2 aux += init-arch
3 gen-as-const-headers += ifunc-defines.sym
4 endif
6 ifeq ($(subdir),string)
7 sysdep_routines += stpncpy-c strncpy-c strcmp-ssse3 strncmp-ssse3 \
8 strend-sse4
9 ifeq (yes,$(config-cflags-sse4))
10 sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
11 CFLAGS-strcspn-c.c += -msse4
12 CFLAGS-strpbrk-c.c += -msse4
13 CFLAGS-strspn-c.c += -msse4
14 CFLAGS-strstr.c += -msse4
15 CFLAGS-strcasestr.c += -msse4
16 endif
17 endif