]> 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)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 23 Jun 2021 18:12:36 +0000 (14:12 -0400)
commit6f573a27b6c8b4236445810a44660612323f5a73
tree3159bf94549e7e2e0458c05e9b992321b7c67026
parenta0db678071c60b6c47c468d231dd0b3694ba7a98
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>
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