about summary refs log tree commit diff
path: root/sysdeps/x86_64/wcsrchr.S
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-07-12 12:29:04 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-07-13 14:55:31 -0700
commit425647458b03652526f670da7a0c2605513cf450 (patch)
tree675e2583679b0522f3f3f9f30722c1667ad9666d /sysdeps/x86_64/wcsrchr.S
parent08af081ffd3baa371435da0c6906453e9c8be5f5 (diff)
downloadglibc-425647458b03652526f670da7a0c2605513cf450.tar.gz
glibc-425647458b03652526f670da7a0c2605513cf450.tar.xz
glibc-425647458b03652526f670da7a0c2605513cf450.zip
x86: Move strrchr SSE2 implementation to multiarch/strrchr-sse2.S
This commit doesn't affect libc.so.6, its just housekeeping to prepare
for adding explicit ISA level support.

Tested build on x86_64 and x86_32 with/without multiarch.
Diffstat (limited to 'sysdeps/x86_64/wcsrchr.S')
-rw-r--r--sysdeps/x86_64/wcsrchr.S11
1 files changed, 2 insertions, 9 deletions
diff --git a/sysdeps/x86_64/wcsrchr.S b/sysdeps/x86_64/wcsrchr.S
index 2b80efc5ef..1d4b1eb21c 100644
--- a/sysdeps/x86_64/wcsrchr.S
+++ b/sysdeps/x86_64/wcsrchr.S
@@ -16,12 +16,5 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-
-#define USE_AS_WCSRCHR	1
-#define NO_PMINU	1
-
-#ifndef STRRCHR
-# define STRRCHR	wcsrchr
-#endif
-
-#include "../strrchr.S"
+#define STRRCHR	wcsrchr
+#include "multiarch/wcsrchr-sse2.S"