diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-03 03:03:19 -0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-01-27 15:57:08 -0800 |
commit | 81d2a205a9b03c6e69eefe0bdd79d340dc288747 (patch) | |
tree | 88bbf337924543e9039bfd2eba178c93014063c2 /manual/examples/filesrv.c | |
parent | d5904daf7687f4bdf3de897ce292f377bce76b7e (diff) | |
download | glibc-81d2a205a9b03c6e69eefe0bdd79d340dc288747.zip glibc-81d2a205a9b03c6e69eefe0bdd79d340dc288747.tar.gz glibc-81d2a205a9b03c6e69eefe0bdd79d340dc288747.tar.bz2 |
x86: Optimize memchr-evex.S
No bug. This commit optimizes memchr-evex.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,
saving some ALU in the alignment process, and most importantly
increasing ILP in the 4x 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 2a76821c3081d2c0231ecd2618f52662cb48fccd)
Diffstat (limited to 'manual/examples/filesrv.c')
0 files changed, 0 insertions, 0 deletions