On 2011/10/27 04:33 PM, Revital Eres wrote:
> Hello,
> 
> I'm working on estimating register pressure in SMS and using
> ira_available_class_regs for getting the number of available
> registers.
> However I encounter a case where ira_available_class_regs showed 64
> available regs for a certain class while ira_class_hard_regs_num
> showed 61 so I am not sure which one I should use. (I'm also not sure
> if ira_class_hard_regs_num  can be used outside of ira-- if not, I
> would need to do that calculation myself)
> 
> Thanks,
> Revital

Looking at the calculations of both values, I would say they should be
the same, unless maybe... REG_ALLOC_ORDER for your target is missing
some registers?

Chung-Lin

Reply via email to