about summary refs log tree commit diff
path: root/sysdeps/x86_64/memusage.h
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2021-05-03 03:01:58 -0400
committerNoah Goldstein <goldstein.w.n@gmail.com>2021-05-03 21:17:21 -0400
commitacfd088a1963ba51cd83c78f95c0ab25ead79e04 (patch)
treef5b41e1b229d29ec03d23724356883211d94ffdd /sysdeps/x86_64/memusage.h
parent77c1573dbceebf75203e4201615def9765599d87 (diff)
downloadglibc-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/memusage.h')
0 files changed, 0 insertions, 0 deletions