x86: Optimize memchr-avx2.S
No bug. This commit optimizes memchr-avx2.S. The optimizations include replacing some branches with cmovcc, avoiding some branches entirely in the less_4x_vec case, making the page cross logic less strict, asaving a few instructions the in loop return loop. test-memchr, test-rawmemchr, and test-wmemchr are all passing. Signed-off-by:Noah Goldstein <goldstein.w.n@gmail.com> Reviewed-by:
H.J. Lu <hjl.tools@gmail.com>
Loading
-
mentioned in commit fc1ed01c
-
mentioned in commit 5c38877d
-
mentioned in commit 1ad51a18
-
mentioned in commit 10368cb7
-
mentioned in commit ca7d6c8d
-
mentioned in commit e09c3778
-
mentioned in commit e3e7fab7
-
mentioned in commit 068c8d5a
-
mentioned in commit 94b9c1b6
-
mentioned in commit c85a45ac
-
mentioned in commit d9196d4f
Please register or sign in to comment