From 7ffe0f0ddd214d307b1df4051cea3644012e585f Mon Sep 17 00:00:00 2001 From: Dorit Nuzman Date: Tue, 28 Feb 2006 07:41:47 +0000 Subject: [PATCH] re PR tree-optimization/26419 (-ftree-vectorizer-verbose=n documentation is terse) PR tree-optimization/26419 * doc/invoke.texi (ftree-vectorizer-verbose): Add information on values of n. From-SVN: r111516 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 25 ++++++++++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1efd3a6..7e43a15 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-02-28 Dorit Nuzman + + PR tree-optimization/26419 + * doc/invoke.texi (ftree-vectorizer-verbose): Add information on + values of n. + 2006-02-27 Zack Weinberg * doc/md.texi: Fix typo in previous change. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 60aaaf7..1c4f909 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -4203,9 +4203,28 @@ Enable all the available tree dumps with the flags provided in this option. @item -ftree-vectorizer-verbose=@var{n} @opindex ftree-vectorizer-verbose This option controls the amount of debugging output the vectorizer prints. -This information is written to standard error, unless @option{-fdump-tree-all} -or @option{-fdump-tree-vect} is specified, in which case it is output to the -usual dump listing file, @file{.vect}. +This information is written to standard error, unless +@option{-fdump-tree-all} or @option{-fdump-tree-vect} is specified, +in which case it is output to the usual dump listing file, @file{.vect}. +For @var{n}=0 no diagnostic information is reported. +If @var{n}=1 the vectorizer reports each loop that got vectorized, +and the total number of loops that got vectorized. +If @var{n}=2 the vectorizer also reports non-vectorized loops that passed +the first analysis phase (vect_analyze_loop_form) - i.e. countable, +inner-most, single-bb, single-entry/exit loops. This is the same verbosity +level that @option{-fdump-tree-vect-stats} uses. +Higher verbosity levels mean either more information dumped for each +reported loop, or same amount of information reported for more loops: +If @var{n}=3, alignment related information is added to the reports. +If @var{n}=4, data-references related information (e.g. memory dependences, +memory access-patterns) is added to the reports. +If @var{n}=5, the vectorizer reports also non-vectorized inner-most loops +that did not pass the first analysis phase (i.e. may not be countable, or +may have complicated control-flow). +If @var{n}=6, the vectorizer reports also non-vectorized nested loops. +For @var{n}=7, all the information the vectorizer generates during its +analysis and transformation is reported. This is the same verbosity level +that @option{-fdump-tree-vect-details} uses. @item -frandom-seed=@var{string} @opindex frandom-string -- 2.7.4