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: [Fortran-CAF][Fortran-DEV] Merge from the trunk into the branch


Dear Dominique,

I wonder why trunk and fortran-dev diverge with the options that I
used? I think that it is important to understand this.

However, what is much more important is that fortran-dev not only
compiles the testsuite but that pbvalid verifies that the results are
correct and that there does not appear to be any serious performance
penalty.

Cheers

Paul

On 11 June 2014 00:35, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
> Hi Paul,
>
>> The only test that stands out is fatigue2 ...
>
> With your options (-march=native -ffast-math -static-libgfortran -funroll-loops -O3 + -Wa,-q)
> the executable compiled with trunk runs in ~84s and compiled with fortran-dev in ~160s.
> If I add the option -fwhole-program, the times are ~52s in both cases. If I compile with
> -funroll-loops -Ofast -fwhole-program the times are ~28.5s in both cases (more or less
> the times I have posted).
>
> The fatigue* programs are a bit peculiar as the optimizer is able to inline the main routine
> with -fwhole-program, leading to almost a factor two speedup.
>
> Cheers,
>
> Dominique



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy


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