> > My original post was trying to point out an instance where LRA is not
> performing as well as reload. Although I can avoid this for mips16 it may well
> occur in other circumstances but not be as noticeable. Is this something
> worth pursuing?
> >
> Yes, it is worth pursuing.  Whatever reload does to improve code of IRA, it
> can be better done by global register allocator as it sees all picture not 
> just a
> local context.
> 
> Besides right hard reg move cost value problem, finding reg class for pseudos
> (in IRA or in the old RA) has some pitfalls which can be generally fixed only 
> by
> early choosing insn alternatives before RA.  For example, I know that a
> problem with better use of ARM neon registers could be fixed by this.  But it
> is a bit different story about early code selection.

I have posted a test case and further details in bug 58461. It includes my 
proposed fix to register allocation for mips16 as well but that is a secondary 
issue.

Regards,
Matthew

Reply via email to