Synchronization of parallel processes using speculative execution of synchronization instructions
Abstract
A speculative execution capability of a processor is exposed to program control through at least one machine instruction. The at least one machine instruction may be two instructions designed to facilitate synchronization between parallel processes. According to an aspect, an instruction set architecture includes circuitry that handles a speculative execution instruction and a speculation termination instruction. The speculative execution instruction may be an instruction that takes first and second operands, causes the processor to speculatively execute additional instructions if a memory location contains a value, and causes the processor to start executing instructions from an address indicated by the second operand if a mis-speculation occurs, and the speculation termination instruction may be an instruction that causes the processor to begin retiring the additional instructions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 29.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A machine-implemented method comprising: generating parallel processes in a data processing machine; effecting synchronization between the parallel processes using processor speculation in the data processing machine to speculatively execute one or more instructions that read-modify-write a lock variable associated with a critical section and end speculation before performing the critical section; and providing output resulting from the synchronized parallel processes; wherein the one or more instructions comprise an instruction including an operand indicating an address from which to start ex
- Claim 2Depends on #1
The method of claim 1 , wherein said generating parallel processes comprises running a software program that spawns multiple threads in the data processing machine.
- Claim 3Depends on #1
The method of claim 1 , wherein said
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 29 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- Dean M. Tullsen et al., "Simultaneous Multithreading: Maximizing On-Chip Parallelism", Proceedings of the 22nd Annual International Symposium on Computer Architecture, Santa Margherita Ligure, Italy, Jun. 1995.
- Enhancing Software Reliability with Speculative Threads (Lam).
- Glenn Hinton et al., "The Microarchitecture of the Pentium(R) 4 Processor", Intel Technology Journal 1st quarter 2001, http://developer.intel.com/technology/itj/q12001/articles/art-2a.htm.
- Haitham Akkary et al., "A Dynamic Multithreading Processor", Microcomputer Research Labs, Intel Corporation; Department of Electrical and Computer Engineering, Portland State University.
- Jeffrey Oplinger et al., "Enhancing Software Reliability with Speculative Threads", ACM 1-58113-574-2/02/0010, 2002.