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]

Re: Serious performance regression -- some tree optimizer questions




On Mon, 20 Dec 2004, Ulrich Weigand wrote:





Daniel Berlin <dberlin@dberlin.org> wrote on 12/18/2004 02:10:38 AM:

I've attached a patch that will do the optimization you request.

Thanks for looking into this!


It should, however, work for your testcase.

Indeed it does, the combinations I was requesting are performed now. Unfortunately the different set of temporaries now generated appear to trigger some other suboptimal behaviour of ivopts, so the end result is still quite bad (even with Zdenek's patch) -- I'll have to investigate this further ...


If you find it helps other testcases, or whatever, i'm happy to try to explore making that patch usable.
It may actually be worthwile to try one level of backsubstitution per expression or something, assuming the number of possible combinations is small or the type of expression is expensive.


--Dan


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