This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Fortran-CAF][Fortran-DEV] Merge from the trunk into the branch
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: paul dot richard dot thomas at gmail dot com, dominiq at lps dot ens dot fr, burnus at net-b dot de
- Cc: fortran at gcc dot gnu dot org
- Date: Wed, 11 Jun 2014 00:35:57 +0200
- Subject: Re: [Fortran-CAF][Fortran-DEV] Merge from the trunk into the branch
- Authentication-results: sourceware.org; auth=none
- References: <53975721 dot 7040101 at net-b dot de> <CAGkQGiKNUV7GxPsyVpJBFJ3sG5XE=PLg2SvTx_xJ8_ddqf8uPw at mail dot gmail dot com>
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