Date: Mon, 16 Nov 2015 09:02:31 -0800 (PST) From: Anton Shterenlikht <mexas@bris.ac.uk> To: fortran@freebsd.org, gerald@pfeifer.com, mexas@bris.ac.uk, tijl@FreeBSD.org Subject: Re: advice on gfortran options for a port Message-ID: <201511161702.tAGH2UUB084730@mech-as222.men.bris.ac.uk> In-Reply-To: <alpine.LSU.2.20.1511151644270.4990@anthias>
index | next in thread | previous in thread | raw e-mail
I built gcc6 with graphite.
I then built math/math77 with
-floop-interchange -floop-strip-mine -floop-block
simply with FC=gfortran6. What is the correct way of
changing the compiler?
The tests seem to run, but is there any difference...
well, this will need more time. I don't use math/math77
at present, so will not be doing the thorough check.
However, what is the best way to allow building
with the default compiler with no graphite optimisation
options, and optinally with gcc6 with graphite, with
the above optimisations?
Finally, the info page for gcc6 has:
-ftree-loop-linear
-floop-interchange
-floop-strip-mine
-floop-block
-floop-unroll-and-jam
Perform loop nest optimizations. Same as -floop-nest-optimize. To
use this code transformation, GCC has to be configured with
--with-isl to enable the Graphite loop transformation
infrastructure.
This is not very clear.
Does it mean that all 5 mentioned options are equivalent to the
single option -floop-nest-optimize?
So is there a more detailed description of each of these options?
Thanks
Anton
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511161702.tAGH2UUB084730>
