predict.c (probability_reliable_p): New predicate.
authorJan Hubicka <jh@suse.cz>
Wed, 23 Aug 2006 22:29:14 +0000 (00:29 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 23 Aug 2006 22:29:14 +0000 (22:29 +0000)
commit2c9e13f37d1b4e6bb027499de9e9d5c7a5d040b5
treef848a4c4747fe1d9158aa3bfedbaa571b97b8c80
parenta4d0390b4488cc159cb7389b778cc92a504f6796
predict.c (probability_reliable_p): New predicate.

* 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.

From-SVN: r116358
gcc/ChangeLog
gcc/basic-block.h
gcc/config/ia64/ia64.c
gcc/config/rs6000/rs6000.c
gcc/predict.c