This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH]: Performance improve on ARM memset
- From: Daniel Jacobowitz <drow at false dot org>
- To: Min Zhang <mzhang at mvista dot com>
- Cc: libc-ports at sources dot redhat dot com
- Date: Tue, 28 Oct 2008 22:08:38 -0400
- Subject: Re: [PATCH]: Performance improve on ARM memset
- References: <4907A78A.30204@mvista.com>
On Tue, Oct 28, 2008 at 05:00:10PM -0700, Min Zhang wrote:
> This patch improves the execution time of the memset. Tested by "time"
> shell utility on the following test program. The patch reduced execution
> time by 50%. Also sanity tested the memset with length from 0 byte to
> 1000 bytes, just to make sure it doesn't memset any extra or less bytes.
Thanks for the patch.
On what processor did you time it? You're probably optimizing for a
different processor than Philip was; the difficulty with changing
memory functions is not slowing them down for a different CPU or block
size.
Unfortunately, Phil didn't say where he tested; we'll probably have to
benchmark this change on a couple of targets.
--
Daniel Jacobowitz
CodeSourcery