]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Add wcslen optimize for sse4.1
authorNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 23 Jun 2021 05:19:34 +0000 (01:19 -0400)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 28 Jan 2022 00:52:37 +0000 (16:52 -0800)
commitd2f04d347ca3df6af0152e4d58d3fced7ead8991
tree610f0f3d9a0605fc9785c7e979c68aaa9773cc34
parent525547fc4f8ec58c9bf4976f6819a84206f9dcfa
x86-64: Add wcslen optimize for sse4.1

No bug. This comment adds the ifunc / build infrastructure
necessary for wcslen to prefer the sse4.1 implementation
in strlen-vec.S. test-wcslen.c is passing.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 6f573a27b6c8b4236445810a44660612323f5a73)
sysdeps/x86_64/multiarch/Makefile
sysdeps/x86_64/multiarch/ifunc-impl-list.c
sysdeps/x86_64/multiarch/ifunc-wcslen.h [new file with mode: 0644]
sysdeps/x86_64/multiarch/wcslen-sse4_1.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/wcslen.c
sysdeps/x86_64/multiarch/wcsnlen.c