Compare and exchange operation using sleep-wakeup mechanism
Abstract
A method, apparatus, and system are provided for performing compare and exchange operations using a sleep-wakeup mechanism. According to one embodiment, an instruction at a processor is executed to help acquire a lock on behalf of the processor. If the lock is unavailable to be acquired by the processor, the instruction is put to sleep until an event has occurred.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor comprising: an execution unit; and a decoder coupled with the execution unit, the decoder to decode instructions including a first instruction, wherein the first instruction comprises a compare and exchange instruction: (1) the execution unit, in response to the first instruction, operable to cause a second source operand of the first instruction to be stored in a destination operand of the first instruction if a first source operand of the first instruction equals a third source operand of the first instruction; and (2) the processor comprising a sleep-wakeup mechanism implemented
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,372,500 B2 | Generating a timeout signal based on a clock counter associated with a data request | 2016 | 0 |
References Cited — Backward Prior Art (32)
Non-Patent Literature (5)
- "European Search Report", Application No. 05253896.4-1243; Intel Corporation, (Aug. 21, 2007), 3 pgs.
- "Improved Compare-and-Swap Instruction Using Change Bits for Computer Systems with Broadcast", IBM Techinical Disclosure Bulletin, U.S. IBM Corp., Mar. 1992, vol. 34, No. 10A., pp. 117-119.
- Anderson, Thomas E., "The Performance of Spin Lock Alternatives for Shared-Memory Multiprocessors", IEEE Transactions on Parallel and Distributed Systems, vol. 1, No. 1., (Jan. 1990), pp. 6-16.
- INTEL "Intel Architecture Software Developer's Manual vol. 2: Instruction Set Reference" (1999) pp. 1-2 and 3-100 thru 3-103.
- Koo, Changhoi , et al., "Some message changes in IEEE 802.16e Sleep mode", Project, IEEE 802.16 Broadband Wireless Access Working Group, (Jul. 21, 2003), pp. 1-5.