Load lookahead prefetch for microprocessors
Abstract
The present invention allows a microprocessor to identify and speculatively execute future load instructions during a stall condition. This allows forward progress to be made through the instruction stream during the stall condition which would otherwise cause the microprocessor or thread of execution to be idle. The data for such future load instructions can be prefetched from a distant cache or main memory such that when the load instruction is re-executed (non speculative executed) after the stall condition expires, its data will reside either in the L1 cache, or will be enroute to the processor, resulting in a reduced execution latency. When an extended stall condition is detected, load lookahead prefetch is started allowing speculative execution of instructions that would normally have been stalled. In this speculative mode, instruction operands may be invalid due to source loads that miss the L1 cache, facilities not available in speculative execution mode, or due to speculative instruction results that are not available via forwarding and are not written to the architected registers. A set of status bits are used to dynamically keep track of the dependencies between instruct
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A data processing system for speculative execution of instructions by a microprocessor non speculative execution of instructions and commits results of said non speculative instructions to at least one architected facility, comprising: means for determining the occurrence of a stall condition during the execution of said non speculative instructions; means for speculatively executing speculative instructions during said stall condition across multiple pipeline stages within said microprocessor; means for determining the validity of speculative data utilized during said speculative execution; m
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (3)
- Balasubramonian et al., Dynamically Allocating Processor Resources between Nearby and Distant ILP; ACM Press, ACM SIGARCH Computer Architecture News, May 2001, pp. 26-37.
- Lebeck et al., A Large, Fast Instruction Window for Tolerating Cache Misses; IEEE Computer Society; International Conference on Computer Architecture, May 2002, pp. 59-70.
- Mutlu et al., Runahead Execution: An Alternative to Very Large Instruction Windows for Out-of-order Processors, IEEE Computer Society, Symposium on High-Performance Computer Architecture, Feb. 8, 2003, pp. 129-140.