Invention Grant
- Patent Title: Dynamically rewriting branch instructions to directly target an instruction cache location
- Patent Title (中): 动态地重写分支指令直接指向指令高速缓存位置
-
Application No.: US13442919Application Date: 2012-04-10
-
Publication No.: US08627051B2Publication Date: 2014-01-07
- Inventor: Tong Chen , Brian Flachs , Brad W. Michael , Mark R. Nutter , John K. P. O'Brien , Kathryn M. O'Brien , Tao Zhang
- Applicant: Tong Chen , Brian Flachs , Brad W. Michael , Mark R. Nutter , John K. P. O'Brien , Kathryn M. O'Brien , Tao Zhang
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Francis Lammes; Stephen J. Walder, Jr.; Matthew B. Talpis
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Mechanisms are provided for dynamically rewriting branch instructions in a portion of code. The mechanisms execute a branch instruction in the portion of code. The mechanisms determine if a target instruction of the branch instruction, to which the branch instruction branches, is present in an instruction cache associated with the processor. Moreover, the mechanisms directly branch execution of the portion of code to the target instruction in the instruction cache, without intervention from an instruction cache runtime system, in response to a determination that the target instruction is present in the instruction cache. In addition, the mechanisms redirect execution of the portion of code to the instruction cache runtime system in response to a determination that the target instruction cannot be determined to be present in the instruction cache.
Public/Granted literature
- US20120198169A1 Binary Rewriting in Software Instruction Cache Public/Granted day:2012-08-02
Information query