This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: food for optimizer developers


On Tue, Aug 10, 2010 at 6:51 PM, Ralf W. Grosse-Kunstleve
<rwgk@yahoo.com> wrote:
> I wrote a Fortran to C++ conversion program that I used to convert selected
> LAPACK sources. Comparing runtimes with different compilers I get:
>
> Â Â Â Â Â Â Â Â Â Â Â Â absolute Ârelative
> ifort 11.1.072      Â1.790s  Â1.00
> gfortran 4.4.4      Â2.470s  Â1.38
> g++ 4.4.4         2.922s  Â1.63

I wonder if adding __restrict to some of the arguments of the
functions will help.  Fortran aliasing is so different from C
aliasing.

-- Pinski


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