diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-06-06 21:11:29 -0700 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-06-07 13:09:16 -0700 |
commit | d0370d992e5e7b4a8843e8e130f6c86b483ab7d0 (patch) | |
tree | 7a3aafc1838d351daf924327fbc7c8586d8745fc /elf/tst-audit25a.c | |
parent | dd5c483b2598f411428df4d8864c15c4b8a3cd68 (diff) | |
download | glibc-d0370d992e5e7b4a8843e8e130f6c86b483ab7d0.zip glibc-d0370d992e5e7b4a8843e8e130f6c86b483ab7d0.tar.gz glibc-d0370d992e5e7b4a8843e8e130f6c86b483ab7d0.tar.bz2 |
Benchtests: Improve memrchr benchmarks
Add a second iteration for memrchr to set `pos` starting from the end
of the buffer.
Previously `pos` was only set relative to the beginning of the
buffer. This isn't really useful for memrchr because the beginning
of the search space is (buf + len).
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'elf/tst-audit25a.c')
0 files changed, 0 insertions, 0 deletions