freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freepooma-devel] Re: gcc-4.1 & '__attribute__((flatten))'


From: Richard Guenther
Subject: [Freepooma-devel] Re: gcc-4.1 & '__attribute__((flatten))'
Date: Fri, 24 Mar 2006 16:26:41 +0100 (CET)

On Fri, 24 Mar 2006, Roman Krylov wrote:

Hi all!
Today I tried vanilla gcc-4.1 and marked some methods as __attribute__((flatten)).
Performance raised by factor of 2.2 up to ~ 5 depending on task. Great!

Richard, is it possible to use '|#pragma inline complete|' instead of '__attribute__((flatten))'? How do you predict performance growth ratio with your other patches (forwprop & array_alias) ?

#pragma inline complete is not supported by GCC and I doubt it will be.
The other patches are already in GCC 4.2 development, they are slightly
improving performance.  Forwprop is required for array_alias, though the
latter may be slightly buggy.  So I do not recomment to apply these
patches to 4.1, but if you want to be brave, try the current 4.2 development snapshots.

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]