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

2005-06-13 Thread Richard Henderson
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 th

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

2005-06-13 Thread Pat Haugen
The following patch fixes the code to match the commentary of the algorithm such that block frequency is used instead of edge frequency. The change is pretty much neutral on SPEC, max differences of +/- 1% with most showing no difference. Bootstrapped and regtested on powerpc64-unknown-linux-