Skip to content
Commit b72b8970 authored by Noah Goldstein's avatar Noah Goldstein Committed by H.J. Lu
Browse files

x86: Optimize strlen-avx2.S



No bug. This commit optimizes strlen-avx2.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: default avatarNoah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit aaa23c35)
parent 453ed0a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment