OSDN Git Service

Define PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO heuristic.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 22:33:53 +0000 (22:33 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:11:12 +0000 (14:11 +0900)
commite2eb5a8a7d8362f37d0eb26d913df0e36a054609
tree35aac3d1c4ede63d9718ca85d5e6a4a75e1c39e9
parent02afe32a12e17ad5e5da9ca9692cb46d9128a5f8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159514 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-loop-prefetch.c