Cache directed sequential prefetch
Abstract
A technique for performing stream detection and prefetching within a cache memory simplifies stream detection and prefetching. A bit in a cache directory or cache entry indicates that a cache line has not been accessed since being prefetched and another bit indicates the direction of a stream associated with the cache line. A next cache line is prefetched when a previously prefetched cache line is accessed, so that the cache always attempts to prefetch one cache line ahead of accesses, in the direction of a detected stream. Stream detection is performed in response to load misses tracked in the load miss queue (LMQ). The LMQ stores an offset indicating a first miss at the offset within a cache line. A next miss to the line sets a direction bit based on the difference between the first and second offsets and causes prefetch of the next line for the stream.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of prefetching sequential values from a lower level of a memory hierarchy into a cache memory at a higher level of the memory hierarchy, the method comprising: receiving an access request for a value at the cache memory; determining whether or not a cache line containing the value is present in the cache memory; responsive to determining the cache line is present in the cache memory, retrieving a first indicator associated with the cache line that indicates whether or not the cache line has been previously accessed since the cache line was prefetched; determining whether or not the ca
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗