about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strrchr-avx2.S
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-04-21 20:52:28 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-04-22 23:08:36 -0500
commit5307aa9c1800f36a64c183c091c9af392c1fa75c (patch)
tree8a8a8e6d8221a7157219490657eacf5d184b1c9c /sysdeps/x86_64/multiarch/strrchr-avx2.S
parentc2ff9555a18b84732004d061b1a797ea1a432c6a (diff)
downloadglibc-5307aa9c1800f36a64c183c091c9af392c1fa75c.tar.gz
glibc-5307aa9c1800f36a64c183c091c9af392c1fa75c.tar.xz
glibc-5307aa9c1800f36a64c183c091c9af392c1fa75c.zip
x86: Optimize {str|wcs}rchr-sse2
The new code unrolls the main loop slightly without adding too much
overhead and minimizes the comparisons for the search CHAR.

Geometric Mean of all benchmarks New / Old: 0.741
See email for all results.

Full xcheck passes on x86_64 with and without multiarch enabled.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86_64/multiarch/strrchr-avx2.S')
0 files changed, 0 insertions, 0 deletions