中国科学院机构知识库网格
Chinese Academy of Sciences Institutional Repositories Grid
Code reordering on limited branch offset

文献类型:期刊论文

作者Chen, Yu; Zhang, Fuxin
刊名ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION
出版日期2007-06-01
卷号4期号:2页码:23
关键词algorithms code reordering godson processor link-time optimization
ISSN号1544-3566
DOI10.1145/1250727.1250730
英文摘要Since the 1980's code reordering has gained popularity as an important way to improve the spatial locality of programs. While the effect of the processor's microarchitecture and memory hierarchy on this optimization technique has been investigated, little research has focused on the impact of the instruction set. In this paper, we analyze the effect of limited branch offset of the MIPS-like instruction set [Hwu et al. 2004, 2005] on code reordering, explore two simple methods to handle the exceeded branches, and propose the bidirectional code layout (BCL) algorithm to reduce the number of branches exceeding the offset limit. The BCL algorithm sorts the chains according to the position of related chains, avoids cache conflict misses deliberately and lays out the code bidirectionally. It strikes a balance among the distance of related blocks, the instruction cache miss rate, the memory size required, and the control flow transfer. Experimental results show that BCL can effectively reduce exceeded branches by 50.1%, on average, with up to 100% for some programs. Except for some programs with little spatial locality, the BCL algorithm can achieve the performance, as the case with no branch offset limitation.
WOS研究方向Computer Science
语种英语
WOS记录号WOS:000250622500003
出版者ASSOC COMPUTING MACHINERY
源URL[http://119.78.100.204/handle/2XEOYT63/11019]  
专题中国科学院计算技术研究所期刊论文_英文
通讯作者Chen, Yu
作者单位Chinese Acad Sci, Inst Comp Technol, Comp Architecture & Syst Lab, Beijing 100080, Peoples R China
推荐引用方式
GB/T 7714
Chen, Yu,Zhang, Fuxin. Code reordering on limited branch offset[J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION,2007,4(2):23.
APA Chen, Yu,&Zhang, Fuxin.(2007).Code reordering on limited branch offset.ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION,4(2),23.
MLA Chen, Yu,et al."Code reordering on limited branch offset".ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION 4.2(2007):23.

入库方式: OAI收割

来源:计算技术研究所

浏览0
下载0
收藏0
其他版本

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。