PATCH: enable odd floating-point registers for MIPS32 and MIPS64

Sandra Loosemore sandra@codesourcery.com
Tue May 8 12:58:00 GMT 2007


Eric Christopher wrote:
> 
> On May 7, 2007, at 1:26 PM, Sandra Loosemore wrote:
> 
>> 2007-05-07  Sandra Loosemore  <sandra@codesourcery.com>
>>             Nigel Stephens  <nigel@mips.com>
>>
>>     gcc/
>>     * config/mips/mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC.
>>     Update comments and all uses.
>>     (MIN_FPRS_PER_FMT): Define.
>>     * config/mips/mips.c (function_arg): Fix to correctly handle
>>     the -mips32r2 -mfp64 -mabi=32 case.
>>     (override_options): Enable use of odd-numbered registers for
>>     SFmode values on MIPS32.
>>     (mips_save_reg_p): Save whole floating-point register pair if
>>     either half is used.
>>     (compute_frame_size): Fix comment.
> 
> OK.

Thanks.  I've just committed the patch.

-Sandra



More information about the Gcc-patches mailing list