This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r131202 - in /branches/sel-sched-branch/gcc: Ch...
- From: abel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 27 Dec 2007 14:47:06 -0000
- Subject: r131202 - in /branches/sel-sched-branch/gcc: Ch...
Author: abel
Date: Thu Dec 27 14:47:04 2007
New Revision: 131202
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131202
Log:
2007-12-27 Andrey Belevantsev <abel@ispras.ru>
Cache that an expression can be moved up only as RHS.
* sel-sched.c (enum MOVEUP_RHS_CODE): New value MOVEUP_RHS_AS_RHS.
(moveup_rhs): Return it when an expression can be moved up as
a RHS only. Return MOVEUP_RHS_CHANGED only when expression
was really changed.
(moveup_set_rhs): Use fourth bit in INSN_ANALYZED_DEPS /
INSN_FOUND_DEPS bitmaps for caching MOVEUP_RHS_AS_RHS results.
Set EXPR_TARGET_AVAILABLE to false when moveup_rhs returns
MOVEUP_RHS_AS_RHS. Assert that when MOVEUP_RHS_CHANGED,
expression's UID has been really changed.
(fill_vec_av_set): Properly handle max_insns_to_rename.
(sel_global_init): Use setup_sched_dumps.
* sel-sched-dump.c (setup_sched_dump_to_stderr): Rename to
setup_sched_dumps. When sched_verbose_param >= 10, print to
stderr.
* sel-sched-dump.h (setup_sched_dumps): Export.
Modified:
branches/sel-sched-branch/gcc/ChangeLog.sel-sched
branches/sel-sched-branch/gcc/sel-sched-dump.c
branches/sel-sched-branch/gcc/sel-sched-dump.h
branches/sel-sched-branch/gcc/sel-sched.c