This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: food for optimizer developers
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "Ralf W. Grosse-Kunstleve" <rwgk at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 10 Aug 2010 20:47:18 -0700
- Subject: Re: food for optimizer developers
- References: <927026.82449.qm@web111414.mail.gq1.yahoo.com>
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