]> sourceware.org Git - glibc.git/commit
Bench: Add support for choose direction of memcpy in benchtests
authorNoah Goldstein <goldstein.w.n@gmail.com>
Sun, 23 May 2021 23:36:36 +0000 (19:36 -0400)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Sun, 23 May 2021 23:36:36 +0000 (19:36 -0400)
commitfc335a0ded2bcbade73f35c73eef66ff10eecdb8
tree02d4daeb3aaf1afd4311faf6f0798c2a724eb65b
parent94bc766ec627b2c44a6c72bc40013957ffc4b6cd
Bench: Add support for choose direction of memcpy in benchtests

This patch adds support for testing memcpy with both dst > src and dst
< src. Since memcpy is implemented as memmove which has seperate
control flows for certain sizes depending on dst > src it seems like
1) information that should be provided in the benchtest output and a
variable that can be controlled for the benchmarks.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
benchtests/bench-memcpy-large.c
benchtests/bench-memcpy-walk.c
benchtests/bench-memcpy.c
This page took 0.039519 seconds and 5 git commands to generate.