This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: limit code expansion on ifcvt - bbro too?
> On Mon, Nov 18, 2002 at 03:36:20PM -0800, tm wrote:
> > Is maybe_hot_bb_p usable for limiting code expansion on BBRO as well?
> > If so, I'll try to submit a patch for it.
>
> Instead of spending so much effort trying to selectively disable
> parts of BBRO, why don't you come up with a placement algorithm
> that minimizes (1) branches or (2) sum of branch insn sizes.
>
> It shouldn't be _that_ hard.
It is NP complette of course :)
But I remember seeing paper with pretty nice sollution, unforutnately I
can't find the citation right now. I can check harder if needed. THis
has been studied for embedded machines quite well.
Honza
>
>
> r~