Patents
US 9,940,138 B2#62028638 Most CitedActiveUnited States (USPTO)Utility

Utilization of register checkpointing mechanism with pointer swapping to resolve multithreading mis-speculations

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

Abstract

Methods and apparatus are disclosed for using a register checkpointing mechanism to resolve multithreading mis-speculations. Valid architectural state is recovered and execution is rolled back. Some embodiments include memory to store checkpoint data. Multiple thread units concurrently execute threads. They execute a checkpoint mask instruction to initialize memory to store active checkpoint data including register contents and a checkpoint mask indicating the validity of stored register contents. As register contents change, threads execute checkpoint write instructions to store register contents and update the checkpoint mask. Threads also execute a recovery function instruction to store a pointer to a checkpoint recovery function, and in response to mis-speculation among the threads, branch to the checkpoint recovery function. Threads then execute one or more checkpoint read instructions to copy data from a valid checkpoint storage area into the registers necessary to recover a valid architectural state, from which execution may resume.

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

    An apparatus, comprising: a plurality of thread unit circuits to concurrently execute a plurality of threads, each of the plurality of thread unit circuits being capable of executing a checkpoint write instruction to update data stored in a memory storage area after execution of a checkpoint mask instruction; and the memory storage area comprising an active checkpoint storage area and a most recent valid checkpoint storage area, wherein the active checkpoint storage area is to store, in response to the checkpoint write instruction, first data for the checkpoint write instruction encountered du

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
US 5,410,685 ANon-intrinsive method and system for recovering the state of a computer system and non-intrusive debugging method and system utilizing same1995103
JP 2000047887 ASpeculative multi-thread processing method and its device—22
US 2003018826 A1Facilitating efficient join operations between a head thread and a speculative thread—25
US 2004162948 A1Method and apparatus for avoiding locks by speculatively executing critical sections—119
US 2004230778 A1Efficient register file checkpointing to facilitate speculative execution—26
US 2005223385 A1Method and structure for explicit software control of execution of a thread including a helper subthread—11
WO 2005/119461 A2Logging of level-two cache transactions into banks of the level-two cache for system rollback—1
JP 2006518077 A臨界領域を投機的に実行することによりロックを回避するための方法および装置—21
US 7,168,076 B2Facilitating efficient join operations between a head thread and a speculative thread20077
WO 2007/015925 A1Avoiding locks by transactionally executing critical sections—5
US 7,191,292 B2Logging of level-two cache transactions into banks of the level-two cache for system rollback20078
US 7,243,262 B2Incremental checkpointing in a multi-threaded architecture200762
US 2007186081 A1Supporting out-of-order issue in an execute-ahead processor—43
US 7,308,607 B2Periodic checkpointing in a redundantly multi-threaded architecture200750
JP 3,139,964 Uシステムのロールバックのための、レベル2キャッシュのバンクへのレベル2キャッシュのトランザクションのロギング20083
CN 101,154,185 AMethod for performing recovery and playback when running software—21
US 7,409,589 B2Method and apparatus for reducing number of cycles required to checkpoint instructions in a multi-threaded processor200816
US 7,475,230 B2Method and apparatus for performing register file checkpointing to support speculative execution within a processor200916
JP 2009009570 ARegister status error recovery and resumption mechanism—6
JP 2009508187 Aクリティカルセクションをトランザクション的に実行することによるロックの回避—9
US 7,523,465 B2Methods and apparatus for generating speculative helper thread spawn-target points200916
US 2009172370 A1Eager execution in a processing pipeline having multiple integer execution units—17
US 2009187906 A1Semi-ordered transactions—8
US 7,584,346 B1Method and apparatus for supporting different modes of multi-threaded speculative execution200914
US 7,610,470 B2Preventing register data flow hazards in an SST processor20094
US 7,610,474 B2Mechanism for hardware tracking of return address after tail call elimination of return-type instruction20095
US 7,634,641 B2Method and apparatus for using multiple threads to spectulatively execute instructions20092
US 2010274972 A1Systems, methods, and apparatuses for parallel computing—162
US 7,865,769 B2In situ register state error recovery and restart mechanism20117

Non-Patent Literature (5)

  • Balakrishnan, et al., "Program Demultiplexing: Data-flow based Speculative Parallelization of Methods in Sequential Programs", Symposium, 2006, 12 pages, Proc. of International Symposium on Computer Architecture.
  • Colohan et al., "CMP Support for Large and Dependent Speculative Threads", Aug. 2007, pp. 1041-1054.
  • Du, et al., "A Cost-Friven Compilation Framework for Speculative Parallelization of Sequential Programs", Jun. 2004, 11 pages, Washington DC.
  • Notice of Grant received for Chinese Patent Application No. 201010161083, dated May 16, 2014, 2 pages of English Translation and 2 pages of Chinese Notice of Grant.
  • Notice of Grant received for Japanese Patent Application No. 2010-080729, dated Mar. 5, 2013, 4 pages of grant only.