This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.killloop Makefile.in fold-co ...
- From: rakdver at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 9 Sep 2005 16:52:22 -0000
- Subject: gcc/gcc ChangeLog.killloop Makefile.in fold-co ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: killloop-branch
Changes by: rakdver@gcc.gnu.org 2005-09-09 16:52:22
Modified files:
gcc : ChangeLog.killloop Makefile.in fold-const.c
tree-flow.h tree-pretty-print.c
tree-ssa-address.c tree-ssa-loop-ivopts.c
tree.h
Added files:
gcc : tree-affine.c tree-affine.h
Log message:
* tree-pretty-print.c (dump_bb_header): Fix merge conflict.
* fold-const.c (try_move_mult_to_index): Handle negative multipliers.
* Makefile.in (tree-affine.o): Add.
(tree-ssa-address.o, tree-ssa-loop-ivopts.o): Add tree-affine.h
dependency.
* tree-affine.c: New file.
* tree-affine.h: New file.
* tree-flow.h (struct affine_tree_combination): Moved to
tree-affine.h.
* tree-ssa-address.c: Include tree-affine.h.
(fixed_address_object_p): Export.
(add_to_parts): Do not take coef argument.
(most_expensive_mult_to_index, addr_to_parts, create_mem_ref):
Use tree-affine.h utilities.
* tree-ssa-loop-ivopts.c: Include tree-affine.h.
(struct iv_use, struct iv_cand): Add base_aff field.
(record_use, add_candidate_1): Initialize base_aff field.
(determine_base_object): Handle MULT_EXPR.
(aff_combination_const, aff_combination_elt, aff_combination_scale,
aff_combination_add_elt, aff_combination_add,
tree_to_aff_combination, add_elt_to_tree, unshare_aff_combination,
aff_combination_to_tree): Moved to tree-affine.c.
(get_computation_aff): Use tree-affine.h utilities. Never compute
result in trees directly. Return suggested multiplier for an
addressing mode.
(get_computation_at, rewrite_use_address): Changed to reflect
get_computation_aff change.
(split_address_cost, ptr_difference_cost, difference_cost): Removed.
(aff_combination_cost, aff_combination_cost_address): New.
(get_computation_cost_at): Use them.
* tree.h (fixed_address_object_p): Declare.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-affine.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-affine.h.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.killloop.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.1.2.9&r2=1.1.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.1530.2.4&r2=1.1530.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.611.2.1&r2=1.611.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.130.2.2&r2=2.130.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-pretty-print.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.69.2.2&r2=2.69.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-address.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.3&r2=2.3.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-ivopts.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.85.2.3&r2=2.85.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.750.2.2&r2=1.750.2.3