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>
Tue, 20 Apr 2021 01:03:49 +0000 (18:03 -0700)
commit4ba65586847751372520a36757c17f114588794e
treea1a7ffbd26a56f3be0f6466d647e22ef0b33ba58
parentb1e5572837ce79795fa9d6347cdd2eb047e333f0
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>
sysdeps/x86_64/multiarch/strlen-evex.S