Patents
US 8,190,859 B2#8655943 Most CitedActiveUnited States (USPTO)Utility

Critical section detection and prediction mechanism for hardware lock elision

12Forward Citations (#8655943 Global)
0.9/yrCitation Velocity (#8442202 Global)
1.77Citation PageRank (#17710820 Global)
15Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and apparatus for detecting lock instructions and lock release instruction, as well as predicting critical sections is herein described. A lock instruction is detected with detection logic, which potentially resides in decode logic. A lock instruction entry associated with the lock instruction is stored/created. Address locations and values to be written to those address location of subsequent potential lock release instruction are compared to the address loaded from by the lock instruction and the value load by the lock instruction. If the addresses and values match, it is determined that the lock release instruction matches the lock instruction. A prediction entry stores a reference to the lock instruction, such as a last instruction pointer (LIP), and an associated value to represent the lock instruction is to be elided upon subsequent detection, if it is determined that the lock release instruction matches the lock instruction.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 12.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: detection logic configured to detect a potential lock instruction and a potential subsequent lock release instruction, wherein the potential lock instruction is to include a read modify write (RMW) instruction; N storage elements to be logically viewed as a stack, wherein N elements are capable of storing N LIEs associated with N potential lock instructions to support N levels of nested critical sections, wherein N is an integer greater than 1; a storage element of the N storage elements configured to hold a lock instruction entry (LIE) associated with the potential lo

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Intel IA-32 and Intel® 64 instruction set is described in Intel® 64 and IA-32 Architectures Software Developer's Manual, vol. 2A: Instruction Set Reference, A-M and vol. 2B: Instruction Set Reference, N-Z, http://www.intel.com/design/pentium4/manuals/index-new.htm#1.
  • Intel IA-32 and Intel® 64 instruction set is described in Intel® 64 and IA-32 Architectures Software Developer's Manual, vol. 2A: Instruction Set Reference, A-M and vol. 2B: Instruction Set Reference, N-Z, http://www.intel.com/design/pentium4/manuals/index—new.htm#1.
  • Jerry M. Rosenberg, Dictionary of Computers, information Processing & Telecommunications, 2nd edition, John Wiley & Sons, 1987, p. 698.
  • Office Action Received for Chinese Patent Application No. 200710186451.9 mailed on Dec. 12, 2008, 6 Pages of Office Action including 3 pages of english Translation.
  • Rajwar et al., Speculative Lock Elision: Enabling Highly Concurrent Multithreaded Execution, Proceedings of the 34th International Symposium on Microarchitecture, IEEE, Dec. 3-5, 2001.