一种实用的自动代码划分算法  

A Practical Automatic Code Partitioning Algorithm

在线阅读下载全文

作  者:杨灿群[1] 李春江[1] 王锋[1] 

机构地区:[1]国防科学技术大学计算机学院,湖南长沙410073

出  处:《计算机工程与科学》2010年第11期132-135,共4页Computer Engineering & Science

基  金:国家863计划资助项目(2008AA01Z110)

摘  要:在编译器中进行自动代码划分然后采用代码重叠技术,是内存容量较小的处理器发挥性能的关键技术之一。随着异构多核处理器的出现,这类处理器通常作为协处理器。本文提出了一种实用的自动代码划分算法,并面向Cell处理器在GNU工具链中进行了实现。该算法首先根据调用频率发现调用热点,然后采用简化的聚类方法进行热点指导的分区聚集,最后进行容量指导的分区合并。实验结果表明,算法复杂度较低并能取得很好的效果。Automatically partitioning the code in compilers and applying the code overlay technique is one of the key techniques for exploiting the performance of processors with small memory capacity. With the occuring of heterogeneous multi-core processors, such a kind of processor usually acts as a synergistic processing unit. The paper presents a practical automatic code partitioning algorithm and implements it by the GNU tool chain for the Cell processors. It finds the hot points in call graphs according to the calling frequency, and then adopts a simplified clustering method to perform hot-point- directed partition clustering. Finally, it performs capacity-directed partition merging. The experimental results show that the algorithm can work perfectly with lower complexity.

关 键 词:自动代码划分 GNU工具链 CELL处理器 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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