diff options
author | Jan Hubicka <jh@suse.cz> | 2001-08-13 16:32:06 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-08-13 14:32:06 +0000 |
commit | d195b46f39f9244d2b341fcc13e61a4e6040d104 (patch) | |
tree | e59eac6e05b87df267c8abeecdbcfcb5365cb8a4 /gcc/predict.def | |
parent | a60af04ac842393f7197d59cdddf6a128818d563 (diff) | |
download | gcc-d195b46f39f9244d2b341fcc13e61a4e6040d104.tar.gz |
predict.c (dump_prediction): New argument "USED".
* predict.c (dump_prediction): New argument "USED".
(combine_predictions_for_insn): Determine the used heuristics,
output the case no heuristic applied.
* predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
From-SVN: r44853
Diffstat (limited to 'gcc/predict.def')
-rw-r--r-- | gcc/predict.def | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/predict.def b/gcc/predict.def index 7559a12f477..a4f7afb05d5 100644 --- a/gcc/predict.def +++ b/gcc/predict.def @@ -36,13 +36,19 @@ Boston, MA 02111-1307, USA. */ REG_BR_PROB_BASE / 2). */ -/* An combined heuristics using Dempster-Shaffer theory. */ +/* A value used as final outcome of all heuristics. */ DEF_PREDICTOR (PRED_COMBINED, "combined", PROB_ALWAYS, 0) +/* An outcome estimated by Dempster-Shaffer theory. */ +DEF_PREDICTOR (PRED_DS_THEORY, "DS theory", PROB_ALWAYS, 0) + /* An combined heuristics using probability determined by first matching heuristics from this list. */ DEF_PREDICTOR (PRED_FIRST_MATCH, "first match", PROB_ALWAYS, 0) +/* Heuristic applying when no heuristic bellow applies. */ +DEF_PREDICTOR (PRED_NO_PREDICTION, "no prediction", PROB_ALWAYS, 0) + /* Mark unconditional jump as taken. */ DEF_PREDICTOR (PRED_UNCONDITIONAL, "unconditional jump", PROB_ALWAYS, PRED_FLAG_FIRST_MATCH) |