re PR target/19803 (__builtin_expect does not modify branch prediction for power4/5)
authorAlan Modra <amodra@bigpond.net.au>
Mon, 7 Feb 2005 21:11:42 +0000 (21:11 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 7 Feb 2005 21:11:42 +0000 (07:41 +1030)
PR target/19803
* predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.

From-SVN: r94714

gcc/ChangeLog
gcc/predict.c

index 0aa8f920ba11cd10e78b3389305e50dd1e8116c0..be840ba2228841db27746420b1c20c30120a87f7 100644 (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
index 7e0f0db93d4e588ede3a427ce1bc0828a4ea9f83..30ad0fe17c977dfdd7b2c69255c83ec2e8a99d06 100644 (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)