This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [MIPS] reduce floating point registers
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Shinpei Kato <shinny at j02 dot itscom dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 29 Mar 2004 16:24:49 -0800
- Subject: Re: [MIPS] reduce floating point registers
- References: <25614940.1079781064338.JavaMail.shinny@j02.itscom.net>
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