]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/x86_64/wcsrchr.S
x86: Add support to build strcmp/strlen/strchr with explicit ISA level
[thirdparty/glibc.git] / sysdeps / x86_64 / wcsrchr.S
index 1d4b1eb21c48e68ebd1cb5a694409a10cc302a1c..abf828b458a0bdf27b7551264fe60bccdc60d67c 100644 (file)
@@ -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.
 
    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"