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 |
DOI | 10.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
其他版本
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。