gcc/gcc ChangeLog.RA ra-colorize.c ra-rewrite. ...

matz@gcc.gnu.org matz@gcc.gnu.org
Wed Jul 2 15:10:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	new-regalloc-branch
Changes by:	matz@gcc.gnu.org	2003-07-02 15:10:29

Modified files:
	gcc            : ChangeLog.RA ra-colorize.c ra-rewrite.c ra.c 

Log message:
	http://gcc.gnu.org/ml/gcc-patches/2003-07/msg00212.html
	* ra-colorize.c (init_split_costs, find_splits): Declare.
	(unsplit_web): New.
	(colorize_one_web): Call it.  Call find_split before admitting defeat.
	(split_around): Declare.
	(try_recolor_web): Call unsplit_web.
	(check_colors): Ignore conflicts between split webs.
	(ra_colorize_graph): Call init_split_costs.
	* ra-rewrite.c (split_webs): New.
	(detect_web_parts_to_rebuild): Split webs changed layout too.
	(any_splits_found): New.
	(actual_spill): Allocate/free split_webs.  Call insert_splits.
	If splits were done we need to rebuild.
	(contained, split_around, struct split_cost, split_costs,
	live_at_begin, set_web_live_s, reset_web_live_s, init_split_costs,
	find_splits, split_insert_load, split_insert_store, insert_splits,
	free_split_costs): New.
	* ra.c (free_split_costs): Declare.
	(free_mem): Call it.
	(any_splits_found): Declare.
	(one_pass): If any_splits_found we need to spill.
	(reg_alloc): Don't do IR spilling (when splitting webs).

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.107&r2=1.1.2.108
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.15&r2=1.1.2.16
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.17&r2=1.1.2.18
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.71&r2=1.1.2.72



More information about the Gcc-cvs mailing list