Patents
US 8,607,241 B2#60598254 Most CitedExpiredUnited States (USPTO)Utility

Compare and exchange operation using sleep-wakeup mechanism

1Forward Citations (#60598254 Global)
0.1/yrCitation Velocity (#49581550 Global)
0.76Citation PageRank (#60598254 Global)
32Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

References Cited — Backward Prior Art (32)

PatentTitleYearCitations
JP H05225149 ALock system—15
US 5,274,809 ATask execution control method for a multiprocessor system with enhanced post/wait procedure1993139
JP H07319716 AExclusive control system for resources of computer system—9
US 5,787,026 AMethod and apparatus for providing memory access in a processor pipeline199820
US 5,790,851 AMethod of sequencing lock call requests to an O/S to avoid spinlock contention within a multi-processor environment1998103
US 5,832,293 AProcessor architecture providing speculative, out of order execution of instructions and trap handling199830
US 5,860,126 AControlling shared memory access ordering in a multi-processing system using an acquire/release consistency model199980
US 5,889,983 ACompare and exchange operation in a processing system199954
US 6,112,222 AMethod for resource lock/unlock capability in multithreaded computer environment200076
US 6,223,335 B1Platform independent double compare and swap operation200148
US 6,237,024 B1Method and apparatus for the suspension and continuation of remote processes200165
US 6,473,819 B1Scalable interruptible queue locks for shared-memory multiprocessor200246
US 6,502,170 B2Memory-to-memory compare/exchange instructions to support non-blocking synchronization schemes200212
US 2003126186 A1Method and apparatus for suspending execution of a thread until a specified memory access occurs—73
WO 03,058,447 A2A method and apparatus for suspending execution of a thread until a specified memory access occurs—28
US 6,615,340 B1Extended operand management indicator structure and method2003120
US 2004073905 A1Method and apparatus to quiesce a portion of a simultaneous multithreaded central processing unit—57
US 2004255296 A1Time-bounded program execution—54
US 2005027628 A1Data validity control in straight-through processing systems—16
US 6,886,105 B2Method and apparatus for resuming memory operations from a low latency wake-up low power state200523
US 2005246506 A1Information processing device, processor, processor control method, information processing device control method and cache memory—26
JP 2005316854 AInformation processor, processor, control method of processor, control method of information processor, and cache memory—18
US 6,978,460 B2Processor having priority changing function according to threads200518
US 7,127,561 B2Coherency techniques for suspending execution of a thread until a specified memory access occurs200670
US 7,213,093 B2Queued locks using monitor-memory wait200722
US 7,328,293 B2Queued locks using monitor-memory wait20087
US 7,437,581 B2Method and apparatus for varying energy per instruction according to the amount of available parallelism2008101
US 7,529,914 B2Method and apparatus for speculative execution of uncontended lock instructions200913
US 7,555,630 B2Method and apparatus to provide efficient communication between multi-threaded processing elements in a processor unit20099

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.