A little warning in GMP.h

Torbjorn Granlund tege at swox.com
Mon Sep 27 17:19:35 CEST 2004

Brian Hurt <bhurt at spnz.org> writes:

  Another comment I'll make is that the cost of a branch is a function of 
  how predictable it is.  A correctly predicted branch is very cheap- a 
  clock cycle or two at worst.  It's a mispredicted branch which is 
Yes, but eliminating even a very predictable branch has the
advantage of expanding basic blocks, and thereby facilitate
scheduling and other optimizations.


More information about the gmp-discuss mailing list