* toplev.c (rest_of_handle_loop_optimize): Enable LOOP_AUTO_UNROLL.

From-SVN: r75197
This commit is contained in:
Jan Hubicka 2003-12-29 10:25:45 +01:00 committed by Jan Hubicka
parent 66ec7e6993
commit f46a52d252
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-12-29 Jan Hubicka <jh@suse.cz>
* toplev.c (rest_of_handle_loop_optimize): Enable LOOP_AUTO_UNROLL.
2003-12-29 Phil Edwards <phil@codesourcery.com>
* doc/cppopts.texi: Use of -idirafter, -iprefix, -iwithprefix, and

View File

@ -2975,7 +2975,7 @@ rest_of_handle_loop_optimize (tree decl, rtx insns)
free_bb_for_insn ();
if (flag_unroll_loops)
do_unroll = 0; /* Having two unrollers is useless. */
do_unroll = LOOP_AUTO_UNROLL; /* Having two unrollers is useless. */
else
do_unroll = flag_old_unroll_loops ? LOOP_UNROLL : LOOP_AUTO_UNROLL;
do_prefetch = flag_prefetch_loop_arrays ? LOOP_PREFETCH : 0;