Re: Extending jumps after block reordering

2007-11-05 Thread Gregory B. Prokopski
+++ Eric Botcazou [02/11/07 09:56 +0100]: > > Questions: > > * shorten_branches() computes sizes of instructions so I know what the > > distance is between a jump instr and its target label. But how do I know > > what is the maximum distance each kind of branch can safely take? > > bb-reorde

Re: Extending jumps after block reordering

2007-11-02 Thread Eric Botcazou
> Questions: > * shorten_branches() computes sizes of instructions so I know what the > distance is between a jump instr and its target label. But how do I know > what is the maximum distance each kind of branch can safely take? > bb-reorder.c assumes that its only when cold/hot partitions a

Extending jumps after block reordering

2007-10-31 Thread Gregory B. Prokopski
+++ Ian Lance Taylor [06/07/07 09:16 -0700]: > shorten_branches should work correctly--you shouldn't need to do > anything special. My only guess is that there is something wrong with > the way you are reordering the blocks. For example, perhaps you are > simply reordering the CFG without reorder