Memory-to-memory copy and compare/exchange instructions to support non-blocking synchronization schemes
Abstract
A coherency technique for multiprocessor systems in which threads perform atomic read or atomic write transactions pursuant to memory-to-memory copy instructions or memory-to-memory compare-and-exchange instructions. Although the source reads and target writes are each atomic, the instruction is not required to be atomic from the read through the write operation. Accordingly, once a first thread reads source data pursuant to a read, for example, it may allow other threads to access that data prior to completing its own target write. The data may include a version stamp. After the first thread operates on the data, software may read in the version stamp a second time. If the two version stamps agree, the results of the thread's operation may be considered valid for lookup operations. For a compare and exchange operation, a thread may read data from a source location. Subsequently, the thread may read atomically a current copy of a version stamp from a target address, compare it to a version of the same version stamp obtained earlier, and, if the two version stamps agree, write the source data to the target address.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 47.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer system, comprising: a plurality of agents, interconnected by a common bus, the agents including at least one processor and at least one memory, the processor to execute a memory-to-memory copy instruction by: atomically reading data from a source location in the memory to the processor, atomically writing the data from the processor to a target location, and unlocking the source location to other agents following the atomic reading and before the atomic writing.
- Claim 2Depends on #1
The computer system of claim 1 , wherein the processor comprises: a processor core comprising a plurality of registers, a cache system, and a bus interface coupled to the processor core and the cache system.
- Claim 3Depends on #2
The computer system of claim 2 , wherein the data item has
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 47 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Pentium(R) Pro Family Developer's Manual, vol. 2, Programmer's Reference Manual, 1996 Chapter 11, pp. 11-271 to 11-272.
- Pentium(R) Pro Family Developer's Manual, vol. 2, Programmer's Reference Manual, 1996 Chapter 11, pp. 11-372 to 11-373.
- Pentium(R) Pro Family Developer's Manual, vol. 2, Programmer's Reference Manual, 1996 Chapter 11, pp. 11-69 to 11-70.
- Pentium(R) Pro Family Developer's Manual, vol. 2, Programmer's Reference Manual, 1996 Chapter 11, pp. 11-71 to 11-72.
- Pentium® Pro Family Developer's Manual, vol. 2, Programmer's Reference Manual, 1996 Chapter 11, pp. 11-271 to 11-272.