Method and apparatus for using multiple threads to spectulatively execute instructions
Abstract
One embodiment of the present invention provides a system which performs simultaneous speculative threading. The system staffs by executing instructions in normal execution mode using a first thread. Upon encountering a data-dependent stall condition, the first thread generates an architectural checkpoint and commences execution of instructions in execute-ahead mode. During execute-ahead mode, the first thread executes instructions that can be executed and defers instructions that cannot be executed into a deferred queue. When the data dependent stall condition has been resolved, the first thread generates a speculative checkpoint and continues execution in execute-ahead mode. At the same time, the second thread commences execution in a deferred mode. During execution in the deferred mode, the second thread executes instructions deferred by the first thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing simultaneous speculative threading, comprising: executing instructions in a normal execution mode using a first thread; upon encountering a data-dependent stall condition during an instruction, generating an architectural checkpoint and commencing execution of instructions in execute-ahead mode, wherein the first thread executes instructions that can be executed and defers instructions that cannot be executed into a deferred queue, wherein the deferred queue is a first-in-first-out (FIFO) buffer, and wherein deferring the instructions involves storing the instruction th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (3)
- Daniel C. McCrackin, "Eliminating Interlocks in Deeply Pipelined Processors by Delay Enforced Multistreaming", IEEE Transactions on Computers 40 (1991) October, No. 10, New York, US, XP 000266019.
- Iffat H. Kazi et al., "Coarse-Grained Speculative Execution in Shared-Memory Multiprocessors", ICS 98 Melbourne Australia, published Jul. 7, 1998, XP-000895361, pp. 93-100.
- Zahran, M. and Franklin, M. 2003. Dynamic Thread Resizing for Speculative Multithreaded Processors. In Proceedings of the 21st international Conference on Computer Design (Oct. 13-15, 2003). ICCD. IEEE Computer Society, Washington, DC, 313.