This is the mail archive of the gcc-cvs@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]

gcc/gcc ChangeLog.RA Makefile.in caller-save.c ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	new-regalloc-branch
Changes by:	matz@gcc.gnu.org	2003-07-02 14:59:53

Modified files:
	gcc            : ChangeLog.RA Makefile.in caller-save.c cfgrtl.c 
	                 cse.c df.c df.h jump.c loop.c pre-reload.c ra.c 
	                 recog.c reg-stack.c regclass.c regs.h rtl.h 
	                 rtlanal.c version.c 

Log message:
	http://gcc.gnu.org/ml/gcc-patches/2003-07/msg00191.html
	
	* Makefile.in (ra-build.o): Depend on OBSTACK_H.
	(ra-rewrite.o): Depend on pre-reload.h.
	
	* caller-save.c (save_call_clobbered_regs): Handle uninitialized rmw
	regs.
	* cfgrtl.c (verify_flow_info): Barf again on missing REG_EH_REGION.
	(purge_dead_edges): Also ignore sibling calls.
	* cse.c (delete_trivially_dead_insns_1): Break out from ... plus
	updates a df structure.
	(delete_trivially_dead_insns): ... here.  Call the above.
	(delete_trivially_dead_insns_df): New.
	* df.c (df_uid_refs_remove): New.
	(df_refs_update): Handle deleted insns.
	* df.h (delete_trivially_dead_insns_df): Prototype.
	* jump.c (true_regnum): Avoid segfault.
	* loop.c (copy_cost_for_loop): Renamed from ...
	(copy_cost): ... this.  Updated all accesses.
	* pre-reload.c (prefer_swapped): New.
	(push_pre_reload): Don't subreg special reg rtx's.
	(scan_alternative): New arguments pfree and prej.  Use prefer_swapped.
	(collect_insn_info): Better heuristics for choosing alternative.
	Don't add reloads in later ra passes.
	* ra.c (newra_in_progress): New.
	(reg_alloc): Set/reset it.
	* recog.c (toplevel): Include ra.h.
	(insn_invalid_p): Check for newra_in_progress.
	(scratch_operand): Ditto, plus only accept non-spill pseudos.
	(does_contain_spill_pseudos): New.
	(constrain_operands): Call it.  Check newra_in_progress.  Accept
	stack pseudos where MEM is accepted.
	* reg-stack.c (move_for_stack_reg): Use delete_insn_and_edges.
	* regclass.c (may_move_in_cost, may_move_out_cost, copy_cost):
	Make global.
	* regs.h (may_move_in_cost, may_move_out_cost): Declare.
	* rtl.h (REG_OR_SUBREG_P): New.
	(note_uses_partial, newra_in_progress, copy_cost): Declare.
	* rtlanal.c (note_uses_1, note_uses_partial): New.
	(note_uses): Call note_uses_1.
	* version.c (version_string): Add "(new RA)" designator.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.RA.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.97&r2=1.1.2.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.592.2.15&r2=1.592.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/caller-save.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.33.2.3&r2=1.33.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgrtl.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.41.2.4&r2=1.41.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.173.2.7&r2=1.173.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/df.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.20&r2=1.1.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/df.h.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.12&r2=1.1.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/jump.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.151.2.6&r2=1.151.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.322.2.6&r2=1.322.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/pre-reload.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.15&r2=1.1.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ra.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.66&r2=1.1.2.67
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/recog.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.87.2.8&r2=1.87.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reg-stack.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.63.2.6&r2=1.63.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/regclass.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.111.2.10&r2=1.111.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/regs.h.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.19.4.4&r2=1.19.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.240.2.11&r2=1.240.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtlanal.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.84.2.7&r2=1.84.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/version.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1120.2.6&r2=1.1120.2.7


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