diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2010-02-09 19:51:30 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2010-02-09 19:51:30 +0300 |
commit | 57257f0dd5ce62ad42b9a5ca7d87f8b470f6a474 (patch) | |
tree | 864298f8a3120ecb2b11c1b1cae3ad83c106b935 | |
parent | 72d182d3d2cbfdf653bf6a9d34172f78420802ef (diff) | |
download | gcc-57257f0dd5ce62ad42b9a5ca7d87f8b470f6a474.zip gcc-57257f0dd5ce62ad42b9a5ca7d87f8b470f6a474.tar.gz gcc-57257f0dd5ce62ad42b9a5ca7d87f8b470f6a474.tar.bz2 |
common.opt (fsched2-use-traces): Preserved for backward compatibility.
2010-02-09 Alexander Monakov <amonakov@ispras.ru>
gcc/ChangeLog:
* common.opt (fsched2-use-traces): Preserved for backward
compatibility.
* doc/invoke.texi: Remove the documentation about option
-fsched2-use-traces.
* sched-rgn.c (rest_of_handle_sched2): Remove usage of
flag_sched2_use_traces.
* opts.c (common_handle_option): Add OPT_fsched2_use_traces to
the backward compatibility flag section.
gcc/testsuite/ChangeLog:
* gcc.dg/pr19340.c: Adjust.
From-SVN: r156629
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/common.opt | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 16 | ||||
-rw-r--r-- | gcc/opts.c | 1 | ||||
-rw-r--r-- | gcc/sched-rgn.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr19340.c | 2 |
7 files changed, 21 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47608b1..d26d736 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2010-02-09 Alexander Monakov <amonakov@ispras.ru> + + * common.opt (fsched2-use-traces): Preserved for backward + compatibility. + * doc/invoke.texi: Remove the documentation about option + -fsched2-use-traces. + * sched-rgn.c (rest_of_handle_sched2): Remove usage of + flag_sched2_use_traces. + * opts.c (common_handle_option): Add OPT_fsched2_use_traces to + the backward compatibility flag section. + 2010-02-09 Richard Guenther <rguenther@suse.de> PR tree-optimization/43008 diff --git a/gcc/common.opt b/gcc/common.opt index a4358b5..3318258 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1043,8 +1043,8 @@ Common Report Var(flag_sched2_use_superblocks) Optimization If scheduling post reload, do superblock scheduling fsched2-use-traces -Common Report Var(flag_sched2_use_traces) Optimization -If scheduling post reload, do trace scheduling +Common +Does nothing. Preserved for backward compatibility. fschedule-insns Common Report Var(flag_schedule_insns) Optimization diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e6a1367..9684f17 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -367,8 +367,7 @@ Objective-C and Objective-C++ Dialects}. -freciprocal-math -fregmove -frename-registers -freorder-blocks @gol -freorder-blocks-and-partition -freorder-functions @gol -frerun-cse-after-loop -freschedule-modulo-scheduled-loops @gol --frounding-math -fsched2-use-superblocks @gol --fsched2-use-traces -fsched-pressure @gol +-frounding-math -fsched2-use-superblocks -fsched-pressure @gol -fsched-spec-load -fsched-spec-load-dangerous @gol -fsched-stalled-insns-dep[=@var{n}] -fsched-stalled-insns[=@var{n}] @gol -fsched-group-heuristic -fsched-critical-path-heuristic @gol @@ -6405,19 +6404,6 @@ This is enabled by default when scheduling is enabled, i.e.@: with @option{-fschedule-insns} or @option{-fschedule-insns2} or at @option{-O2} or higher. -@item -fsched2-use-traces -@opindex fsched2-use-traces -Use @option{-fsched2-use-superblocks} algorithm when scheduling after register -allocation and additionally perform code duplication in order to increase the -size of superblocks using tracer pass. See @option{-ftracer} for details on -trace formation. - -This mode should produce faster but significantly longer programs. Also -without @option{-fbranch-probabilities} the traces constructed may not -match the reality and hurt the performance. This only makes -sense when scheduling after register allocation, i.e.@: with -@option{-fschedule-insns2} or at @option{-O2} or higher. - @item -freschedule-modulo-scheduled-loops @opindex freschedule-modulo-scheduled-loops The modulo scheduling comes before the traditional scheduling, if a loop @@ -2126,6 +2126,7 @@ common_handle_option (size_t scode, const char *arg, int value, case OPT_fcse_skip_blocks: case OPT_floop_optimize: case OPT_frerun_loop_opt: + case OPT_fsched2_use_traces: case OPT_fstrength_reduce: case OPT_ftree_store_copy_prop: case OPT_fforce_addr: diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 68da37b..c7b0ad6 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -3537,7 +3537,7 @@ rest_of_handle_sched2 (void) { /* Do control and data sched analysis again, and write some more of the results to dump file. */ - if (flag_sched2_use_superblocks || flag_sched2_use_traces) + if (flag_sched2_use_superblocks) schedule_ebbs (); else schedule_insns (); diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9c162e2..2261532 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-02-09 Alexander Monakov <amonakov@ispras.ru> + + * gcc.dg/pr19340.c: Adjust. + 2010-02-09 Richard Guenther <rguenther@suse.de> PR tree-optimization/43008 diff --git a/gcc/testsuite/gcc.dg/pr19340.c b/gcc/testsuite/gcc.dg/pr19340.c index 58a919b..4a66591 100644 --- a/gcc/testsuite/gcc.dg/pr19340.c +++ b/gcc/testsuite/gcc.dg/pr19340.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O1 -fschedule-insns2 -fsched2-use-traces" } */ +/* { dg-options "-O1 -fschedule-insns2 -fsched2-use-superblocks" } */ /* { dg-skip-if "No scheduling" { mmix-*-* cris-*-* crisv32-*-* fido-*-* m68k-*-* m32c-*-* avr-*-* moxie-*-* } { "*" } { "" } } */ extern double f (double x); |