Benchtests: Add length zero benchmark for memset in bench-memset.c
commit69e6992d79dcd1d41b3379c22689ef5826cdb876
authorNoah Goldstein <goldstein.w.n@gmail.com>
Sun, 6 Feb 2022 05:51:07 +0000 (5 23:51 -0600)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 7 Feb 2022 04:01:39 +0000 (6 22:01 -0600)
tree167fce1d5987d94ce85d54091a36a18754b7e9d7
parentb62ace2740a106222e124cc86956448fa07abf4d
Benchtests: Add length zero benchmark for memset in bench-memset.c

Zero is a relevant size for some workloads (roughly 5% of uses for
GCC) so we should be testing it's performance as well.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
benchtests/bench-memset.c