首页 | 本学科首页   官方微博 | 高级检索  
     

一种实用的自动代码划分算法
引用本文:杨灿群,李春江,王锋. 一种实用的自动代码划分算法[J]. 计算机工程与科学, 2010, 32(11): 132-135. DOI: 10.3969/j.issn.1007130X.2010.
作者姓名:杨灿群  李春江  王锋
作者单位:国防科学技术大学计算机学院,湖南,长沙,410073
基金项目:国家863计划资助项目
摘    要:在编译器中进行自动代码划分然后采用代码重叠技术,是内存容量较小的处理器发挥性能的关键技术之一。随着异构多核处理器的出现,这类处理器通常作为协处理器。本文提出了一种实用的自动代码划分算法,并面向Cell处理器在GNU工具链中进行了实现。该算法首先根据调用频率发现调用热点,然后采用简化的聚类方法进行热点指导的分区聚集,最后进行容量指导的分区合并。实验结果表明,算法复杂度较低并能取得很好的效果。

关 键 词:自动代码划分  GNU工具链  Cell处理器
收稿时间:2008-12-15
修稿时间:2009-04-20

A Practical Automatic Code Partitioning Algorithm
YANG Can-qun,LI Chun-jiang,WANG Feng. A Practical Automatic Code Partitioning Algorithm[J]. Computer Engineering & Science, 2010, 32(11): 132-135. DOI: 10.3969/j.issn.1007130X.2010.
Authors:YANG Can-qun  LI Chun-jiang  WANG Feng
Affiliation:(School of Computer Science,National University of Defense Technology,Changsha 410073,China)
Abstract: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.
Keywords:automatic code partitioning  GNU toolchain  Cell processor
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号