This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to fix mips definition of CLASS_MAX_NREGS


On Sun, 2003-05-18 at 11:36, Richard Sandiford wrote:
> CLASS_MAX_NREGS (FP_REGS, mode) was returning 2 for !TARGET_DOUBLE_FLOAT,
> regardless of mode's size.  This persuaded reload that it could combine
> SFmode and DFmode reloads, generating an invalid (odd-numbered) register
> for the SFmode part.
> 
> Tested on various mips targets, including mips-sgi-irix6.
> Fixes compile/20020415-1.c -O0 for mips-elf.  OK to install?

OK.

-eric

-- 
Eric Christopher <echristo@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]