多寄存器组网络处理器上的寄存器分配技术  被引量:2

Register Allocation on Network Processors with Multiple Register Banks

在线阅读下载全文

作  者:张军超[1] 连瑞琦[2] 张兆庆[1] 

机构地区:[1]中国科学院计算技术研究所,北京100080 [2]中国科学院研究生院,北京100080

出  处:《计算机学报》2006年第1期66-72,共7页Chinese Journal of Computers

摘  要:针对传统的图着色寄存器分配算法不能直接处理网络处理器的操作问题,提出了一种多寄存器组网络处理上的寄存器分配技术.在依次分析了一个符号寄存器可能位于哪些寄存器组?如果没有候选组,该如何解决这种冲突?如果有多个候选组,该选用哪个组等问题的基础上,通过将这些方法与图着色寄存器分配算法相融合,在IXP上实现了这种多寄存器组的寄存器分配,提高了它的可编程性.这种方法也可运用到其它具有类似寄存器结构的处理器上.To meet the requirements of network applications, some network processors, like Intel IXP series, apply an unconventional multiple-register-bank architecture. Register banks are connected by data paths such that data can be moved around in the register banks. Moreover, the source or destination operands of an instruction can reside in one or more register banks. Two sources selection rules further restrict the bank selection of the two source operands of an instruction. Facing these new problems, the classical graph coloring register allocation algorithm cannot be directly applied. A series of algorithms are presented to address the problems by answering the following questions. Which legal candidate register banks can a symbolic register reside in? If the candidate banks are empty, how to resolve the bank conflicts? And if there're multiple candidate banks, which bank should be selected? After integrating these algorithms with the graph-coloring register allocation, authors have implemented a multiple-register-bank register allocator on IXP, which improved the programmability of IXP. The algorithms can also be applied to other microprocessors with the similar register architecture.

关 键 词:寄存器分配 网络处理器 多寄存器组 

分 类 号:TP302[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象