支持程序无缝切换的高性能硬件堆栈  

High performance hardware stack for seamless context switching

在线阅读下载全文

作  者:陈志坚[1] 孟建熠[1] 葛海通[1] 严晓浪[1] 

机构地区:[1]浙江大学超大规模集成电路设计研究所,浙江杭州310027

出  处:《浙江大学学报(工学版)》2011年第9期1587-1592,共6页Journal of Zhejiang University:Engineering Science

摘  要:针对函数调用中上下文切换产生的性能损失,提出一种支持程序无缝切换的嵌入式处理器高性能硬件堆栈.高性能硬件堆栈包括数据栈和返回栈,采用动态可重构的两级缓存机制,消除程序切换的性能开销.数据栈实现单周期多数据压栈/出栈,隐藏程序切换中的堆栈操作;返回栈实现指令超前预取,消除程序返回时流水线气泡.数据栈与返回栈分别复用数据和指令高速暂存器,实现用户可重构的二级缓存.实验结果显示:本方法平均提升性能10%以上,功耗降低2%.A new hardware stack of embedded processor was proposed to support seamless context switching and remove the performance loss during function call.The high-performance hardware stack is composed of data stack(DS)and returning stack(RS),and both of them are designed to be reconfigurable two-level buffer scheme to eliminate the overhead of process switching.DS utilizes two alternative general purpose register(GPR) to construct a new virtual GPR,which operates multiple data in/out stack in one cycle and performs switch automatically,hiding the performance cost of stack operations during program switching.RS preserves the function return address and corresponding instruction when function is called to eliminate the pipeline bubbles during the function returnes.Both DS and RS reuse partial memory space of scratchpad memory(SPM) as the second level buffers to provide support for user reconfiguration and sufficient buffer space for specified embedded software.Experiment results show that the performance is improved by over 10% while the power cost reduced by 2 % with the new hardware stack.

关 键 词:硬件堆栈 无缝切换 嵌入式处理器 高速暂存器 

分 类 号:TN332[电子电信—物理电子学] TN47

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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