This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc toplev.c loop-unroll.c loop-iv.c doloo ...
- From: rakdver at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 10 May 2003 19:48:22 -0000
- Subject: gcc/gcc toplev.c loop-unroll.c loop-iv.c doloo ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: rtlopt-branch
Changes by: rakdver@gcc.gnu.org 2003-05-10 19:48:22
Modified files:
gcc : toplev.c loop-unroll.c loop-iv.c doloop.c
cfgloopanal.c cfgloop.h ChangeLog.rtlopt
Log message:
* cfgloop.h (struct loop_desc): Add mode and signed_p fields.
(SIE_SIMPLIFY, SIE_ONLY_SIMPLE): New.
(decide_unrolling_and_peeling): Declare.
(unroll_and_peel_loops): Declaration changed.
* cfgloopanal.c (iv_simple_condition_p): Follow new calling convention
of substitute_into_expr. Fill in mode and signed_p fields.
* doloop.c (doloop_iterations_max, doloop_valid_p, doloop_modify,
doloop_modify_runtime, doloop_optimize): Use new iv infrastructure.
* loop-iv.c (simple_expr_p, expr_mentions_initial_value_p): New macros.
(iv_simplify_rtx): Speed up for simple expressions.
(substitute_into_expr, simplify_iv_using_values): Enhance simplification
possibilities.
(simulate_set, iv_make_initial_value, record_iv_occurences_1):
Follow new calling convention of substitute_into_expr.
* loop-unroll.c (decide_unrolling_and_peeling): Export.
(peel_loops_completely): Merge into decide_unrolling_and_peeling
and unroll_and_peel_loops.
(unroll_and_peel_loops): Take care of complete peeling. Remove decision
parts.
(unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
unroll_loop_stupid, peel_loop_simple): Update the number of iterations.
* toplev.c (rest_of_compilation): Call unrolling/peeling decision
separately.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.668.2.46&r2=1.668.2.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-unroll.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.2.22&r2=1.1.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-iv.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.2.12&r2=1.1.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doloop.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.21.2.5&r2=1.21.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgloopanal.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.4.19&r2=1.1.4.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgloop.h.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.2.17&r2=1.1.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.rtlopt.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.2.180&r2=1.1.2.181