[PATCH] Change bb-reorder.c to use succ block frequency

Richard Henderson rth@redhat.com
Mon Jun 13 19:59:00 GMT 2005


On Mon, Jun 13, 2005 at 02:06:38PM -0500, Pat Haugen wrote:
> The following patch fixes the code to match the commentary of the algorithm
> such that block frequency is used instead of edge frequency.

Why?  It seems to me that edge frequency is what's going to matter
to the cpu when considering the branch.  Particularly for cpus that
don't have horrendously sophisticated branch predictors.


r~



More information about the Gcc mailing list