diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-23 22:29:14 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-23 22:29:14 +0000 |
commit | b41438e533878db242f60e768da7f4ef548639d0 (patch) | |
tree | f848a4c4747fe1d9158aa3bfedbaa571b97b8c80 /gcc/basic-block.h | |
parent | 38af37fc0b653ee1f2d01a724472ad49de77ab55 (diff) | |
download | gcc-b41438e533878db242f60e768da7f4ef548639d0.tar.gz |
* predict.c (probability_reliable_p): New predicate.
(edge_probability_reliable_p, br_prob_note_reliable_p): Likewise.
(predict_loops): Do not predict loop exit with less than 2%
probability.
* basic-block.h (edge_probability_reliable_p,
br_prob_note_reliable_p): Declare.
* ia64.h (ia64_print_operand): Do not disable on-chip branch
prediction when static predictor is not reliable.
* rs6000.c (output_cbranch): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116358 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 9be90975d46..bc9f6650c9a 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -880,6 +880,8 @@ extern void rtl_predict_edge (edge, enum br_predictor, int); extern void predict_edge_def (edge, enum br_predictor, enum prediction); extern void guess_outgoing_edge_probabilities (basic_block); extern void remove_predictions_associated_with_edge (edge); +extern bool edge_probability_reliable_p (edge); +extern bool br_prob_note_reliable_p (rtx); /* In flow.c */ extern void init_flow (void); |