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

分区内存体系结构片选指令优化方法
引用本文:陈勇,袁梦霆,李清安. 分区内存体系结构片选指令优化方法[J]. 计算机工程与科学, 2016, 38(2): 195-201
作者姓名:陈勇  袁梦霆  李清安
作者单位:;1.中国电子科技集团公司第十四研究所;2.武汉大学计算机学院
基金项目:湖北省自然科学基金青年基金(2015CFB338)
摘    要:在分区内存体系结构中,如何尽可能少地插入片选指令是研究的热点。根据该问题的特点,构建了片选优化的图划分模型,并在该模型的基础上,提出了一种二阶段启发式搜索算法求解该问题。该算法首先根据节点自身的大小与图中分区大小快速获得一个初始可行解,然后在该可行解基础上利用节点之间边的权值和分区之间的权值作为启发式参数,搜索更优的解。通过对MiBench用例集和实际嵌入式系统的测试,验证了该模型及相应启发式算法的有效性,相对于VPAB算法,平均优化率达到37.99%,略优于成熟的商用编译器PICC,大幅度减少了片选指令的数量。

关 键 词:分区内存  图模型  启发式搜索  嵌入式系统
收稿时间:2015-03-25
修稿时间:2016-02-25

A bank selection instruction optimization method in partitioned memory architecture
CHEN Yong,YUAN Meng ting,LI Qing an. A bank selection instruction optimization method in partitioned memory architecture[J]. Computer Engineering & Science, 2016, 38(2): 195-201
Authors:CHEN Yong  YUAN Meng ting  LI Qing an
Affiliation:(1.The 14th Research Institute,CETC,Nanjing 210039;(2.School of Computer,Wuhan University,Wuhan 430072,China)
Abstract:It is a research hotspot to minimize the number of bank selection instructions in the partitioned memory architecture. Analyzing the features of this problem, we construct a graph partition model for bank selection and propose a two stage heuristic search algorithm. This algorithm uses the size of nodes and partition capacity to get an initial solution quickly, and then uses the edge weights between nodes and the weighs between partitions as the heuristic parameters to search for the better solution. Experiments on MiBench benchmark and a real embedded system validate the effectiveness of the proposed model and algorithm. Compared to the VPAB algorithm, the proposal can achieve an average optimization rate of 37.99%, which is slightly better than the mature commercial compiler PICC, and can reduce the number of bank selection instructions largely.
Keywords:partitioned memory  graph model  heuristic search  embedded system,
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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