According to the Changes page for GCC 8, -floop-unroll-and-jam is
enabled by default for -O3 optimization:
"Two new classical loop nest optimization passes have been added.
-floop-unroll-and-jam performs outer loop unrolling and fusing of the
inner loop copies. -floop-interchange exchanges loops in a loop nest to
improve data locality. Both passes are enabled by default at -O3 and above."
However, the documentation of optimization options does not reflect this.
Is the following change to the documentation acceptable ?
ChangeLog
2018-04-19 Toon Moene <t...@moene.org>
* doc/invoke.texi: Add -floop-unroll-and-jam to options enabled
by -O3.
Index: invoke.texi
===================================================================
--- invoke.texi (revision 259471)
+++ invoke.texi (working copy)
@@ -7652,6 +7652,7 @@
-ftree-loop-distribution @gol
-ftree-loop-distribute-patterns @gol
-floop-interchange @gol
+-floop-unroll-and-jam @gol
-fsplit-paths @gol
-ftree-slp-vectorize @gol
-fvect-cost-model @gol
Thanks,
--
Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news