Skip to content
Commit df7e295d authored by Noah Goldstein's avatar Noah Goldstein
Browse files

x86: Optimize {str|wcs}rchr-avx2



The new code unrolls the main loop slightly without adding too much
overhead and minimizes the comparisons for the search CHAR.

Geometric Mean of all benchmarks New / Old: 0.832
See email for all results.

Full xcheck passes on x86_64 with and without multiarch enabled.
Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
parent 5307aa9c
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