r192251 - in /trunk/gcc: ChangeLog loop-unroll.c

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Tue Oct 9 13:10:00 GMT 2012


Author: hubicka
Date: Tue Oct  9 13:10:37 2012
New Revision: 192251

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192251
Log:

	* loop-unroll.c (unroll_loop_constant_iterations): Add
	update of loop->nb_iterations_upper_bound I missed in my previous
	commit; use TRUNC_DIV_EXPR instead of FLOOR_DIV_EXPR to divide
	iteration count.
	(decide_unroll_runtime_iterations): Avoid overflow.
	(unroll_loop_runtime_iterations): Use TRUNC_DIV_EXPR instead of
	FLOOR_DIV_EXPR to update iteration bounds.
	(decide_peel_simple): Avoid integer overflow when deciding
	on number of peelings.
	(decide_unroll_stupid): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop-unroll.c



More information about the Gcc-cvs mailing list