This is the mail archive of the
mailing list for the GCC project.
limit code expansion on ifcvt - bbro too?
- From: tm <tm at mail dot kloo dot net>
- To: jh at suse dot cz
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Nov 2002 15:36:20 -0800 (PST)
- Subject: limit code expansion on ifcvt - bbro too?
>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?
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.