OSDN Git Service

Also apply the insn to prefetch ratio heuristic to loops with known trip count.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a0ba83a..8d01aa4 100644 (file)
@@ -1,5 +1,11 @@
 2010-05-17  Changpeng Fang  <changpeng.fang@amd.com>
 
+       * doc/invoke.texi: Update documentation for min-insn-to-prefetch-ratio.
+       * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Also apply
+       the insn to prefetch ratio heuristic to loops with known trip count.
+
+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.