]> sourceware.org Git - glibc.git/blob - sysdeps/x86_64/multiarch/Makefile
Add x86_64 memset optimized for AVX2
[glibc.git] / sysdeps / x86_64 / multiarch / Makefile
1 ifeq ($(subdir),csu)
2 aux += init-arch
3 tests += test-multiarch
4 gen-as-const-headers += ifunc-defines.sym
5 endif
6
7 ifeq ($(subdir),string)
8
9 sysdep_routines += strncat-c stpncpy-c strncpy-c strcmp-ssse3 \
10 strcmp-sse2-unaligned strncmp-ssse3 \
11 memcmp-sse4 memcpy-ssse3 \
12 memcpy-sse2-unaligned mempcpy-ssse3 \
13 memmove-ssse3 memcpy-ssse3-back mempcpy-ssse3-back \
14 memmove-ssse3-back strcasecmp_l-ssse3 \
15 strncase_l-ssse3 strcat-ssse3 strncat-ssse3\
16 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3 \
17 strcpy-sse2-unaligned strncpy-sse2-unaligned \
18 stpcpy-sse2-unaligned stpncpy-sse2-unaligned \
19 strcat-sse2-unaligned strncat-sse2-unaligned \
20 strchr-sse2-no-bsf memcmp-ssse3 strstr-sse2-unaligned \
21 memset-avx2
22
23 ifeq (yes,$(config-cflags-sse4))
24 sysdep_routines += strcspn-c strpbrk-c strspn-c varshift
25 CFLAGS-varshift.c += -msse4
26 CFLAGS-strcspn-c.c += -msse4
27 CFLAGS-strpbrk-c.c += -msse4
28 CFLAGS-strspn-c.c += -msse4
29 endif
30 endif
31
32 ifeq ($(subdir),wcsmbs)
33 sysdep_routines += wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c wcscpy-ssse3 wcscpy-c
34 endif
This page took 0.037807 seconds and 5 git commands to generate.