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]
Other format: [Raw text]

Re: Tighten mips16 patterns for $31


On Mon, 2003-10-06 at 01:05, Richard Sandiford wrote:
> This patch tweaks the mips16 patterns for saving $31.  The old DImode
> pattern was too general (it allowed any address, not just stack addresses)
> and the SImode one was too specific (it didn't allow ($sp)).
> 
> This is needed by a patch I'll post soon.
> 
> Tested on mips64vrel-elf etc.  OK to install?
> 
> 
> 	* config/mips/mips.h (PREDICATE_CODES): Add stack_operand.
> 	* config/mips/mips.c (stack_operand): New predicate.
> 	* config/mips/mips.md: Use it for the destination of mips16 insns
> 	that store $31.

OK.

-eric

-- 
Eric Christopher <echristo@redhat.com>


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