作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (1): 201-203,. doi: 10.3969/j.issn.1000-3428.2009.01.069

• 工程应用技术与实现 • 上一篇    下一篇

SIMD计算机的优化编译器设计

赵 辉,黄 石   

  1. (西安理工大学计算机科学与工程学院,西安 710048)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-01-05 发布日期:2009-01-05

Optimizing Compiler Design for SIMD Computer

ZHAO Hui, HUANG Shi   

  1. (School of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-01-05 Published:2009-01-05

摘要: 利用处理器的相关资源,提高编译器优化性能和增强代码可适应性是SIMD处理器优化编译的关键。该文基于M语言和LS SIMD体系结构,结合现代编译器的编译技术,提出针对SIMD协处理器编译器的优化和实现方法,包括寄存器分配、单值合并、代码压缩等。实验结果表明,编译生成的目标代码准确、高效。

关键词: M语言, LS SIMD协处理器, 编译器

Abstract: Utilizing the resource of the processor to improve the execution efficiency of the program and to increase the flexibility of the code is the key problem of optimizing complier for SIMD processor. This paper introduces M language and Li-Shan Single Instruction Multiple Data(LS SIMD) computer architecture and presents optimization method and implementation method of the M compiler for SIMD coprocessor combining with modern compiler techniques. It includes assigning register combining single value and compressing code, etc. Experimental result shows that the M compiler can generate exact and high efficient target code.

Key words: M language, Li-Shan Single Instruction Multiple Data(LS SIMD) coprocessor, compiler

中图分类号: