This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Change bb-reorder.c to use succ block frequency
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~