软硬件协同循环优化方法的设计与实现  被引量:1

The Design and Implementation for a Software-Hardware Cooperative Loop Optimization Mechanism

在线阅读下载全文

作  者:王琪[1,2] 鲍丽丹[1,2] 张铁军[1] 王东辉[1] 侯朝焕[1] 

机构地区:[1]中国科学院声学研究所数字系统集成实验室北京100190 [2]中国科学院大学北京100049

出  处:《计算机辅助设计与图形学学报》2013年第10期1574-1581,共8页Journal of Computer-Aided Design & Computer Graphics

基  金:国家“九七三”重点基础研究发展计划项目(2009CB 320202)

摘  要:为了提升处理器执行循环的性能,降低循环开销,提出一种适用于多发射数字信号处理器(DSP)的软硬件协同循环优化方法.在对循环体量化分析的基础上,利用编译器进行循环标志指令的插入和循环开销指令的删除,并由新增的硬件专用循环单元根据循环标志指令携带的信息实现循环计数器的增减和取指地址的计算等功能,达到零开销循环的目的.在多发射DSP SuperV_EF01上的实验结果表明,应用文中方法后,指令周期数和汇编代码大小平均降低了20.94%和4.06%.In order to increase loop performance and reduce loop overhead, a software-hardware cooperative loop optimization mechanism suitable for multi-issue digital signal processor (DSP) is proposed in this paper. In this mechanism, based on the quantitative analysis of the loop body, the compiler inserts marking instruction in front of the effective loop body and deletes loop overhead instructions. A loop-overhead-reducing hardware unit is added to manage the loop counter and calculate the address of the instruction to be fetched according to the parameters from loop marking instruction. By employing this mechanism, loop overhead is avoided. The experimental results on the multi-issue DSP SuperV_EF01 show that, this mechanism can decrease the instruction cycles and assembly code size by 20.94% and 4.06% separately.

关 键 词:循环优化 零开销循环 软硬件协同 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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