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

›› 2003, Vol. 29 ›› Issue (20): 154-156.

• 论文 • 上一篇    下一篇

一种面向VLIW指令压缩的寄存器分配算法

朱少波,姚庆栋,洪享,史册   

  1. 浙江大学信息与通信工程研究所,浙江大学信息与通信工程研究所,浙江大学信息与通信工程研究所,浙江大学信息与通信工程研究所 杭州 310027
  • 发布日期:2003-10-25

An Algorithm of Register Allocation for Instruction Compression in VLIW Architecture

ZHU Shaobo,YAO Qingdong,HONG Xiang,SHI Ce   

  1. (Institute of Information & Communication Engineering,Zhejiang University,Hangzhou 310027)
  • Published:2003-10-25

摘要: 针对VLIW结构的指令压缩方法,通过对编译中间代码的深入分析和总结,提出一种改进的寄存器分配算法,该算法在线性扫描的基础上,对寄存器的选择添加约束条件,应用该算法能够使得目标代码中寄存器的编号尽量靠近,从而达到更好的压缩效果。

关键词: 超长指令字, 寄存器分配, 线性扫描, 指令压缩

Abstract: This paper designs an improved algorithm of register allocation to reduce the instruction codes space and occupy less instruction bandwidth By analysing the internal language codes, some characters are concluded. The algorithm is based on the linear scan register allocation and is appended restrained conditions on register selection. Using this algorithm makes the register number adjacent to one instruction. Therefore, a better compression result is achieved.

中图分类号: