"use register arguments" option enabled.

Arjan van de Ven arjanv at redhat.com
Tue May 17 11:44:32 UTC 2005


On Tue, 2005-05-17 at 12:32 +0100, Mike Hearn wrote:
> On Mon, 16 May 2005 19:01:59 -0400, Ignacio Vazquez-Abrams wrote:
> > Even a 2 clock cycle delay happening hundreds of thousands or even
> > millions of times a second builds up.
> 
> I'd really like to see hard statistics about this. If I recall correctly,
> Ulrich Drepper did some experiments with using -mregparm for internal
> calls inside glibc and found it made no difference, or in some cases made
> things worse. There are enough "intuitively" correct optimisations that
> slow things down out there already ..

actually glibc mostly is lots of function wrappers, where it indeed
helps little.
For the kernel it actually shrunk code some, and at the time I looked
over the assembly generated and it looked a lot better too.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050517/502ce0e5/attachment.sig>


More information about the fedora-devel-list mailing list