]> 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>
Thu, 27 Jan 2022 22:45:34 +0000 (14:45 -0800)
commit7dbd7af692575a906a8bfcc9f1f0b3534858d533
treeba4400eb2fe72a43da46b531d43bb745b6e8ca1a
parent04b9cc156d1537eb015a2eb717c942f59a7c03fb
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