Branch lookahead prefetch for microprocessors
Abstract
A method of handling program instructions in a microprocessor which reduces delays associated with mispredicted branch instructions, by detecting the occurrence of a stall condition during execution of the program instructions, speculatively executing one or more pending instructions which include at least one branch instruction during the stall condition, and determining the validity of data utilized by the speculative execution. Dispatch logic determines the validity of the data by marking one or more registers of an instruction dispatch unit to indicate which results of the pending instructions are invalid. The speculative execution of instructions can occur across multiple pipeline stages of the microprocessor, and the validity of the data is tracked during their execution in the multiple pipeline stages while monitoring a dependency of the speculatively executed instructions relative to one another during their execution in the multiple pipeline stages.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for speculatively executing program instructions in a microprocessor having execution units which commit results of non-speculative instructions to architected registers, comprising: detecting the occurrence of a stall condition during execution of the program instructions; speculatively executing one or more pending instructions which include at least one branch instruction during the stall condition, wherein said speculative executing occurs across multiple pipeline stages within the microprocessor; maintaining a vector of dirty bits to track the validity of the data for the specula
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (1)
- Balasubramonian et al., "Dynamically Allocating Processor Resources between Nearby and Distant ILP," ACM SIGARCH Computer Architecture News pp. 26-37 (May 2001).