From 5f007d14ce68073906656b725938a3be2625435b Mon Sep 17 00:00:00 2001 From: Toon Moene Date: Fri, 18 May 2018 09:07:39 +0000 Subject: [PATCH] invoke.texi: Move -floop-unroll-and-jam documentation directly after that of -floop-interchange. 2018-05-18 Toon Moene * doc/invoke.texi: Move -floop-unroll-and-jam documentation directly after that of -floop-interchange. Indicate that both options are enabled by default when specifying -O3. From-SVN: r260352 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59f4508..3026df4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-05-18 Toon Moene + + * doc/invoke.texi: Move -floop-unroll-and-jam documentation + directly after that of -floop-interchange. Indicate that both + options are enabled by default when specifying -O3. + 2018-05-18 Kyrylo Tkachov * config/aarch64/aarch64-simd.md (vec_set): Use VALL_F16 mode diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8a3b9c1..77e183c 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8838,6 +8838,13 @@ for (int i = 0; i < N; i++) for (int j = 0; j < N; j++) c[i][j] = c[i][j] + a[i][k]*b[k][j]; @end smallexample +This flag is enabled by default at @option{-O3}. + +@item -floop-unroll-and-jam +@opindex floop-unroll-and-jam +Apply unroll and jam transformations on feasible loops. In a loop +nest this unrolls the outer loop by some factor and fuses the resulting +multiple inner loops. This flag is enabled by default at @option{-O3}. @item -ftree-loop-im @opindex ftree-loop-im @@ -10010,12 +10017,6 @@ for one side of the iteration space and false for the other. Move branches with loop invariant conditions out of the loop, with duplicates of the loop on both branches (modified according to result of the condition). -@item -floop-unroll-and-jam -@opindex floop-unroll-and-jam -Apply unroll and jam transformations on feasible loops. In a loop -nest this unrolls the outer loop by some factor and fuses the resulting -multiple inner loops. - @item -ffunction-sections @itemx -fdata-sections @opindex ffunction-sections -- 2.7.4