diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-03 03:01:58 -0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-01-27 15:56:52 -0800 |
commit | 1ad51a184048d91327fee98d55f86c2ae4a56c22 (patch) | |
tree | ffa165bf8ee5716b787d804739182143bca0788d /manual/examples/filesrv.c | |
parent | 84619864c6c2f9bda36e7a88880fc35a4eb649a7 (diff) | |
download | glibc-1ad51a184048d91327fee98d55f86c2ae4a56c22.zip glibc-1ad51a184048d91327fee98d55f86c2ae4a56c22.tar.gz glibc-1ad51a184048d91327fee98d55f86c2ae4a56c22.tar.bz2 |
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>
(cherry picked from commit acfd088a1963ba51cd83c78f95c0ab25ead79e04)
Diffstat (limited to 'manual/examples/filesrv.c')
0 files changed, 0 insertions, 0 deletions