Patent · US Active

Dynamically rewriting branch instructions in response to cache line eviction

US8782381B2 · kind B2 · utility

6Cited by
29References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 12, 2012
Grant dateJul 15, 2014
Priority date
Expiry dateApr 12, 2032

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F12/12
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.