summaryrefslogtreecommitdiff
path: root/gcc/predict.def
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-05 00:55:23 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-05 00:55:23 +0000
commit5d157ac16a43362bd329196d4261ca72d36a4eb1 (patch)
tree2528946d7ea31c1a4553fc28e301db2d6bfac0d1 /gcc/predict.def
parent71cadde7bddfcbea1b66c4f49922566535136700 (diff)
downloadgcc-5d157ac16a43362bd329196d4261ca72d36a4eb1.tar.gz
PR rtl-optimization/23490
* doc/invoke.texi (max-predicted-iterations, max-cse-insns, max-flow-memory-location): Document. * flow.c: Include params.h (MAX_MEM_SET_LIST_LEN): Kill. (add_to_mem_set_list): Use new param. * cse.c (cse_basic_block): Replace 1000 by new param. * params.def (PARAM_MAX_PREDICTED_ITERATIONS, PARAM_MAX_CSE_INSNS, PARAM_MAX_FLOW_MEMORY_LOCATIONS): New. * predict.c (predict_loops): Use new param. * predict.def (MAX_PRED_LOOP_ITERATIONS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106520 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.def')
-rw-r--r--gcc/predict.def12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/predict.def b/gcc/predict.def
index fefe2ed3eee..997f4d2cc98 100644
--- a/gcc/predict.def
+++ b/gcc/predict.def
@@ -58,18 +58,6 @@ DEF_PREDICTOR (PRED_UNCONDITIONAL, "unconditional jump", PROB_ALWAYS,
DEF_PREDICTOR (PRED_LOOP_ITERATIONS, "loop iterations", PROB_ALWAYS,
PRED_FLAG_FIRST_MATCH)
-/* For guessed profiles, the loops having unknown number of iterations
- are predicted to iterate relatively few (10) times at average.
- For functions containing one loop with large known number of iterations
- and other loops having unbounded loops we would end up predicting all
- the other loops cold that is not usually the case. So we need to artifically
- flatten the profile.
-
- We need to cut the maximal predicted iterations to large enought iterations
- so the loop appears important, but safely within HOT_BB_COUNT_FRACTION
- range. */
-#define MAX_PRED_LOOP_ITERATIONS 100
-
/* Hints dropped by user via __builtin_expect feature. */
DEF_PREDICTOR (PRED_BUILTIN_EXPECT, "__builtin_expect", PROB_VERY_LIKELY,
PRED_FLAG_FIRST_MATCH)