| 注册
首页|期刊导航|计算机工程与应用|GCC编译器中循环数组预取优化的实现及效果

GCC编译器中循环数组预取优化的实现及效果

董钰山 李春江 徐颖

计算机工程与应用2016,Vol.52Issue(6):19-25,7.
计算机工程与应用2016,Vol.52Issue(6):19-25,7.DOI:10.3778/j.issn.1002-8331.1412-0377

GCC编译器中循环数组预取优化的实现及效果

Implementation and effects of loop-array-prefetching optimization in GCC

董钰山 1李春江 1徐颖1

作者信息

  • 1. 国防科学技术大学 计算机学院 计算机研究所,长沙 410073
  • 折叠

摘要

Abstract

Data prefetching is an approach to reducing cache miss latencies, which can appropriately fill the speed gap between the microprocessor and DRAM. As the widely used open source compiler collection, GCC achieves prefetching arrays used in loops on the tree-ssa. After analyzing the implementation and effects of the loop-array-prefetching in GCC4.9, and dissecting three heuristics of a cost model, which determine whether or not prefetching is profitable for a given loop based on the profitability and analysis time, after testing some benchmarks with GCC, this paper concludes several factors affecting the effect of loop-arrays-prefetching. These works provide a valuable contribution for the research and development of the loop-array-prefetching optimization in GCC.

关键词

GNU编译器集合(GCC)/数组预取/循环/代价模型

Key words

GNU Compiler Collection(GCC)/data prefetching/loop/cost model

分类

信息技术与安全科学

引用本文复制引用

董钰山,李春江,徐颖..GCC编译器中循环数组预取优化的实现及效果[J].计算机工程与应用,2016,52(6):19-25,7.

基金项目

国家自然科学基金(No.61170046);国家高技术研究发展计划(863)(No.2012AA010903)。 ()

计算机工程与应用

OA北大核心CSCDCSTPCD

1002-8331

访问量0
|
下载量0
段落导航相关论文