This is the mail archive of the gcc@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: How to detect whether we're inside of a loop??


Daniel Berlin wrote:
> On Wednesday, April 9, 2003, at 02:25  PM, Geoff Keating wrote:
> > Why don't you just use the support that GCC already has for
> > detecting the probability that a block will be executed?
> 
> Because it's at the tree level he's talking about, not the RTL
> level.

FWIW, once tree-ssa-vrp is implemented, you get branch
prediction with it for free.  Would that help?

Greetz
Steven


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