|
|
513694 |
From 18bfa4d2f8ce8a33367e93ab2eaab90be1133c86 Mon Sep 17 00:00:00 2001
|
|
|
513694 |
From: "H.J. Lu" <hjl.tools@gmail.com>
|
|
|
513694 |
Date: Sat, 5 Feb 2022 11:52:33 -0800
|
|
|
513694 |
Subject: [PATCH] x86_64/multiarch: Sort sysdep_routines and put one entry per
|
|
|
513694 |
line
|
|
|
513694 |
|
|
|
513694 |
(cherry picked from commit c328d0152d4b14cca58407ec68143894c8863004)
|
|
|
513694 |
---
|
|
|
513694 |
sysdeps/x86_64/multiarch/Makefile | 78 +++++++++++++++++++------------
|
|
|
513694 |
1 file changed, 48 insertions(+), 30 deletions(-)
|
|
|
513694 |
|
|
|
513694 |
diff --git a/sysdeps/x86_64/multiarch/Makefile b/sysdeps/x86_64/multiarch/Makefile
|
|
|
513694 |
index 37d8d6f0..8c9e7812 100644
|
|
|
513694 |
--- a/sysdeps/x86_64/multiarch/Makefile
|
|
|
513694 |
+++ b/sysdeps/x86_64/multiarch/Makefile
|
|
|
513694 |
@@ -132,37 +132,55 @@ CFLAGS-strspn-c.c += -msse4
|
|
|
513694 |
endif
|
|
|
513694 |
|
|
|
513694 |
ifeq ($(subdir),wcsmbs)
|
|
|
513694 |
-sysdep_routines += wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c \
|
|
|
513694 |
- wmemcmp-avx2-movbe \
|
|
|
513694 |
- wmemchr-sse2 wmemchr-avx2 \
|
|
|
513694 |
- wcscmp-sse2 wcscmp-avx2 \
|
|
|
513694 |
- wcsncmp-sse2 wcsncmp-avx2 \
|
|
|
513694 |
- wcscpy-ssse3 wcscpy-c \
|
|
|
513694 |
- wcschr-sse2 wcschr-avx2 \
|
|
|
513694 |
- wcsrchr-sse2 wcsrchr-avx2 \
|
|
|
513694 |
- wcslen-sse2 wcslen-sse4_1 wcslen-avx2 \
|
|
|
513694 |
- wcsnlen-c wcsnlen-sse4_1 wcsnlen-avx2 \
|
|
|
513694 |
- wcschr-avx2-rtm \
|
|
|
513694 |
- wcscmp-avx2-rtm \
|
|
|
513694 |
- wcslen-avx2-rtm \
|
|
|
513694 |
- wcsncmp-avx2-rtm \
|
|
|
513694 |
- wcsnlen-avx2-rtm \
|
|
|
513694 |
- wcsrchr-avx2-rtm \
|
|
|
513694 |
- wmemchr-avx2-rtm \
|
|
|
513694 |
- wmemcmp-avx2-movbe-rtm \
|
|
|
513694 |
- wcschr-evex \
|
|
|
513694 |
- wcscmp-evex \
|
|
|
513694 |
- wcslen-evex \
|
|
|
513694 |
- wcsncmp-evex \
|
|
|
513694 |
- wcsnlen-evex \
|
|
|
513694 |
- wcsrchr-evex \
|
|
|
513694 |
- wmemchr-evex \
|
|
|
513694 |
- wmemcmp-evex-movbe \
|
|
|
513694 |
- wmemchr-evex-rtm
|
|
|
513694 |
+sysdep_routines += \
|
|
|
513694 |
+ wcschr-avx2 \
|
|
|
513694 |
+ wcschr-avx2-rtm \
|
|
|
513694 |
+ wcschr-evex \
|
|
|
513694 |
+ wcschr-sse2 \
|
|
|
513694 |
+ wcscmp-avx2 \
|
|
|
513694 |
+ wcscmp-avx2-rtm \
|
|
|
513694 |
+ wcscmp-evex \
|
|
|
513694 |
+ wcscmp-sse2 \
|
|
|
513694 |
+ wcscpy-c \
|
|
|
513694 |
+ wcscpy-ssse3 \
|
|
|
513694 |
+ wcslen-avx2 \
|
|
|
513694 |
+ wcslen-avx2-rtm \
|
|
|
513694 |
+ wcslen-evex \
|
|
|
513694 |
+ wcslen-sse2 \
|
|
|
513694 |
+ wcslen-sse4_1 \
|
|
|
513694 |
+ wcsncmp-avx2 \
|
|
|
513694 |
+ wcsncmp-avx2-rtm \
|
|
|
513694 |
+ wcsncmp-evex \
|
|
|
513694 |
+ wcsncmp-sse2 \
|
|
|
513694 |
+ wcsnlen-avx2 \
|
|
|
513694 |
+ wcsnlen-avx2-rtm \
|
|
|
513694 |
+ wcsnlen-c \
|
|
|
513694 |
+ wcsnlen-evex \
|
|
|
513694 |
+ wcsnlen-sse4_1 \
|
|
|
513694 |
+ wcsrchr-avx2 \
|
|
|
513694 |
+ wcsrchr-avx2-rtm \
|
|
|
513694 |
+ wcsrchr-evex \
|
|
|
513694 |
+ wcsrchr-sse2 \
|
|
|
513694 |
+ wmemchr-avx2 \
|
|
|
513694 |
+ wmemchr-avx2-rtm \
|
|
|
513694 |
+ wmemchr-evex \
|
|
|
513694 |
+ wmemchr-evex-rtm \
|
|
|
513694 |
+ wmemchr-sse2 \
|
|
|
513694 |
+ wmemcmp-avx2-movbe \
|
|
|
513694 |
+ wmemcmp-avx2-movbe-rtm \
|
|
|
513694 |
+ wmemcmp-c \
|
|
|
513694 |
+ wmemcmp-evex-movbe \
|
|
|
513694 |
+ wmemcmp-sse4 \
|
|
|
513694 |
+ wmemcmp-ssse3 \
|
|
|
513694 |
+# sysdep_routines
|
|
|
513694 |
endif
|
|
|
513694 |
|
|
|
513694 |
ifeq ($(subdir),debug)
|
|
|
513694 |
-sysdep_routines += memcpy_chk-nonshared mempcpy_chk-nonshared \
|
|
|
513694 |
- memmove_chk-nonshared memset_chk-nonshared \
|
|
|
513694 |
- wmemset_chk-nonshared
|
|
|
513694 |
+sysdep_routines += \
|
|
|
513694 |
+ memcpy_chk-nonshared \
|
|
|
513694 |
+ memmove_chk-nonshared \
|
|
|
513694 |
+ mempcpy_chk-nonshared \
|
|
|
513694 |
+ memset_chk-nonshared \
|
|
|
513694 |
+ wmemset_chk-nonshared \
|
|
|
513694 |
+# sysdep_routines
|
|
|
513694 |
endif
|
|
|
513694 |
--
|
|
|
513694 |
GitLab
|
|
|
513694 |
|