Patents
US 8,438,372 B2#112324946 Most CitedActiveUnited States (USPTO)Utility

Link stack repair of erroneous speculative update

0Forward Citations (#112324946 Global)
0.0/yrCitation Velocity (#112324946 Global)
0.56Citation PageRank (#112324946 Global)
11Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Whenever a link address is written to the link stack, the prior value of the link stack entry is saved, and is restored to the link stack after a link stack push operation is speculatively executed following a mispredicted branch. This condition is detected by maintaining an incrementing tag register which is incremented by each link stack write instruction entering the pipeline, and a snapshot of the incrementing tag register, associated with each branch instruction. When a branch is evaluated and determined to have been mispredicted, the snapshot associated with it is compared to the incrementing tag register. A discrepancy indicates a link stack write instruction was speculatively issued into the pipeline after the mispredicted branch instruction, and pushed a link address onto the link stack, thus corrupting the link stack. The prior link address is restored to the link stack from the link stack restore buffer.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of detecting corruption in a link stack comprising a plurality of entries, each entry operative to store a link address, the method comprising: predicting branch evaluations of branch instructions; in response to the predictions, speculatively executing instructions in a pipeline; allowing link stack write instructions to speculatively write the link stack; maintaining an incrementing tag register which is incremented by each link stack write instruction entering the pipeline; maintaining a snapshot of the incrementing tag register, associated with each branch instruction in the pipel

Technical Overview & Description

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

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (5)

  • Dieffenderfer et al., "Link Stack Repair of Erroneous Speculative Update", U.S. Appl. No. 13/108,227, filed May 16, 2011, 35 of pages.
  • Guan-Ying Chiu et al.: "Mechanism for Return Stack and Branch History Corrections Under Misprediction in Deep Pipeline Design" 2008 13th Asia-Pacific Computer Systems Architecture Conference, (Aug. 6, 2008), pp. 1-8, Piscataway, NJ, US Paragraphs 2.1 "Basic Operation of Return Adress Stack" and 2.2
  • International Search Report and Written Opinion-PCT/US2012/051578-ISA/EPE-Dec. 7, 2012.
  • International Search Report-PCT/US08/078789, International Search Authority-European Patent Office-Dec. 4, 2008.
  • Skadron E et al: "Improving Prediction for Procedure Returns With Return-Address-Stack Repair Mechanisms" Micro-31. Proceedings of the 31st. Annual ACM/IEEE International Symposium on Microarchitecture. Dallas, TX, Nov. 30-Dec. 2, 1998; [Procedings of the Annual ACM/IEEE International Symposium on M