Use generic memset/memcpy/memmove in benchtests
authorWilco Dijkstra <wdijkstr@arm.com>
Thu, 29 Aug 2019 14:45:49 +0000 (15:45 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Fri, 30 Aug 2019 16:21:35 +0000 (17:21 +0100)
commit3c05dd79d04da765b1ec93ea97474b3b8d9e0af3
tree7765a34bee154154bcd8e48d934ec661cfbab7a9
parent9743c6272df3d4f4c37cc98e68fab83bf3f57efb
Use generic memset/memcpy/memmove in benchtests

Use the generic C memset/memcpy/memmove in benchtests since comparing
against a slow byte-oriented implementation makes no sense.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2019-08-29  Wilco Dijkstra  <wdijkstr@arm.com>

* benchtests/bench-memcpy.c (simple_memcpy): Remove.
(generic_memcpy): Include generic C memcpy.
* benchtests/bench-memmove.c (simple_memmove): Remove.
(generic_memmove): Include generic C memmove.
* benchtests/bench-memset.c (simple_memset): Remove.
(generic_memset): Include generic C memset.
* benchtests/bench-memset-large.c (simple_memset): Remove.
(generic_memset): Include generic C memset.
* benchtests/bench-memset-walk.c (simple_memset): Remove.
(generic_memset): Include generic C memset.
* string/memcpy.c (MEMCPY): Add defines to enable redirection.
* string/memset.c (MEMSET): Likewise.
* sysdeps/x86_64/memcopy.h: Remove empty file.
ChangeLog
benchtests/bench-memcpy.c
benchtests/bench-memmove.c
benchtests/bench-memset-large.c
benchtests/bench-memset-walk.c
benchtests/bench-memset.c
string/memcpy.c
string/memset.c
sysdeps/x86_64/memcopy.h [deleted file]