re PR target/19803 (__builtin_expect does not modify branch prediction for power4/5)

PR target/19803
	* predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.

From-SVN: r94714
This commit is contained in:
Alan Modra 2005-02-07 21:11:42 +00:00 committed by Alan Modra
parent 0384c7652f
commit b0ad2de203
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-02-08 Alan Modra <amodra@bigpond.net.au>
PR target/19803
* predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.
2005-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
PR debug/19327

View File

@ -67,7 +67,7 @@ static sreal real_zero, real_one, real_almost_one, real_br_prob_base,
real_inv_br_prob_base, real_one_half, real_bb_freq_max;
/* Random guesstimation given names. */
#define PROB_VERY_UNLIKELY (REG_BR_PROB_BASE / 10 - 1)
#define PROB_VERY_UNLIKELY (REG_BR_PROB_BASE / 100 - 1)
#define PROB_EVEN (REG_BR_PROB_BASE / 2)
#define PROB_VERY_LIKELY (REG_BR_PROB_BASE - PROB_VERY_UNLIKELY)
#define PROB_ALWAYS (REG_BR_PROB_BASE)