通信学报 ›› 2022, Vol. 43 ›› Issue (3): 180-195.doi: 10.11959/j.issn.1000-436x.2022051

• 综述 • 上一篇    下一篇

自动向量化:近期进展与展望

冯竞舸1,2, 贺也平1,2,3, 陶秋铭1,2   

  1. 1 中国科学院软件研究所基础软件国家工程研究中心,北京 100190
    2 中国科学院大学研究生院,北京 100049
    3 中国科学院软件研究所计算机科学国家重点实验室,北京 100090
  • 修回日期:2022-02-09 出版日期:2022-03-25 发布日期:2022-03-01
  • 作者简介:冯竞舸(1988- )男,满族,河北临城人,中国科学院大学博士生,主要研究方向为编译技术及性能优化技术
    贺也平(1962- ),男,甘肃兰州人,博士,中国科学院软件研究所研究员、博士生导师,主要研究方向为基础软件、系统安全
    陶秋铭(1979- ),男,江苏南通人,博士,中国科学院软件研究所副研究员、硕士生导师,主要研究方向为操作系统、编译技术、软件工程
  • 基金资助:
    中国科学院战略性先导科技专项基金资助项目(XDA-Y01-01);中国科学院战略性先导科技专项基金资助项目(XDC02010600)

Auto-vectorization: recent development and prospect

Jingge FENG1,2, Yeping HE1,2,3, Qiuming TAO1,2   

  1. 1 National Engineering Research Center for Fundamental Software, Institute of Software Chinese Academy of Sciences, Beijing 100190, China
    2 Graduate University, University of Chinese Academy of Sciences, Beijing 100049, China
    3 China State Key Laboratory of Computer Science, Institute of Software Chinese Academy of Sciences, Beijing 100090, China
  • Revised:2022-02-09 Online:2022-03-25 Published:2022-03-01
  • Supported by:
    The Strategic Priority Research Program of Chinese Academy of Sciences(XDA-Y01-01);The Strategic Priority Research Program of Chinese Academy of Sciences(XDC02010600)

摘要:

随着单指令流多数据流(SIMD)技术的迅速发展,近年来许多面向 SIMD 扩展部件的自动向量化编译方法被提出,有效缓解了程序员手写向量程序的压力,并发挥了SIMD扩展部件的加速效能。基于此,分析总结了自动向量化领域近 10 年的研究成果,从保义分析和变换、向量化分组分析和变换、面向处理器支持特性的分析和变换以及性能评估分析这4个方面分类归纳了自动向量化的关键问题和主要突破,进而对4个方面的发展趋势和研究方向进行了展望。

关键词: 自动向量化, SIMD扩展, 编译技术, 数据级并行, 性能优化

Abstract:

The technology of SIMD is developing rapidly, and quite a few auto-vectorization methods have been proposed.Auto-vectorization can automatically translate scalar programs into vector programs based on SIMD extension, decrease workload of the programmers in coding vector programs, and effectively improve performance of programs.Based on that, the research achievements in the field of automatic vectorization in recent 10 years were analyzed and summarized.The key problems and major breakthroughs in automatic vectorization were classified from four aspects:semantic-maintaining analysis and transformation, vectorization grouping analysis and transformation, processor-oriented analysis and transformation, and performance evaluation analysis.Furtherly, the development trends and research directions of the four aspects were prospected.

Key words: auto-vectorization, SIMD extension, compiling technology, data level parallelism, performance optimization

中图分类号: 

No Suggested Reading articles found!