Preventing register data flow hazards in an SST processor
Abstract
One embodiment of the present invention provides a system that prevents data hazards during simultaneous speculative threading. The system starts by executing instructions in an execute-ahead mode using a first thread. While executing instructions in the execute-ahead mode, the system maintains dependency information for each register indicating whether the register is subject to an unresolved data dependency. Upon the resolution of a data dependency during execute-ahead mode, the system copies dependency information to a speculative copy of the dependency information. The system then commences execution of the deferred instructions in a deferred mode using a second thread. While executing instructions in the deferred mode, if the speculative copy of the dependency information for a destination register indicates that a write-after-write (WAW) hazard exists with a subsequent non-deferred instruction executed by the first thread in execute-ahead mode, the system uses the second thread to execute the deferred instruction to produce a result and forwards the result to be used by subsequent deferred instructions without committing the result to the architectural state of the destinatio
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for preventing data hazards during simultaneous speculative threading, comprising: executing instructions in an execute-ahead mode using a first thread, wherein executing instructions in the execute-ahead mode involves maintaining dependency information for each register indicating whether the register is subject to an unresolved data dependency; upon the resolution of a data dependency during execute-ahead mode, copying a dependency information to a speculative copy of the dependency information; commencing execution of the deferred instructions in a deferred mode using a second thre
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (4)
- Leibholz,D. etal., The Alpha 21264: A 500MHZ Out-of-Order Execution MIcroprocessor, 1997, IEEE, pp. 28-36.
- Martinez, J.F. etal., Speculative Synchronization: Applying Thread-Level Speculation to Explicitly Parallel Applications, 2002, ACM, pp. 18-29.
- Rajwar, R. etal., Speculative Lock Elison Enabling Highly Concurrent Multithreaded Execution, 2001, IEEE, pp. 294-305.
- Steffan,G.J. etal., A Scalable Approach to Thread Level Speculation, 2000, ACM, 12 pages.