On Sun, Jun 27, 2010 at 4:33 PM, Andrew Whitworth <[email protected]> wrote:
> Doing it in IMCC is intractable I think. It's probably okay if basic
> PIR doesn't get too fancy with register allocation, though there's no
> reason why it shouldn't be added in to POST. Do you think it should be
> part of normal POST operation, or added as an optional optimization
> step? I ask because we might want multiple pluggable/selectable
> allocators, and we may want to turn off the fancier ones entirelywhere
> speed is an issue.

The problem with doing register allocation before IMCC is that IMCC
creates temporary registers and does so in a very simple, inefficient
way (every temporary in a function consumes an independant register).

I'm not saying that we should keep register allocation in IMCC, but
rather that it should occur in a phase *after* IMCC has finished
allocating its temproraries.
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to