This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Performance improve on ARM memset


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]