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

一种支持跨幅访存的向量化代码生成方法
引用本文:李朋远,赵荣彩,高 伟,张庆花.一种支持跨幅访存的向量化代码生成方法[J].计算机科学,2015,42(5):194-199, 203.
作者姓名:李朋远  赵荣彩  高 伟  张庆花
作者单位:1. 信息工程大学 郑州450001
2. 数学工程与先进计算国家重点实验室 郑州450001
基金项目:本文受“核高基”国家科技重大专项(2009ZX01036)资助
摘    要:随着SIMD扩展部件的迅速发展,自动向量化工具已逐渐成熟.现阶段的工具能对连续访存程序进行较好的处理,然而,大部分非连续访存的多媒体程序并不能被转换为高效的向量化代码.提出并实现了一种支持跨幅访存的向量化代码生成方法,其利用目标系统已有的基本数据处理指令实现多个向量间的任意重组来解决含有非连续访存语句的向量化代码生成问题.经过实验分析和验证,提出的代码生成方法能够将含有跨幅访存的语句转化为面向目标系统的高效向量化代码,以提高程序执行效率.

关 键 词:代码生成  跨幅访存  向量化  数据重组

Effective Vectorization Technique for Interleaved Data with Constant Strides
LI Peng-yuan,ZHAO Rong-cai,GAO Wei and ZHANG Qing-hua.Effective Vectorization Technique for Interleaved Data with Constant Strides[J].Computer Science,2015,42(5):194-199, 203.
Authors:LI Peng-yuan  ZHAO Rong-cai  GAO Wei and ZHANG Qing-hua
Affiliation:Information Engineering University,Zhengzhou 450001,China State Key Laboratory of Mathematical Engineering and Advanced Computing ,Zhengzhou 450001,China,Information Engineering University,Zhengzhou 450001,China State Key Laboratory of Mathematical Engineering and Advanced Computing ,Zhengzhou 450001,China,Information Engineering University,Zhengzhou 450001,China State Key Laboratory of Mathematical Engineering and Advanced Computing ,Zhengzhou 450001,China and Information Engineering University,Zhengzhou 450001,China State Key Laboratory of Mathematical Engineering and Advanced Computing ,Zhengzhou 450001,China
Abstract:Due to the development of the SIMD extensions in general processors,automatic vectorizing compilers are widely used in various fields,especially in scientific and engineering computing area.Conventional vectorizing compilers can parallelize applications with continuous access successfully,but most irregular multimedia applications which access interleaved data cannot be vectorized correctly.To address this issue,this paper presented an effective vectorization technique for interleaved data with constant strides.We achieved any form of data regroupings with the help of the data processing instructions provided by targeted platforms.As a result,programs with interleaved data access are vectorized and vector codes are generated.The experimental results show that the proposed method can translate irregular applications with interleaved data access into high-performance targeted vectorized codes,thereby advancing the execution efficiency adequately.
Keywords:Code generation  Stride access  Vectorization  Data regrouping
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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