首页 | 本学科首页   官方微博 | 高级检索  
     

基于符号执行和人机交互的自动向量化方法
引用本文:陈勇,徐超. 基于符号执行和人机交互的自动向量化方法[J]. 计算机科学, 2016, 43(Z6): 461-466, 492
作者姓名:陈勇  徐超
作者单位:中国电子科技集团公司第十四研究所 南京210039,南京审计大学 南京210029
摘    要:自动向量化技术是一种针对单指令多数据(SIMD)向量化计算单元的并行编译优化技术,它能够自动将源程序中多个相同标量操作合并为一个向量操作,从而提升系统吞吐量。随着SIMD向量化计算单元的广泛应用,自动向量化技术已经成为学术界和商业界的研究热点。针对现有自动向量化技术可向量化模块识别难、向量化优化方案选择难、可移植性差等问题,提出了一种基于符号执行和人机交互的自动向量化方法。首先借助于符号执行技术,获得较好的可移植性和较高的可向量化模块识别率;然后利用人机交互技术选择出理想的向量化方案。应用示例及实验结果表明,该方法具有较好的可操作性,能够有效提升自动向量化技术的优化效果和可移植性。

关 键 词:自动向量化  符号执行  人机交互  可移植性  单指令多数据

Symbolic Execution and Human-Machine Interaction Based Auto Vectorization Method
CHEN Yong and XU Chao. Symbolic Execution and Human-Machine Interaction Based Auto Vectorization Method[J]. Computer Science, 2016, 43(Z6): 461-466, 492
Authors:CHEN Yong and XU Chao
Affiliation:The 14th Research Institute,CETC,Nanjing 210039,China and Nanjing Audit University,Nanjing 210029,China
Abstract:Auto-vectorization is a parallel compiling optimization technology for SIMD vector computing units.It combines multiple same operations into one SIMD instruction which can significantly improve the output of the system.As SIMD vector computing units are used widely,auto-vectorization technology has become the hot topic in both academic and commerce world.Focusing on the shortcoming of current auto-vectorization technology such as the difficulty to get the code that can be vectorized,the difficulty to select the best optimization schema and poor portability,we proposed a new vectorizing method based on the symbolic execution and human-machine interaction.The method contains two phases.At first,based on the symbolic execution technology,it recognizes the vectorizable code as much as possible.Then,the human-machine interaction technology is used for determining the exactly code to be vectorized.At the same time,the method has portability that can be used for other architectures by only modifying the pattern file.Application example shows that our new technology is feasible and effective.
Keywords:Auto-vectorization  Symbolic execution  Human-machine interaction  Portability  SIMD
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号