"optimized" assembly functions in wine

Marcus Meissner meissner at suse.de
Wed Sep 22 01:56:53 CDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040922/094ee3dc/attachment.pgp


More information about the wine-devel mailing list