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?
- From: Jan Hubicka <jh at suse dot cz>
- To: tm <tm at mail dot kloo dot net>
- Cc: jh at suse dot cz, gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Nov 2002 09:06:17 +0100
- Subject: Re: limit code expansion on ifcvt - bbro too?
- References: <Pine.LNX.4.21.0211181530330.14263-100000@mail.kloo.net>
>
>
> >Hi,
> >I've noticed that my recent change to BIB branch to increase branch cost
> >to 2 caused code growth on average by about 2%. This patch should solve
> >it by suppressing code expanding if conversion on non-hot blocks in
> >program. I think that disabling anything with branch_cost>=2 should do
> >almost well for most architectures except for VLIW ones where the
> >amortized cost of jump may be higher. Any ideas for better interface?
> >
> >Honza
>
> This isn't about the interface, but...
>
> 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.
BY BBRO you mean basic block reordering?
Yes, you can limit expansion there by same trick, but at the moment BB
reordering does not expansion it knows about...
Honza
>
> Toshi