Question abt getting the number of available registers
Revital Eres
revital.eres@linaro.org
Thu Oct 27 08:56:00 GMT 2011
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
More information about the Gcc
mailing list