发明授权
- 专利标题: Conditional branch instruction compaction for regional code size reduction
- 专利标题(中): 条件分支指令压缩减少区域代码大小
-
申请号: US14314065申请日: 2014-06-25
-
公开(公告)号: US09298436B2公开(公告)日: 2016-03-29
- 发明人: Patrick R. Doyle , Vijay Sundaresan
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Isaac J. Gooshaw
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F9/45 ; G06F11/34 ; G06F9/30
摘要:
In an approach for decreasing an execution time of a computer code, one or more processors receive a computer code and identify a frequently executed region of the computer code. One or more processors identify a long-form conditional branch in the frequently executed region of the computer code that is infrequently taken. One or more processors generate a long-form unconditional branch with a target that is a target of the long-form conditional branch. One or more processors modify the long-form conditional branch to be a short-form conditional branch. One or more processors insert the long-form unconditional branch in the computer code within a branch distance of the short-form conditional branch. One or more processors modify a target of the short-form conditional branch to be a location of the long-form unconditional branch in the computer code.
公开/授权文献
信息查询