Multi-threading techniques for a processor utilizing a replay queue
Abstract
A processor is provided that includes an execution unit for executing instructions and a replay system for replaying instructions which have not executed properly. The replay system is coupled to the execution unit and includes a checker for determining whether each instruction has executed properly and a plurality of replay queues or replay queue sections coupled to the checker for temporarily storing one or more instructions for replay. In one embodiment, thread-specific replay queue sections may each be used to store a long latency instruction for each thread until the long latency instruction is ready to be executed (e.g., data for a load instruction has been retrieved from external memory). By storing the long latency instruction and its dependents in a replay queue section for one thread which has stalled, execution resources are made available for improving the speed of execution of other threads which have not stalled.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 12.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: initially allocating execution resources for multiple threads; determining that a first thread has stalled; temporarily storing one or more instructions of the first thread in a replay queue; and continuing to allocate execution resources to other threads which have not stalled.
- Claim 2Depends on #1
The method of claim 1 wherein said step of continuing to allocate comprises the step of continuing to allocate execution resources to the other threads which have not stalled and inhibiting the allocation of further resources to the stalled thread by temporarily storing the stalled thread instructions in the replay queue.
- Claim 3Depends on #1
The method of claim 1 wherein priority for execution resources are allocated to the other threads which have not stalled on a rotating priority basis.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Akkary et al., A Dynamic Multithreading Processor, 1998, pp. 226-236.
- Gulati et al., Performance Study of a Multithreaded Superscalar Microprocessor, 1996, pp. 291-301.
- Lolkkanen et al., A Fine-Grain Multithreading Superscalar Architecture, 1996, pp. 163-168.
- Marcuello et al., Data Speculative Multithreaded Architecture, 1998, pp. 321-324.
- Roos et al., Execution Replay of Parallel Programs, 1993, pp. 1-6.