高级检索
    赖庆宽, 吕方, 贺春林, 何先波, 冯晓兵. 面向理想性能空间的跨架构编译分析方法[J]. 计算机研究与发展, 2021, 58(3): 668-680. DOI: 10.7544/issn1000-1239.2021.20190728
    引用本文: 赖庆宽, 吕方, 贺春林, 何先波, 冯晓兵. 面向理想性能空间的跨架构编译分析方法[J]. 计算机研究与发展, 2021, 58(3): 668-680. DOI: 10.7544/issn1000-1239.2021.20190728
    Lai Qingkuan, Lü Fang, He Chunlin, He Xianbo, Feng Xiaobing. An Ideal Performance Oriented Approach for Cross-Framework Compiler Analysis[J]. Journal of Computer Research and Development, 2021, 58(3): 668-680. DOI: 10.7544/issn1000-1239.2021.20190728
    Citation: Lai Qingkuan, Lü Fang, He Chunlin, He Xianbo, Feng Xiaobing. An Ideal Performance Oriented Approach for Cross-Framework Compiler Analysis[J]. Journal of Computer Research and Development, 2021, 58(3): 668-680. DOI: 10.7544/issn1000-1239.2021.20190728

    面向理想性能空间的跨架构编译分析方法

    An Ideal Performance Oriented Approach for Cross-Framework Compiler Analysis

    • 摘要: 编译器性能是计算机系统架构充分发挥优势的体现, 编译器优化受机器平台与编译器特征的影响.编译器分析是在目标编译器与多参照编译器、目标平台与多参照平台之间进行的, 即编译器与平台的组合是分析的基础.只有在多组合情况下才能为目标编译器优化提供最大可能的性能提升空间和详细的优化方案, 但增加编译器与平台的组合往往会增加无法计量的分析工作量.为此, 提出了一种基于峰值架构的面向跨平台跨编译器分析方法.基于峰值架构集为目标编译器构建理想性能空间, 结合细粒度优势优化定位技术为目标编译器提供优势优化选项和优化方向, 并实现编译器优化.最后通过实验验证了该分析技术的实用性与普适性, 并为Intel平台上的目标编译器gcc提供了优化方向.

       

      Abstract: Compiler performance is the embodiment that computer system architecture makes full use of its advantages. Compiler optimization is influenced by the machine platform and compiler characteristics. Compiler analysis is carried out between the target compiler and the multiple reference compiler,  and the target platform and the multiple reference platform,  that is to say,  the combination of the compiler and the platform is the foundation of the analysis. Only in the circumstance of multiple combinations,  we can provide the maximum possibility of performance room for improvement and prioritization schemes in detail for the target compiler optimization. However,  adding to the combination of compiler and platform will add to the analysis amount of work which is unable to measure in most cases. For this purpose,  one kind of analytical technique in face of cross-platform and cross-compiler on the strength of the peak value architecture is put forward. On the strength of the peak value architecture set,  we structure the ideal performance space for the target compiler. In the combination of the advantage of fine grit,  we optimize the location technique,  and provide the optimization options with advantages and optimized direction for the target compiler,  so as to implement compiler optimization. In the end,  by means of experiments that we have carried out,  we verify the practical nature and pervasive nature of this analytical technique,  what is more,  we provide the optimized direction for the target compiler (gcc) on Intel platform.

       

    /

    返回文章
    返回