From: spop Date: Sat, 13 Mar 2010 17:35:22 +0000 (+0000) Subject: Fix documentation of the new parameters. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=4a1b38089c1a681c30a6e9728f4354b53a3921b6 Fix documentation of the new parameters. 2010-03-10 Sebastian Pop * doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params, graphite-max-bbs-per-function, and loop-block-tile-size. * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal" with "maximum". (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157437 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 0ca526cd17d..75fe38f5ecf 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,5 +1,13 @@ 2010-03-10 Sebastian Pop + * doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params, + graphite-max-bbs-per-function, and loop-block-tile-size. + * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal" + with "maximum". + (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same. + +2010-03-10 Sebastian Pop + * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove forward declaration. * graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8648405e130..23a0f4af9dc 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8498,17 +8498,21 @@ pointer parameter. @item graphite-max-nb-scop-params To avoid exponential effects in the Graphite loop transforms, the -number of parameters in a SCoP is bounded by 10. +number of parameters in a Static Control Part (SCoP) is bounded. The +default value is 10 parameters. A variable whose value is unknown at +compile time and defined outside a SCoP is a parameter of the SCoP. @item graphite-max-bbs-per-function -To avoid exponential effects in the detection of SCoPs, the functions -with more than 100 basic blocks are not handled by the Graphite loop -transforms. +To avoid exponential effects in the detection of SCoPs, the size of +the functions analyzed by Graphite is bounded. The default value is +100 basic blocks. @item loop-block-tile-size -The default factor for the loop blocking or strip mining transforms, -enabled with @option{-floop-block} or @option{-floop-strip-mine}, is -51. +Loop blocking or strip mining transforms, enabled with +@option{-floop-block} or @option{-floop-strip-mine}, strip mine each +loop in the loop nest by a given number of iterations. The strip +length can be changed using the @option{loop-block-tile-size} +parameter. The default value is 51 iterations. @end table @end table diff --git a/gcc/params.def b/gcc/params.def index dca575d4ab0..435a788307b 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -749,14 +749,14 @@ DEFPARAM (PARAM_LOOP_BLOCK_TILE_SIZE, DEFPARAM (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS, "graphite-max-nb-scop-params", - "maximal number of parameters in a SCoP", + "maximum number of parameters in a SCoP", 10, 0, 0) /* Maximal number of basic blocks in the functions analyzed by Graphite. */ DEFPARAM (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION, "graphite-max-bbs-per-function", - "maximal number of basic blocks per function to be analyzed by Graphite", + "maximum number of basic blocks per function to be analyzed by Graphite", 100, 0, 0) /* Avoid doing loop invariant motion on very large loops. */