On 6/3/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> Dheeraj Kumar Arora wrote:
> >        I m interseted in  one of LLVM project
> >         "Implement well-known optimizations in PIR compiler (SSA -> register
> > allocation)"
> 
> [ I have answerd this ]
> 
> Parrot is a register based virtual machine with 32*4 registers. There
> are a lot of studies WRT optimizations and register allocations for
> compilers and hardware CPUs but probably all these things can be applied
> to Parrot too. See also imcc/cfg.c and imcc/reg_alloc.c for existing code.
> 
> I'm not a computer scientist nor am I able to follow most of the papers
> regarding various optimization techniques or the needed infrastructure
> to implement it
> 
> Anyway, there are folks on our mailing list like Curtis Rawls, who could
> probably better summarize what's needed and what should be done.
> 
> >         Can Any send me the details?
> 
> Yes please, folks.
> 
> leo

Wow, thanks for the link to the Summer of Code, that looks like fun! 
(I know I'll be thinking about my proposal all day at work : ).

I don't have my TODO list with me, I will try to post it later today.

I have been working and thinking about improvements to the Parrot/IMCC
optimizer for a while now.  Implementing SSA is definitely at the top
of my list, because it simplifies a lot of optimizations and makes
some others possible.  The biggest challenge is to graft such a big
change onto a working system, with small changes at a time.

The reference to LLVM is interesting, since it has similar goals to
Parrot, but is research-oriented.  I bet there are some good
techniques that could be learned (and borrowed : ) from LLVM.

-Curtis Rawls

Reply via email to