x86: Expand test-memset.c and bench-memset.c
authorNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 19 Apr 2021 21:48:11 +0000 (17:48 -0400)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Apr 2021 22:08:04 +0000 (15:08 -0700)
commit81f6dd2135ea761832965bc7518e2ddf949480af
tree879feee7aef25bf4a8d160766ff98186c583cebd
parentf53790272ce7bdc5ecd14b45f65d0464d2a61a3a
x86: Expand test-memset.c and bench-memset.c

No bug. This commit adds tests cases and benchmarks for page cross and
for memset to the end of the page without crossing. As well in
test-memset.c this commit adds sentinel on start/end of tstbuf to test
for overwrites

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
benchtests/bench-memset.c
string/test-memset.c