]> gcc.gnu.org Git - gcc.git/commit
tree-ssa-loop-prefetch.c (determine_unroll_factor): Bound the unroll factor by the...
authorZdenek Dvorak <dvorakz@suse.cz>
Thu, 1 Mar 2007 22:14:23 +0000 (23:14 +0100)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Thu, 1 Mar 2007 22:14:23 +0000 (22:14 +0000)
commit2711355fbc306e7e0f59b3247943614eba4a382b
treef3de9780dd3d10e6cc5dc11481279c3c93f62677
parent41dc91a89030fbf30192a18e542dceb3bb9dc28b
tree-ssa-loop-prefetch.c (determine_unroll_factor): Bound the unroll factor by the estimated number of iterations.

* tree-ssa-loop-prefetch.c (determine_unroll_factor):  Bound the unroll
factor by the estimated number of iterations.
(loop_prefetch_arrays): Do not prefetch in loops that iterate less than
prefetch latency.

* gcc.dg/tree-ssa/prefetch-4.c: New test.

From-SVN: r122435
gcc/ChangeLog
gcc/config/i386/driver-i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/prefetch-4.c [new file with mode: 0644]
gcc/tree-ssa-loop-prefetch.c
This page took 0.062887 seconds and 5 git commands to generate.