diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 18:43:30 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 18:43:30 +0000 |
commit | f816ec49370bf5b0c3a5abf6a4e0392db78af2b0 (patch) | |
tree | adf52de249bf13af0d4b65ddb438bf8e22d50b62 /gcc/predict.def | |
parent | b4b6cf0997728b3b4ccb1f9907cca182e29a22b2 (diff) | |
download | gcc-f816ec49370bf5b0c3a5abf6a4e0392db78af2b0.tar.gz |
* predict.c (return_prediction): New function.
(apply_return_prediction): Likewise.
(tree_bb_level_predictions): Likewise.
(tree_estimate_probability): Add noreturn exit edges; call
bb_level_predictions; fix logic of return heuristics.
(predict_paths_leading_to): Rescuesce from old CVS version of
process_note_prediction function.
* predict.def (PRED_TREE_EARLY_RETURN): New predictor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87768 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.def')
-rw-r--r-- | gcc/predict.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/predict.def b/gcc/predict.def index 4b571630b3b..f469b34c4f8 100644 --- a/gcc/predict.def +++ b/gcc/predict.def @@ -104,6 +104,7 @@ DEF_PREDICTOR (PRED_CALL, "call", HITRATE (70), 0) /* Branch causing function to terminate is probably not taken. */ DEF_PREDICTOR (PRED_EARLY_RETURN, "early return", HITRATE (67), 0) +DEF_PREDICTOR (PRED_TREE_EARLY_RETURN, "early return (on trees)", HITRATE (67), 0) /* Branch containing goto is probably not taken. */ DEF_PREDICTOR (PRED_GOTO, "goto", HITRATE (70), 0) |