aboutsummaryrefslogtreecommitdiff
path: root/REORG.TODO/sysdeps/x86_64/multiarch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/x86_64/multiarch/Makefile')
-rw-r--r--REORG.TODO/sysdeps/x86_64/multiarch/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/x86_64/multiarch/Makefile b/REORG.TODO/sysdeps/x86_64/multiarch/Makefile
new file mode 100644
index 0000000000..310a3a4b72
--- /dev/null
+++ b/REORG.TODO/sysdeps/x86_64/multiarch/Makefile
@@ -0,0 +1,42 @@
+ifeq ($(subdir),csu)
+tests += test-multiarch
+endif
+
+ifeq ($(subdir),string)
+
+sysdep_routines += strncat-c stpncpy-c strncpy-c strcmp-ssse3 \
+ strcmp-sse2-unaligned strncmp-ssse3 \
+ memcmp-avx2-movbe \
+ memcmp-sse4 memcpy-ssse3 \
+ memmove-ssse3 \
+ memcpy-ssse3-back \
+ memmove-ssse3-back \
+ memmove-avx512-no-vzeroupper strcasecmp_l-ssse3 \
+ strncase_l-ssse3 strcat-ssse3 strncat-ssse3\
+ strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3 \
+ strcpy-sse2-unaligned strncpy-sse2-unaligned \
+ stpcpy-sse2-unaligned stpncpy-sse2-unaligned \
+ strcat-sse2-unaligned strncat-sse2-unaligned \
+ strchr-sse2-no-bsf memcmp-ssse3 strstr-sse2-unaligned \
+ strcspn-c strpbrk-c strspn-c varshift \
+ memset-avx512-no-vzeroupper \
+ memmove-avx-unaligned-erms \
+ memmove-avx512-unaligned-erms \
+ memset-avx2-unaligned-erms \
+ memset-avx512-unaligned-erms
+CFLAGS-varshift.c += -msse4
+CFLAGS-strcspn-c.c += -msse4
+CFLAGS-strpbrk-c.c += -msse4
+CFLAGS-strspn-c.c += -msse4
+endif
+
+ifeq ($(subdir),wcsmbs)
+sysdep_routines += wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c \
+ wmemcmp-avx2-movbe \
+ wcscpy-ssse3 wcscpy-c \
+ wcsnlen-sse4_1 wcsnlen-c
+endif
+
+ifeq ($(subdir),debug)
+sysdep_routines += wmemset_chk-nonshared
+endif