gcc/gcc ChangeLog.rewrite config/mips/mips-pro ...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Feb 26 11:24:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	mips-3_4-rewrite-branch
Changes by:	rsandifo@gcc.gnu.org	2003-02-26 11:24:17

Modified files:
	gcc            : ChangeLog.rewrite 
	gcc/config/mips: mips-protos.h mips.c mips.h mips.md 

Log message:
	* config/mips/mips-protos.h (mips_global_pic_constant_p): Declare.
	* config/mips/mips.h (LEA_REGS): New register class.
	(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add entries for it.
	(GR_REG_CLASS_P): Include LEA_REGS.
	(DANGEROUS_FOR_LA25_P): New macro.
	(EXTRA_CONSTRAINT): Add !DANGEROUS_FOR_LA25_P to R's condition.
	Add a T constraint for the DANGEROUS_FOR_LA25_P case.
	* config/mips/mips.c (mips_regno_to_class): Change GR_REGS
	entries to LEA_REGS.
	(mips_global_pic_constant_p): New function.
	(override_options): Add 'e' register constraint.
	(mips_secondary_reload_class): Return LEA_REGS when reloading
	a dangerous constant into a class containing $25.
	* config/mips/mips.md (movdi_internal2): Add an e <- T alternative.
	(movsi_internal): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.rewrite.diff?cvsroot=gcc&only_with_tag=mips-3_4-rewrite-branch&r1=1.1.2.10&r2=1.1.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips-protos.h.diff?cvsroot=gcc&only_with_tag=mips-3_4-rewrite-branch&r1=1.28.8.7&r2=1.28.8.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.c.diff?cvsroot=gcc&only_with_tag=mips-3_4-rewrite-branch&r1=1.226.2.18&r2=1.226.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.h.diff?cvsroot=gcc&only_with_tag=mips-3_4-rewrite-branch&r1=1.216.2.16&r2=1.216.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.md.diff?cvsroot=gcc&only_with_tag=mips-3_4-rewrite-branch&r1=1.141.6.20&r2=1.141.6.21



More information about the Gcc-cvs mailing list