OSDN Git Service

Account for loop unrolling in the insn-to-prefetch ratio heuristic.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index be06998..6236c9e 100644 (file)
@@ -1,5 +1,12 @@
 2010-05-07  Changpeng Fang  <changpeng.fang@amd.com>
 
+       * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable):
+       Account for loop unrolling in the insn-to-prefetch ratio heuristic.
+       (loop_prefetch_arrays): Pass to is_loop_prefetching_profitable
+       the unroll_factor.
+
+2010-05-07  Changpeng Fang  <changpeng.fang@amd.com>
+
        * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Dump
        a diagnostic info when the insn-to-mem ratio is too small.