From 8d3b3fb77dd4df8a60dcb4c144000c646cd41f27 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 24 Mar 2004 18:27:49 +0000 Subject: [PATCH] invoke.texi (-frename-registers): Add enabled at -O3. * doc/invoke.texi (-frename-registers: Add enabled at -O3. (-fprofile-values): Add enabled with profile-{generate,use}. (-fvpt): Same. (-ftracer): Add enabled with profile-use. (-funit-at-a-time): Add enabled at -O2,-O3. (-funroll-loops): Add enabled with profile-use. (-funswitch-loops): Add enabled with profile-use. Remove duplicates. (max-gcse-passes): Mention default. (max-cse-path-length): Mention default. From-SVN: r79925 --- gcc/ChangeLog | 12 ++++++++++++ gcc/doc/invoke.texi | 30 +++++++++++++++++------------- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63b98481716..74128018385 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2004-03-24 David Edelsohn + + * doc/invoke.texi (-frename-registers: Add enabled at -O3. + (-fprofile-values): Add enabled with profile-{generate,use}. + (-fvpt): Same. + (-ftracer): Add enabled with profile-use. + (-funit-at-a-time): Add enabled at -O2,-O3. + (-funroll-loops): Add enabled with profile-use. + (-funswitch-loops): Add enabled with profile-use. Remove duplicates. + (max-gcse-passes): Mention default. + (max-cse-path-length): Mention default. + 2004-03-24 Nathanael Nerode * Makefile.in (STRICT2_WARN): Reorder. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1e6b36bdb40..dcd72eb1772 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -4332,6 +4332,8 @@ will most benefit processors with lots of registers. It can, however, make debugging impossible, since variables will no longer stay in a ``home register''. +Enabled at levels @option{-O3}. + @item -fweb @opindex fweb Constructs webs as commonly used for register allocation purposes and assign @@ -4533,6 +4535,8 @@ With @option{-fbranch-probabilities}, it reads back the data gathered from profiling values of expressions and adds @samp{REG_VALUE_PROFILE} notes to instructions for their later usage in optimizations. +Enabled with @option{-profile-generate} and @option{-profile-use}. + @item -fvpt @opindex fvpt If combined with @option{-fprofile-arcs}, it instructs the compiler to add @@ -4543,6 +4547,8 @@ and actually performs the optimizations based on them. Currently the optimizations include specialization of division operation using the knowledge about the value of the denominator. +Enabled with @option{-profile-generate} and @option{-profile-use}. + @item -fnew-ra @opindex fnew-ra Use a graph coloring register allocator. Currently this option is meant @@ -4555,12 +4561,16 @@ Perform tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do better job. +Enabled with @option{-profile-use}. + @item -funit-at-a-time @opindex funit-at-a-time Parse the whole compilation unit before starting to produce code. This allows some extra optimizations to take place but consumes more memory. +Enabled at levels @option{-O2}, @option{-O3}. + @item -funroll-loops @opindex funroll-loops Unroll loops whose number of iterations can be determined at compile time or @@ -4569,6 +4579,8 @@ upon entry to the loop. @option{-funroll-loops} implies (i.e. complete removal of loops with small constant number of iterations). This option makes code larger, and may or may not make it run faster. +Enabled with @option{-profile-use}. + @item -funroll-all-loops @opindex funroll-all-loops Unroll all loops, even if their number of iterations is uncertain when @@ -4582,6 +4594,8 @@ Peels the loops for that there is enough information that they do not roll much (from profile feedback). It also turns on complete loop peeling (i.e. complete removal of loops with small constant number of iterations). +Enabled with @option{-profile-use}. + @item -funswitch-loops @opindex funswitch-loops Move branches with loop invariant conditions out of the loop, with duplicates @@ -4603,16 +4617,6 @@ recognition is based on notes from frontend. This usually makes programs run mo @option{-fold-unroll-all-loops} implies the same options as @option{-fold-unroll-loops}. -@item -funswitch-loops -@opindex funswitch-loops -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 -funswitch-loops -@opindex funswitch-loops -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 -fprefetch-loop-arrays @opindex fprefetch-loop-arrays If supported by the target machine, generate instructions to prefetch @@ -4657,7 +4661,7 @@ threading. @item -fbtr-bb-exclusive @opindex fbtr-bb-exclusive -WHen performing branch target register load optimization, don't reuse +When performing branch target register load optimization, don't reuse branch target registers in within any basic block. @item --param @var{name}=@var{value} @@ -4706,7 +4710,7 @@ optimization. If more memory than specified is required, the optimization will not be done. @item max-gcse-passes -The maximum number of passes of GCSE to run. +The maximum number of passes of GCSE to run. The default is 1. @item max-pending-list-length The maximum number of pending dependencies scheduling will allow @@ -4830,7 +4834,7 @@ order to make tracer effective. @item max-cse-path-length -Maximum number of basic blocks on path that cse considers. +Maximum number of basic blocks on path that cse considers. The default is 10. @item ggc-min-expand -- 2.30.2