gcc/gcc ra-build.c ra.c ra-colorize.c ra-debug ...

denisc@gcc.gnu.org denisc@gcc.gnu.org
Sat Feb 1 17:27:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	new-regalloc-branch
Changes by:	denisc@gcc.gnu.org	2003-02-01 17:27:09

Modified files:
	gcc            : ra-build.c ra.c ra-colorize.c ra-debug.c ra.h 
	                 ra-rewrite.c pre-reload.c ChangeLog.RA 

Log message:
	* ra-debug.c (dump_igraph): Mark all insns generated by
	allocator by "'", mark all pseudos generated by allocator too.
	
	* ra.h (copy_insn_p): Declared as extern.
	(hard_regs_combinable_p): New prototype.
	
	* ra.c (hard_regs_combinable_p): New function.
	
	* ra-colorize.c (sort_and_combine_web_pairs): Use
	hard_regs_combinable_p instead of hard_regs_intersect_p.
	(extended_coalesce): Likewise.
	(extended_coalesce_2): Likewise.
	(ra_colorize_free_all): Fix memory deallocation bug.
	
	* ra-build.c (copy_insn_p): Declared as extern in ra.h
	(rematerializable_stack_arg_p): New function.
	(detect_remat_webs): Use it.
	(moves_to_webs): Use hard_regs_combinable_p instead of
	hard_regs_intersect_p.
	(web_class): Disable web splitting.
	
	* ra-rewrite.c (insert_stores): Insert spill slot register
	immediately to insn if rematerialization or insn is a move.
	(emit_loads): Remove all code which handle rematerialization.
	Allow to insert spill slot register immediately to insn if
	insn is a move.
	(coalesce_spill_slot): Remove checking for rematerialization.
	(assign_stack_slots_1): Handle rematerialization.
	(web_class_spill_ref): Fix handling of subregs.
	
	* pre-reload.c (scan_addr_state): Remove field regs_per_addr.
	(scan_addr_func): Likewise.
	(collect_insn_info): Likewise.
	(df_link2ra_link): Scan more insns.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ra-build.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.8&r2=1.1.2.9
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.65&r2=1.1.2.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ra-colorize.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ra-debug.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.6&r2=1.1.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ra.h.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ra-rewrite.c.diff?cvsroot=gcc&only_with_tag=new-regalloc-branch&r1=1.1.2.7&r2=1.1.2.8
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.14&r2=1.1.2.15
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.90&r2=1.1.2.91



More information about the Gcc-cvs mailing list