about summary refs log tree commit diff
path: root/sysdeps/x86_64/wcsrchr.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/wcsrchr.S')
-rw-r--r--sysdeps/x86_64/wcsrchr.S11
1 files changed, 8 insertions, 3 deletions
diff --git a/sysdeps/x86_64/wcsrchr.S b/sysdeps/x86_64/wcsrchr.S
index 1d4b1eb21c..abf828b458 100644
--- a/sysdeps/x86_64/wcsrchr.S
+++ b/sysdeps/x86_64/wcsrchr.S
@@ -1,4 +1,4 @@
-/* wcsrchr optimized with SSE2.
+/* wcsrchr dispatch for RTLD and non-multiarch build
    Copyright (C) 2011-2022 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -16,5 +16,10 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#define STRRCHR	wcsrchr
-#include "multiarch/wcsrchr-sse2.S"
+#define WCSRCHR	wcsrchr
+
+#define DEFAULT_IMPL_V1	"multiarch/wcsrchr-sse2.S"
+#define DEFAULT_IMPL_V3	"multiarch/wcsrchr-avx2.S"
+#define DEFAULT_IMPL_V4	"multiarch/wcsrchr-evex.S"
+
+#include "isa-default-impl.h"