Software controlled pre-execution in a multithreaded processor
Abstract
A processor capable of running multiple threads runs a program in one thread (called the “main” thread) and at least a portion of the same program in another thread (called the “pre-execution” thread). The program in the main thread includes instructions that cause the processor to start and stop pre-execution threads and direct the processor as to which part of the program is to be run through the pre-execution threads. Preferably, such instructions cause the pre-execution thread to run ahead of the main thread in program order. In that way, any cache miss conditions that are encountered by the pre-execution thread are resolved before the main thread requires that same data. Therefore, the main thread should encounter few or no cache miss conditions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 24.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer system, comprising: a processor capable of executing multiple threads; and a main system memory coupled to said processor; wherein said processor processes a program in a main thread that includes instructions which cause the processor to spawn a pre-execution thread in which only a portion, but not all, of the same program executes, said pre-execution thread runs concurrently with the main thread, but ahead of the main thread in program order, wherein cache misses encountered by the pre-execution thread are resolved before the main thread encounters the cache misses.
- Claim 2Depends on #1
The computer system of claim 1 wherein said instructions that cause the pre-execution thread to be spawned include a start instruction which causes a pre-execution thread to start and a stop instruction which causes the pre-execution thread to stop.
- Claim 3Independent Claim
The computer syste
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 24 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- A. Mahmood et al., "Concurrent Error Detection Using Watchdog Processors-A Survey," IEEE Trans. on Computers, vol. 37, No. 2, Feb. 1988 (pp. 160-174).
- Akkary et al., "A Dynamic Multithreading Processor", 1998, IEEE, pp. 1-11.
- D. A. Reynolds et al., "Fault Detection Capabilities Of Alternating Logic," IEEE Trans. on Computers, vol. 27, No. 12, Dec. 1978 (pp. 1093-1098).
- D. M. Tullsen, et al., "Simultaneous Multithreading: Maximizing On-Chip Parallelism," Proceedings of the 22nd Annual International Symposium on Computer Architecture, Italy, Jun. 1995 (12 pp.).
- E. Rotenberg et al., "Trace Cache: A Low Latency Approach To High Bandwidth Instruction Fetching," Proceedings of the 29th Annual International Symposium on Microarchitecture, Dec. 1996 (pp. 24-34).