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

基于GCC的高性能DSP Matrix向量指令集扩展
引用本文:辛乃军,陈旭灿,孙海燕,阳柳,罗杰,淡孝强,王霁.基于GCC的高性能DSP Matrix向量指令集扩展[J].计算机工程与科学,2012,34(1):58-63.
作者姓名:辛乃军  陈旭灿  孙海燕  阳柳  罗杰  淡孝强  王霁
作者单位:国防科学技术大学计算机学院,湖南长沙,410073
摘    要:自动向量化技术是编译器提高程序并行性的优化方法。随着支持SIMD结构处理器的计算平台的广泛应用,自动向量化技术也成为编译器技术研究的热点。GCC编译器是一种开源、跨平台的编译器。本文基于GCC内部自动向量化算法,结合Matrix芯片的体系结构和指令集特点,完成了Matrix向量指令集在GCC后端扩展,实现了基本的自动向量化支持。测试结果表明,扩展后的编译器能够支持Matrix向量指令集,进行基本的自动向量化,同时支持以内建函数方式开发基于Matrix的并行程序。

关 键 词:GCC  Matrix  自动向量化
收稿时间:2011-05-07
修稿时间:2011-09-16

Extending the Vector Instruction Set for High-Performance DSP Matrixes Based on GCC
XIN Nai-jun , CHEN Xu-can , SUN Hai-yan , YANG Lin , LUO Jie , DAN Xiao-qiang , WANG Ji.Extending the Vector Instruction Set for High-Performance DSP Matrixes Based on GCC[J].Computer Engineering & Science,2012,34(1):58-63.
Authors:XIN Nai-jun  CHEN Xu-can  SUN Hai-yan  YANG Lin  LUO Jie  DAN Xiao-qiang  WANG Ji
Affiliation:(School of Computer Science,National University of Defense Technology,Changsha 410073,China)
Abstract:Autovectorization is an optimal method for the compiler to improve the parallelism of programs.With the extensive use of a computing platform supporting the SIMD architecture processor, autovectorization becomes a hot research of compiler technology. The GCC compiler is a kind of open source, cross-platform compiler. Based on the internal autovectorization algorithm and the architecture and instruction set characteristics of the Matrix chip, this paper extends the Matrix vector instruction set at GCC’s back-end and realizes the basic autovectorization support. The measured results indicate that the extended compiler can support the Matrix vector instruction set, the basic autovectorization and the development of the Matrix-based parallel programs by way of built-in functions.
Keywords:GCC  Matrix  autovectorization
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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