diff options
author | Matthew Sterrett <matthew.sterrett@intel.com> | 2024-08-09 15:05:09 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-08-19 07:34:02 -0700 |
commit | 294a8927694ed866ffc40833f1b6d96cd649df0a (patch) | |
tree | 038a279a694db59505571231a34bd3edb40822c8 /sysdeps/generic/dl-osinfo.h | |
parent | 25a5eb4010df94b412c67db9e346029de316d06b (diff) | |
download | glibc-294a8927694ed866ffc40833f1b6d96cd649df0a.tar.gz glibc-294a8927694ed866ffc40833f1b6d96cd649df0a.tar.xz glibc-294a8927694ed866ffc40833f1b6d96cd649df0a.zip |
x86: Unifies 'strnlen-evex' and 'strnlen-evex512' implementations.
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/generic/dl-osinfo.h')
0 files changed, 0 insertions, 0 deletions