aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChangpeng Fang <changpeng.fang@amd.com>2010-07-02 16:34:38 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-07-02 16:34:38 +0000
commit14e444c392d7ab69d0dcd299df8abbac067d07dc (patch)
tree4fae2c020fec2caf58422c7e0546771c17e6f8ec /contrib
parenta245c04bccad9eea35cf21def68ae812fd29a953 (diff)
Reduce the cost in miss rate computation.
2010-07-02 Changpeng Fang <changpeng.fang@amd.com> * tree-ssa-loop-prefetch.c (compute_miss_rate): Rename to is_miss_rate_acceptable. Pull total_positions computation out of the loops. Early return if miss_positions exceeds the acceptable threshold. * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Call is_miss_rate_acceptable after renaming of compute_miss_rate. From-SVN: r161728
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions