This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,4.2] Use edge probabilities to control speculation in interblock scheduler


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]