params.def (PARAM_MIN_SPEC_PROB): New.
2005-08-24 Pete Steinmetz <steinmtz@us.ibm.com> * params.def (PARAM_MIN_SPEC_PROB): New. * sched-rgn.c (MIN_PROBABILITY): Delete. (compute_trg_info): Convert to PARAM_VALUE. * doc/invoke.texi (param): Document min-spec-prob. From-SVN: r103450
This commit is contained in:
parent
fe58e07668
commit
6f48c21a63
@ -1,3 +1,10 @@
|
||||
2005-08-24 Pete Steinmetz <steinmtz@us.ibm.com>
|
||||
|
||||
* params.def (PARAM_MIN_SPEC_PROB): New.
|
||||
* sched-rgn.c (MIN_PROBABILITY): Delete.
|
||||
(compute_trg_info): Convert to PARAM_VALUE.
|
||||
* doc/invoke.texi (param): Document min-spec-prob.
|
||||
|
||||
2005-08-24 Fariborz Jahanian <fjahanian@apple.com>
|
||||
|
||||
* config/darwin.h: define __PIC__
|
||||
|
@ -6005,6 +6005,10 @@ interblock scheduling. The default value is 10.
|
||||
The maximum number of insns in a region to be considered for
|
||||
interblock scheduling. The default value is 100.
|
||||
|
||||
@item min-sched-prob
|
||||
The minimum probability of reaching a source block for interblock
|
||||
speculative scheduling. The default value is 40.
|
||||
|
||||
@item max-last-value-rtl
|
||||
|
||||
The maximum size measured as number of RTLs that can be recorded in an expression
|
||||
|
@ -451,6 +451,11 @@ DEFPARAM(PARAM_MAX_SCHED_REGION_INSNS,
|
||||
"The maximum number of insns in a region to be considered for interblock scheduling",
|
||||
100, 0, 0)
|
||||
|
||||
DEFPARAM(PARAM_MIN_SPEC_PROB,
|
||||
"min-spec-prob",
|
||||
"The minimum probability of reaching a source block for interblock speculative scheduling",
|
||||
40, 0, 0)
|
||||
|
||||
DEFPARAM(PARAM_MAX_LAST_VALUE_RTL,
|
||||
"max-last-value-rtl",
|
||||
"The maximum number of RTL nodes that can be recorded as combiner's last value",
|
||||
|
@ -251,10 +251,6 @@ static void compute_dom_prob_ps (int);
|
||||
#define IS_SPECULATIVE_INSN(INSN) (IS_SPECULATIVE (BLOCK_TO_BB (BLOCK_NUM (INSN))))
|
||||
#define INSN_BB(INSN) (BLOCK_TO_BB (BLOCK_NUM (INSN)))
|
||||
|
||||
/* Parameters affecting the decision of rank_for_schedule().
|
||||
??? Nope. But MIN_PROBABILITY is used in compute_trg_info. */
|
||||
#define MIN_PROBABILITY 40
|
||||
|
||||
/* Speculative scheduling functions. */
|
||||
static int check_live_1 (int, rtx);
|
||||
static void update_live_1 (int, rtx);
|
||||
@ -1013,7 +1009,7 @@ compute_trg_info (int trg)
|
||||
if (sp->is_valid)
|
||||
{
|
||||
sp->src_prob = GET_SRC_PROB (i, trg);
|
||||
sp->is_valid = (sp->src_prob >= MIN_PROBABILITY);
|
||||
sp->is_valid = (sp->src_prob >= PARAM_VALUE (PARAM_MIN_SPEC_PROB));
|
||||
}
|
||||
|
||||
if (sp->is_valid)
|
||||
|
Loading…
Reference in New Issue
Block a user