Skip to content
Commit a66e6602 authored by Noah Goldstein's avatar Noah Goldstein Committed by Sunil K Pandey
Browse files

x86: Code cleanup in strchr-avx2 and comment justifying branch



Small code cleanup for size: -53 bytes.

Add comment justifying using a branch to do NULL/non-null return.

All string/memory tests pass and no regressions in benchtests.

geometric_mean(N=20) of all benchmarks Original / New: 1.00
Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>

(cherry picked from commit a6fbf4d5)
parent 7898ee8f
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