[IRA] New register allocator question

Vladimir Makarov vmakarov@redhat.com
Mon Jan 5 16:01:00 GMT 2009


Bingfeng Mei wrote:
> I found if I define a new register class that covers both GR_REGS and PR_REGS, the issue can be solved. New IRA spill the predicate register to general regsister first instead of memory.  Is this right approach? 
>
>  #define IRA_COVER_CLASSES           \
>  {              \
>    GRPR_REGS, M_REGS, BXBC_REGS, LIM_REG_CLASSES      \
>  }
>
>   
Sorry, I should have read all your emails before answering.  You figured 
out the solution by yourself.  I pointed out the same solution in my 
previous email.



More information about the Gcc mailing list