egcs/gcc ChangeLog loop.h loop.c unroll.c
m.hayes@cygnus.com
m.hayes@cygnus.com
Tue Dec 15 21:13:00 GMT 1998
CVSROOT: /egcs/carton/cvsfiles
Module name: egcs
Changes by: m.hayes@egcs.cygnus.com 98/12/15 20:31:20
Modified files:
gcc : ChangeLog loop.h loop.c unroll.c
Log message:
* loop.h (loop_info): New field 'vtop'.
* loop.c (check_dbra_loop): Use loop_info->vtop rather than
scanning loop for vtop.
* unroll.c (subtract_reg_term, find_common_reg_term): New functions.
(loop_iterations): Use them to determine if loop has a constant
number of iterations. Set loop_info->vtop. Don't subtract
common reg term from initial_value and final_value if have a
do-while loop.
More information about the Gcc-cvs
mailing list