Add SSE2 support to str{,n}cmp for x86-64.
[glibc.git] / sysdeps / x86_64 / multiarch / Makefile
blobb0664022041e228613b31e00c3800c02e5be9f0a
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
8 ifeq (yes,$(config-cflags-sse4))
9 sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
10 CFLAGS-strcspn-c.c += -msse4
11 CFLAGS-strpbrk-c.c += -msse4
12 CFLAGS-strspn-c.c += -msse4
13 CFLAGS-strstr.c += -msse4
14 CFLAGS-strcasestr.c += -msse4
15 endif
16 endif