This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Fortran whole file patch
OK Honza - I'll take a look at your patch tonight - thanks - Paul
On Mon, May 11, 2009 at 1:24 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> Dear All,
>>
>> The attached lacks appropriate testcases, ChangeLogs and so on but
>> does at least represent a more robust version of the whole file scope
>> capability for gfortran.
>>
>> It produces the following with polyhedron:
>> ? ? ? ? ? ? ? ? ? ? ?ac aermod ? ?air capaci channe ?doduc fatigu
>> gas_dy induct ?linpk ? mdbx ? ? nf protei rnflow test_f ? tfft GEOMEAN
>> gfortran_lin_a64 ? 9.78 ?37.83 ? 7.05 ?38.55 ? 2.41 ?36.09 ? 8.74
>> 6.52 ?28.03 ?22.92 ?14.94 ?22.70 ?38.83 ?24.15 ? 9.76 ? 2.52 ?14.12
>> /irun/bin/gfortran -march=native -ffast-math -funroll-loops -O3 %n.f90
>> -o %n
>> gfortran_lin_a64 ? 9.44 ?37.19 ? 8.18 ?38.56 ? 2.60 ?35.91 ? 8.64
>> 6.35 ?28.03 ?21.80 ?14.84 ?22.46 ?37.49 ?24.86 ? 9.71 ? 2.37 ?14.11
>> /irun/bin/gfortran -march=native -ffast-math -fwhole-file
>> -funroll-loops -O3 %n.f90 -o %n
>
> You might want to try -fwhole-program with the patch I setn couple days
> ago.
>>
>> PS It bootstraps and regtests by the way :-)
>
> It would be nice to commit at least parts to mainline. ?If
> -fwhole-program becomes useful, it will allow me to do more IPA testing.
>
> Honza
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy