Invention Grant
- Patent Title: Dynamically rewriting branch instructions in response to cache line eviction
- Patent Title (中): 动态地重写分支指令以响应缓存线驱逐
-
Application No.: US13444890Application Date: 2012-04-12
-
Publication No.: US08782381B2Publication Date: 2014-07-15
- 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 Stephen J. Walder, Jr.; Thomas E. Tyson
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Mechanisms are provided for evicting cache lines from an instruction cache of the data processing system. The mechanisms store, for a portion of code in a current cache line, a linked list of call sites that directly or indirectly target the portion of code in the current cache line. A determination is made as to whether the current cache line is to be evicted from the instruction cache. The linked list of call sites is processed to identify one or more rewritten branch instructions having associated branch stubs, that either directly or indirectly target the portion of code in the current cache line. In addition, the one or more rewritten branch instructions are rewritten to restore the one or more rewritten branch instructions to an original state based on information in the associated branch stubs.
Public/Granted literature
- US20120198170A1 Dynamically Rewriting Branch Instructions in Response to Cache Line Eviction Public/Granted day:2012-08-02
Information query