diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-08 11:26:16 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-08 11:26:16 +0000 |
commit | 0a15667cc2233f590e022b0faacd103ec9cb041a (patch) | |
tree | 189eaf3a2d0889ab0f7111d7f11b37bda6412bc9 /gcc/params.def | |
parent | ce3b3ea13be7ec1a389f50ac14c5a38472178d79 (diff) | |
download | gcc-0a15667cc2233f590e022b0faacd103ec9cb041a.tar.gz |
* sched-int.h (schedule_block): Adjust declaration.
* sched-rgn.c (bb_state_array, bb_state): New static variables.
(sched_rgn_init): Initialize them.
(sched_rgn_free): Free them.
(schedule_region): Save scheduling state for future blocks, and
pass such state to schedule_block.
* params.def (PARAM_SCHED_STATE_EDGE_PROB_CUTOFF): New.
* doc/invoke.texi (--param): Document it.
* haifa-sched.c (schedule_block): New arg init_state. Use it to
initialize state if nonnull. All callers changed.
Call advance_one_cycle after scheduling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index a4c930b9e3c..8733f1ba631 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -611,6 +611,11 @@ DEFPARAM(PARAM_SCHED_SPEC_PROB_CUTOFF, "The minimal probability of speculation success (in percents), so that speculative insn will be scheduled.", 40, 0, 100) +DEFPARAM(PARAM_SCHED_STATE_EDGE_PROB_CUTOFF, + "sched-state-edge-prob-cutoff", + "The minimum probability an edge must have for the scheduler to save its state across it.", + 10, 0, 100) + DEFPARAM(PARAM_SELSCHED_MAX_LOOKAHEAD, "selsched-max-lookahead", "The maximum size of the lookahead window of selective scheduling", |