diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-14 20:51:26 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-14 20:51:26 +0000 |
commit | 5da8318cccacdc351d419e79b32abe81a4252a08 (patch) | |
tree | 34ac31c39ea1dbf3dd4dafb1ae6caf840737656b /gcc/ChangeLog | |
parent | d09e50a6c05b8d0c2ccb33b735b2da15f92a5109 (diff) | |
download | ppe42-gcc-5da8318cccacdc351d419e79b32abe81a4252a08.tar.gz ppe42-gcc-5da8318cccacdc351d419e79b32abe81a4252a08.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c20349431f1..bf133214bbc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +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. + 2010-06-14 Andreas Schwab <schwab@linux-m68k.org> * config/m68k/m68k.c (m68k_delegitimize_address): Don't do |