On Tue, Sep 21, 2004 at 11:37:44PM +0100, David Laight wrote:
> On Tue, Sep 21, 2004 at 03:53:35PM +0200, Marcus Meissner wrote:
> > On Tue, Sep 21, 2004 at 02:57:39PM +0200, Rein Klazes wrote:
> > > Hi,
> > > 
> > > Just did not feel like chasing bugs the other day. I decided to have
> > > some fun with something that I wondering for a long time: the usefulness
> > > of inline i86 assembly in string functions.
> > 
> > Well, you could do unrolling and larger block moves and the like.
> 
> mmm displacing the rest of the programs working set from the I-cache.
> 
> > However, more speed would be gained from other algorithmical changes.
> 
> Like avoiding the use of 'rep movs' for small values of %ecx

Yes.

However, the compiler will slowly start to do that anyway (if it doesn't 
already), so we should not bother.

Ciao, Marcus

Attachment: pgpoDFqHLiDLf.pgp
Description: PGP signature

Reply via email to