summaryrefslogtreecommitdiff
path: root/gcc/predict.def
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-13 14:32:06 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-13 14:32:06 +0000
commit49d7c0dbd77c9bcba419156216a7293dfad1c926 (patch)
treee59eac6e05b87df267c8abeecdbcfcb5365cb8a4 /gcc/predict.def
parentb51f29b9a0c6c439e4c9b673ed79c0c6852ae518 (diff)
downloadgcc-49d7c0dbd77c9bcba419156216a7293dfad1c926.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44853 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.def')
-rw-r--r--gcc/predict.def8
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)