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]

Re: branch predictions





On Thu, 4 May 2000, Jeffrey A Law wrote:

> 
> 
> 	3. If we do not have any kind of prediction and one of the blocks
> 	physically follows the current block, then predict the block which
> 	physically follows the current block.  ie, don't rearrange code
> 	at random ;-)  
> 

  I forgot to mentioned that this should be okay. But its not clear whether
  its any better than a random prediction, at least if we believe the
  results in ball/larus' paper (they do a 'random' prediction in this case).
  Hopefully this situation arises rarely,
  although I haven't done any empirical tests.


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