摘要
针对基础数学库中的寄存器分配特点,提出一种基于多级分层策略的寄存器分配策略。考虑各类寄存器的使用特点,采用多级分层模型,合理地使用寄存器资源,缓解基础数学中寄存器资源不足的情况,减少甚至避免寄存器分配过程中产生的溢出,达到提高数学库性能的目的。实验结果证明,该分配策略能够将数学库中的函数性能提高6%以上。
Aiming at the characteristic of register allocation in base mathematics library,this paper presents a method of register allocation based on the strategy of delamination and multi-level.Considering the characteristic of the different registers,the method adopts the multi-layer model and uses the registers reasonably.The measure can ease the situation of register resource inefficiency at a larger-extent,reduce or avoid the appearance of spilling out in the process of register allocation,sequentially upgrade the performance of the base mathematics library.Experimental result indicates that the allocation strategy can optimize the performance of the library at the degree of 6%.
出处
《计算机工程》
CAS
CSCD
2012年第24期266-268,271,共4页
Computer Engineering
关键词
数学库
寄存器分配
访存
层次结构
性能优化
溢出
mathematics library
register allocation
memory access
hierarchy architecture
performance optimization
spilling out