This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,4.2] Use edge probabilities to control speculation in interblock scheduler
- From: Richard Henderson <rth at redhat dot com>
- To: Peter Steinmetz <steinmtz at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Sep 2005 13:40:41 -0700
- Subject: Re: [PATCH,4.2] Use edge probabilities to control speculation in interblock scheduler
- References: <OF04D79A30.EC735790-ON8625706F.0053C9E7-8625706F.00550C8F@us.ibm.com>
On Thu, Sep 01, 2005 at 10:28:57AM -0500, Peter Steinmetz wrote:
> ! prob[bb] += prob[pred_bb] * (in_edge->probability / REG_BR_PROB_BASE);
Unless I'm missing something, in_edge->probability / REG_BR_PROB_BASE
is an integer division, and will therefore have values 0,1.
r~