Define PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO heuristic.
authorChangpeng Fang <changpeng.fang@amd.com>
Mon, 17 May 2010 22:33:53 +0000 (22:33 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Mon, 17 May 2010 22:33:53 +0000 (22:33 +0000)
commit8532678c05ca513c77a9163e1546f4019a82beef
tree9957431e127d4b12f699827d78fb336349730bed
parent339f49ec21ea4870e25641f7a7e60703b5d86d50
Define PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO heuristic.

2010-05-17  Changpeng Fang  <changpeng.fang@amd.com>

* tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO): New.
(schedule_prefetches): Do not generate a prefetch if the unroll factor
is far from what is required by the prefetch.

From-SVN: r159514
gcc/ChangeLog
gcc/tree-ssa-loop-prefetch.c