]> 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>
Thu, 27 Jan 2022 22:09:24 +0000 (14:09 -0800)
commit3ac5a7fe8b9fb5ce0ed9c35a5f44f4e8ceffeb0d
treefb8a929cdd1e1bb746d585d5df8daa890cadbeed
parent5697e2dda82505d04149199ba2d2cf80d33a1a79
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