aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
authorChangpeng Fang <changpeng.fang@amd.com>2010-06-14 20:51:26 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-06-14 20:51:26 +0000
commitd50585233d29f2c9d4fb554b05a21c5556177d05 (patch)
tree34ac31c39ea1dbf3dd4dafb1ae6caf840737656b /gcc/tree-sra.c
parent33d6748532861388e9644438ac5bc5e3de1222db (diff)
downloadgcc-d50585233d29f2c9d4fb554b05a21c5556177d05.zip
gcc-d50585233d29f2c9d4fb554b05a21c5556177d05.tar.gz
gcc-d50585233d29f2c9d4fb554b05a21c5556177d05.tar.bz2
Account prefetch_mod and unroll_factor for the computation of the prefetch count.
2010-06-14 Changpeng Fang <changpeng.fang@amd.com> * tree-ssa-loop-prefetch.c (nothing_to_prefetch_p): New. Return true if no prefetch is going to be generated for a given group. (estimate_prefetch_count): Use prefetch_mod and unroll_factor to estimate the prefetch_count. (loop_prefetch_arrays): Call nothing_to_prefetch_p; estimate the prefetch count by considering the unroll_factor and prefetch_mod for is_loop_prefetching_profitable. From-SVN: r160766
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions