diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-03 03:01:58 -0400 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-03 21:17:21 -0400 |
commit | acfd088a1963ba51cd83c78f95c0ab25ead79e04 (patch) | |
tree | f5b41e1b229d29ec03d23724356883211d94ffdd /sysdeps/x86_64/strcmp.S | |
parent | 77c1573dbceebf75203e4201615def9765599d87 (diff) | |
download | glibc-acfd088a1963ba51cd83c78f95c0ab25ead79e04.tar.gz glibc-acfd088a1963ba51cd83c78f95c0ab25ead79e04.tar.xz glibc-acfd088a1963ba51cd83c78f95c0ab25ead79e04.zip |
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>
Diffstat (limited to 'sysdeps/x86_64/strcmp.S')
0 files changed, 0 insertions, 0 deletions