• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (1): 58-63.

• 论文 • Previous Articles     Next Articles

Extending the Vector Instruction Set for HighPerformance DSP Matrixes Based on GCC

XIN Naijun,CHEN Xucan,SUN Haiyan,YANG Liu,LUO Jie,DAN Xiaoqiang,WANG  Ji   

  1. (School of Computer Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2011-05-07 Revised:2011-09-16 Online:2012-01-25 Published:2012-01-25

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.

Key words: GCC;Matrix;autovectorization