[MIPS] reduce floating point registers

Shinpei Kato shinny@j02.itscom.net
Thu Apr 8 01:23:00 GMT 2004


I'm sorry for my being late to reply.

Well, I'm still working because another problem occured. But the
situation was changed.
I took a way to use NO_REG. I mean the number of fp registers is still
32 though, I set NO_REG to the last 24 registers.
This way worked successfully. But I want to reduce the number itself.
So I'm now trying the way you mentioned. Yet still doesn't work...
Maybe other parts are wrong.
Although I might post a message soon again, I'm thinking by myself at
the moment.

Regards,
Shinpei Kato


On Mon, 29 Mar 2004 16:24:49 -0800
Jim Wilson <wilson@specifixinc.com> wrote:

> > Shinpei Kato wrote:
> > I want to reduce the number of floating point registers to 8 from 32.
> 
> All you have to do is mark the extra registers as fixed and call-used.
> You can do this via the CONDITIONAL_REGISTER_USAGE macro.
> 
> I suspect your patch fails because you did not modify
> REG_CLASS_CONTENTS, but you shouldn't try to fix this.  You should use
> CONDITIONAL_REGISTER_USAGE instead.
> -- 
> Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
> 





More information about the Gcc mailing list