[PATCH] Some more movtf SPARC fixes

Richard Henderson rth@cygnus.com
Wed Apr 5 10:05:00 GMT 2000


On Wed, Apr 05, 2000 at 04:24:46PM +0200, Jakub Jelinek wrote:
> 	* config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
> 	movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
> 	movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
> 	(movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
> 	Accept storing GENERAL_REGS into offsetable memory.
> 	* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
> 	building a TFmode constant other than 0.0L into GENERAL_REGS
> 	because we lack the constraints/splitters for it and it could
> 	be a lot of instructions, so loading it from memory should be
> 	generally a win.

Ok.  Though you don't need the explanation for PREFERRED_RELOAD_CLASS
in the changelog.  Ending the description just before "because" is fine.



r~


More information about the Gcc-patches mailing list