]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Optimize strlen-evex.S
authorNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 19 Apr 2021 23:36:06 +0000 (19:36 -0400)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 28 Jan 2022 00:00:59 +0000 (16:00 -0800)
commitae86a6bd4825d24cf4a79e6eb040c4507146649d
tree73b7f0d95e10df0609c1341bdcc12aa46b219fa4
parenta0ce6805989cb48cae3346f84e30a7f69b6e99e6
x86: Optimize strlen-evex.S

No bug. This commit optimizes strlen-evex.S. The
optimizations are mostly small things but they add up to roughly
10-30% performance improvement for strlen. The results for strnlen are
bit more ambiguous. test-strlen, test-strnlen, test-wcslen, and
test-wcsnlen are all passing.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 4ba65586847751372520a36757c17f114588794e)
sysdeps/x86_64/multiarch/strlen-evex.S