This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: FW: [PATCH, AArch64]: Optimize strlen


On Jan 16 17:07, Wilco Dijkstra wrote:
> > Richard Earnshaw wrote:
> > On 16/01/15 16:29, Wilco Dijkstra wrote:
> > > Optimize the strlen implementation by using a page cross check and a fast check
> > > for nul bytes which reverts to separate loop when a non-ASCII char is encountered.
> > > Speedup on cortex-strings test is ~10%, long ASCII strings are processed ~60%
> > > faster, and on random tests it is ~80% better.
> > >
> > > OK for commit?
> > >
> > >
> > 
> > Please can you re-send with the patch in unified diff format.  ie diff -u.
> > 
> > You also need a ChangeLog entry.
> 
> Cvs diff -u result attached. Changelog:
> 
> 2015-01-16  Wilco Dijkstra  wdijkstr@arm.com 
> 
> 	* libc/machine/aarch64/strlen.S (strlen): Improve performance.

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: pgpeTCAAlHqTx.pgp
Description: PGP signature


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