This is the mail archive of the
mailing list for the GCC project.
Re: Another fix for sh spill failures
- To: Bernd Schmidt <bernds at redhat dot co dot uk>
- Subject: Re: Another fix for sh spill failures
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 15 Sep 2000 10:09:46 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.LNX.email@example.com>you
> 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?
> * 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
> (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.