about summary refs log tree commit diff
path: root/localedata/bug-usesetlocale.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-04-21 20:52:29 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-04-22 23:08:40 -0500
commitdf7e295d18ffa34f629578c0017a9881af7620f6 (patch)
tree4bedc359133e7d202730a2f67b9713d45775feb0 /localedata/bug-usesetlocale.c
parent5307aa9c1800f36a64c183c091c9af392c1fa75c (diff)
downloadglibc-df7e295d18ffa34f629578c0017a9881af7620f6.tar.gz
glibc-df7e295d18ffa34f629578c0017a9881af7620f6.tar.xz
glibc-df7e295d18ffa34f629578c0017a9881af7620f6.zip
x86: Optimize {str|wcs}rchr-avx2
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.832
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 'localedata/bug-usesetlocale.c')
0 files changed, 0 insertions, 0 deletions