This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

limit code expansion on ifcvt - bbro too?



>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.

Toshi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]