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]

Re: Another fix for sh spill failures



  In message <Pine.LNX.4.21.0009151441220.32574-100000@mahatma.cygnus.co.uk>you
 write:
  > This one is due to having explicit references to hard registers in the
  > machine description and then requiring the same register for secondary
  > reloads.  Fixed by turning the explicit referenes into match_operands.
  > 
  > OK to install?
  > 
  > 
  > Bernd
  > 
  > 	* sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
  > 	MACH into FPUL.
  > 	(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
  > 	* sh.md (reload_outsf): Generate recognizable patterns for
  > 	TARGET_SH3E.
  > 	(floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
  > 	fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
  > 	fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
  > 	truncdfsf2_i4): Change not to use explicit references to fpul.
  > 	(floatsisf2_ie): Remove USE of fpscr.
  > 	(floatsisf2): Change default expansion to match this.
  > 	(fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
  > 	unused patterns.
Approved.  Please install.

jeff


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