[PATCH] Do not use floating point registers when compiling with -msoft-float for SPARC

Daniel Cederman cederman@gaisler.com
Tue Jul 7 12:16:00 GMT 2015


On 2015-07-07 12:32, Eric Botcazou wrote:
>
> ChangeLog must just describe the what, nothing more.  If the rationale is not
> obvious, then a comment must be added _in the code_ itself.
>
> 	* config/sparc/sparc.c (sparc_function_value_regno_p): Do not return
> 	true on %f0 for a target without FPU.
> 	* config/sparc/sparc.md (untyped_call): Do not save %f0 for a target
> 	without FPU.
> 	(untyped_return): Do not load %f0 for a target without FPU.
>

Understood. Thank you for looking at my patches and coming with 
improvements.

-- 
Daniel Cederman



More information about the Gcc-patches mailing list