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] |
On Wed, 2004-04-21 at 09:24, Daniel Berlin wrote:
I personally like/prefer the model of global colouring allocator running, then a specialized local allocator doing the spill code.
Which i'd love, but it's not what we have :)
Reload isn't a good specialized allocator so much as a horrible
horrible mess.
If we had a good global allocator, instead of our global/local pair, i
wouldn't have nearly as much of a problem with vlad's code as i do now.
But i'd be surprised if if vlad's code right now doesn't just end up
compensating for a lot of bad local or global decisions.
Could be, but its sounds like a decent short term solution
until someone gets the chutzpah to rewrite reload yet again, this time as a decent local allocator.
I doubt it has much. new-ra knows to do this already (or rather, the one on the new-regalloc branch does as part of splitting around colors, but other code on the new-regalloc branch like pre-reload are in a shape where they generate such bad code that it makes actual benchmarking worthless).If he has implemented this in reload, it would vanish along with reload when/if it was rewritten.
question, what kind of impact do these changes have using -fnew-ra?
reload is still run is it not?I dunno. I washed my hands of new-ra a while ago :P
It's at this point in the discussion i usually throw up my arms because
someone will bring up some weird platform, and my answer quickly moves
towards "just describe every constraint and cost you have, and solve it
as an ILP model, and be done with it". Or possibly a PBQP model, if we
could. Here's hoping we have the computing power to do that in 5-10
years.
I wont :-), Im not concerned about weird platforms, they ought to be taken care of by the local spilling allocator as a normal part of buisiness via an interface for wacky-type architectures.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |