This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Implement stack arrays even for unknown sizes


On Thu, Apr 14, 2011 at 11:43:51PM +0200, Thomas Koenig wrote:
> Am 14.04.2011 21:54, schrieb Tobias Burnus:
> >
> >Thus, the program is twice as fast with the special inline setting. But
> >as users will typically never set more than "-O3 -march=native
> >-ffast-math" (and maybe: -funroll-loops), the inline opportunity is lost
> >in real life.
> 
> Should we maybe tune the inline parameter for Fortran with -Ofast?  I 
> expect that option to be used a lot.
> 

Given some of the results posted here, it may be profitable to
tune the in-line parameter for -O2 and above.  Also, given the
description of -Ofast, anyone doing serious numerical work with
gfortran should be flogged if he/she uses -Ofast.

-- 
Steve


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