* predict.c (probability_reliable_p): New predicate.
commitb41438e533878db242f60e768da7f4ef548639d0
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Aug 2006 22:29:14 +0000 (23 22:29 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Aug 2006 22:29:14 +0000 (23 22:29 +0000)
treef848a4c4747fe1d9158aa3bfedbaa571b97b8c80
parent38af37fc0b653ee1f2d01a724472ad49de77ab55
* 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
gcc/ChangeLog
gcc/basic-block.h
gcc/config/ia64/ia64.c
gcc/config/rs6000/rs6000.c
gcc/predict.c