This is the mail archive of the gcc@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]

Re: Unnecessary PRE optimization


On 12/23/2009 01:01 PM, Steven Bosscher wrote:
On Wed, Dec 23, 2009 at 12:49 PM, Bingfeng Mei<bmei@broadcom.com> wrote:
Hello,
I encounter an issue with PRE optimization, which created worse

Is this at -O2 or -O3?

I think this could be fixed if fwprop propagated addresses into loops; it doesn't because it made performance worse on x86. The real reason is "address_cost on x86 sucks and nobody knows how to fix it exactly", but the performance hit was bad enough that we (Steven Bosscher and I) decided to put that hack into fwprop.


Paolo


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