Cache way prediction based on instruction base register
AssigneeKoninklijke Philips Electronics N.V.
InventorsJan-Willem Van De Waerdt, Paul Stravers
Life of this patent
Estimating the term…
Loading patent…
AssigneeKoninklijke Philips Electronics N.V.
InventorsJan-Willem Van De Waerdt, Paul Stravers
Estimating the term…
A way prediction scheme for a partitioned cache is based on the contents of instructions that use indirect addressing to access data items in memory. The contents of indirect-address instructions are directly available for use, without a memory address computation, and a prediction scheme based on this directly available information is particularly well suited for a pipeline architecture. Indirect addressing instructions also provide a higher-level abstraction of memory accesses, and are likely to be more indicative of relationships among data items, as compared to the absolute address of the data items. In a preferred embodiment, the base register that is contained in the indirect address instruction provides an index to a way-prediction table for an n-way associative cache. Data items that are indirectly addressed using the same base register are likely to be related, and thus predicting a particular way in an n-way associative memory based on the base register of an indirect address instruction is likely to result in a cache-hit, thereby reducing the energy consumption associated with accessing all ways in the cache.
A cache system comprising:
A processor, comprising:
A method for predicting a section of a cache that is likely to contain a referenced data item, comprising:
Dependencies are inferred from the claim text.