|
(11) | EP 2 980 703 A3 |
(12) | EUROPEAN PATENT APPLICATION |
|
|
|
|
|||||||||||||||||||||||||||
(54) | INSTRUCTION CACHE MANAGEMENT BASED ON TEMPORAL LOCALITY |
(57) The present disclosure relates to managing an instruction cache based on temporal
locality of cached instructions. One example method includes receiving a request for
a first instruction included in a software application; storing the first instruction
in a cache structure; receiving a request for a second instruction included in the
software application; determining that a cache entry must be removed from the cache
structure to create space to store the second instruction; determining that the first
instruction should be removed from the cache structure based on temporal locality
attributes associated with at least one of the first instruction or the second instruction,
the temporal locality attributes representing a likelihood that additional requests
will be received for an associated instruction while the instruction is stored in
the cache structure; removing the first instruction from the cache structure; and
storing the second instruction in the cache structure.
|