This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Deduplicate copy benchtests.
- From: Will Newton <will dot newton at linaro dot org>
- To: Ondřej Bílka <neleai at seznam dot cz>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 5 Sep 2013 17:59:20 +0100
- Subject: Re: [PATCH] Deduplicate copy benchtests.
- Authentication-results: sourceware.org; auth=none
- References: <20130905163901 dot GA19182 at domone dot kolej dot mff dot cuni dot cz>
On 5 September 2013 17:39, OndÅej BÃlka <neleai@seznam.cz> wrote:
> Hi,
>
> Benchtests now are difficult to change given number of places that need
> to be changed. This can be simplified by reducing duplicated code.
>
> Here I moved *cpy and memmove functions to common bench-copy.h file that
> is easier to update.
>
> I added address randomization for copy implementations.
This would be easier to review if it was a series of patches, e.g. one
doing the consolidation, one doing the removal of the tests, one doing
the addition of randomization.
--
Will Newton
Toolchain Working Group, Linaro