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: New loop unroller broken?


Hello,

> We modified our patch following Zdenek's comments (thanks!).
> This patch gains more than 4% improvement overall CFSPEC2000 on Power4,
> with 3 benchmarks showing around 10% improvement (wupwise, swim and art).

btw. could you please measure the difference between

-fbranch-count-reg -funroll-loops

and

-fno-branch-count-reg -funroll-loops

with your patch? If it showed up to be small enough (and it might be the
case -- bct optimization as done in gcc does not bring much profit
anyway), it would probably be easier and cleaner to just switch off the
bct when unrolling is done.

Zdenek


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