Method and apparatus for avoiding read-after-write hazards in an execute-ahead processor
Abstract
One embodiment of the present invention provides a system that avoids read-after-write (RAW) hazards while speculatively executing instructions on a processor. The system starts in a normal execution mode, wherein the system issues instructions for execution in program order. Upon encountering a stall condition during execution of an instruction, the system generates a checkpoint, and executes the instruction and subsequent instructions in a speculative-execution mode. The system also maintains dependency information for each register indicating whether or not a value in the register depends on an unresolved data-dependency. The system uses this dependency information to avoid RAW hazards during the speculative-execution mode.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for avoiding read-after-write (RAW) hazards while speculatively executing instructions on a processor, comprising: issuing instructions for execution during a normal execution mode; upon encountering a stall condition during execution of an instruction, generating a checkpoint, and executing the instruction and subsequent instructions in a speculative-execution mode, wherein the stall condition is a data-dependent stall condition, and wherein the speculative-execution mode is an execute-ahead mode, wherein instructions that cannot be executed because of an unresolved data dependency a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (1)
- "Beating in-order stalls with "flea-flicker" two-pass pipelining", by Ronald D. Barnes et al., Proceedings of the 36<SUP>th </SUP>International Symposium on Microarchitecture, 2003 IEEE.