[Fortran-CAF][Fortran-DEV] Merge from the trunk into the branch

Dominique Dhumieres dominiq@lps.ens.fr
Tue Jun 10 22:36:00 GMT 2014


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



More information about the Fortran mailing list