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

计算机工程 ›› 2010, Vol. 36 ›› Issue (11): 58-60. doi: 10.3969/j.issn.1000-3428.2010.11.021

• 软件技术与数据库 • 上一篇    下一篇

基于线性扫描算法的TTA编译器优化

刘壮丽,郭 炜,魏继增   

  1. (天津大学计算机科学与技术学院,天津 300072)
  • 出版日期:2010-06-05 发布日期:2010-06-05
  • 作者简介:刘壮丽(1986-),女,硕士研究生,主研方向:可定制处理器编译技术;郭 炜,研究员;魏继增,博士
  • 基金资助:

    天津市科技支撑计划基金资助重点项目“面向多媒体应用技术的可定制处理器及SOC平台的研发”(08ZCGYGX00400)

TTA Compiler Optimization Based on Linear Scan Algorithm

LIU Zhuang-li, GUO Wei, WEI Ji-zeng   

  1. (School of Computer Science and Technology, Tianjin University, Tianjin 300072)
  • Online:2010-06-05 Published:2010-06-05

摘要:

提出将线性扫描算法用于传输触发体系结构(TTA)编译器的后端优化设计中,实现全局寄存器分配。线性扫描算法的应用使TTA编译器具有生成目标代码质量高、算法的时间和空间复杂度低、易于实现等优点。实验结果表明,该算法在寄存器数目相同,且有大量的变量竞争时具有明显优势。

关键词: 传输触发体系结构, 可配置处理器, 线性扫描, 编译器, 全局寄存器分配

Abstract:

This paper presents a compiler’s back-end optimizing design for Transport Triggered Architecture(TTA) processor using linear scan algorithm, the algorithm is used to accomplish global register allocation. The application of this algorithm makes TTA compiler so many advantages, such as the quality of code obtained is high, time and space complexity is low, and implementation is easy. Experimental results show that the advantages of the algorithm are especially obvious when source programs contain large number of variables competing for same number of registers.

Key words: Transport Triggered Architecture(TTA), configurable processors, linear scan, compiler, global register allocation

中图分类号: