Storing results of resolvable branches during speculative execution to predict branches during non-speculative execution
Abstract
One embodiment of the present invention provides a system that facilitates storing results of resolvable branches during speculative execution, and then using the results to predict the same branches during non-speculative execution. During operation, the system executes code within a processor. Upon encountering a stall condition, the system speculatively executes the code from the point of the stall, without committing results of the speculative execution to the architectural state of the processor. Upon encountering a branch instruction that is resolved during speculative execution, the system stores the result of the resolved branch in a branch queue, so that the result can be subsequently used to predict the branch during non-speculative execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for storing the results of resolvable branches while speculatively executing code to facilitate faster non-speculative execution of the code, the method comprising: executing code non-speculatively within a processor; upon encountering a stall condition that causes the non-speculative execution of the code to stop during execution of the code, speculatively executing the code from the point of the stall without committing results of the speculative execution to the architectural state of the processor; upon encountering a branch instruction during the speculative execution of the code
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (4)
- "Checkpoint Repair for Out-of-order Execution Machines"; Hwu et al.; ACM; 1987.
- "Execution-based Prediction Using Speculative Slices"; Zilles et al.; IEEE; 2001.
- Publication entitled "A Study Slipstream Processors", by Zach Purser et al., ASPLOS, 2000, pp. 269-280.
- Publication entitled "Speculative Data-Driven Multithreading" by Amir Roth et al., HPCA '01, 2001, pp. 37-48.