发明名称 Rewriting branch instructions using branch stubs
摘要 Mechanisms are provided for rewriting branch instructions in a portion of code. The mechanisms receive a portion of source code having an original branch instruction. The mechanisms generate a branch stub for the original branch instruction. The branch stub stores information about the original branch instruction including an original target address of the original branch instruction. Moreover, the mechanisms rewrite the original branch instruction so that a target of the rewritten branch instruction references the branch stub. In addition, the mechanisms output compiled code including the rewritten branch instruction and the branch stub for execution by a computing device. The branch stub is utilized by the computing device at runtime to determine if execution of the rewritten branch instruction can be redirected directly to a target instruction corresponding to the original target address in an instruction cache of the computing device without intervention by an instruction cache runtime system.
申请公布号 US8522225(B2) 申请公布日期 2013.08.27
申请号 US20100823204 申请日期 2010.06.25
申请人 CHEN TONG;FLACHS BRIAN;MICHAEL BRAD W.;NUTTER MARK R.;O'BRIEN JOHN K. P.;O'BRIEN KATHRYN M.;ZHANG TAO;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CHEN TONG;FLACHS BRIAN;MICHAEL BRAD W.;NUTTER MARK R.;O'BRIEN JOHN K. P.;O'BRIEN KATHRYN M.;ZHANG TAO
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址