about summary refs log tree commit diff
path: root/sysdeps/unix/bsd/cmsg_nxthdr.c
diff options
context:
space:
mode:
authorMatthew Sterrett <matthew.sterrett@intel.com>2024-08-09 15:05:09 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-08-19 07:34:02 -0700
commit294a8927694ed866ffc40833f1b6d96cd649df0a (patch)
tree038a279a694db59505571231a34bd3edb40822c8 /sysdeps/unix/bsd/cmsg_nxthdr.c
parent25a5eb4010df94b412c67db9e346029de316d06b (diff)
downloadglibc-master.tar.gz
glibc-master.tar.xz
glibc-master.zip
x86: Unifies 'strnlen-evex' and 'strnlen-evex512' implementations. HEAD master
This commit uses a common implementation 'strnlen-evex-base.S' for both
'strnlen-evex' and 'strnlen-evex512'

This patch serves both to reduce the number of implementations, and it also does some small optimizations that benefit strnlen-evex and strnlen-evex512.

All tests pass on x86.

Benchmarks were taken on SKX.
https://www.intel.com/content/www/us/en/products/sku/123613/intel-core-i97900x-xseries-processor-13-75m-cache-up-to-4-30-ghz/specifications.html

Geometric mean for strnlen-evex over all benchmarks (N=10) was (new/old) 0.881
Geometric mean for strnlen-evex512 over all benchmarks (N=10) was (new/old) 0.953

Code Size Changes:
    strnlen-evex       :  +31 bytes
    strnlen-evex512    :  +156 bytes
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'sysdeps/unix/bsd/cmsg_nxthdr.c')
0 files changed, 0 insertions, 0 deletions