Patents
US 5,778,219 A#545826 Most CitedExpiredUnited States (USPTO)Utility

Method and system for propagating exception status in data registers and for detecting exceptions from speculative operations with non-speculative operations

66Forward Citations (#545826 Global)
2.4/yrCitation Velocity (#1471897 Global)
15.76Citation PageRank (#497438 Global)
6Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A method for supporting speculative execution includes designating operations as speculative or non-speculative, and then deferring exceptions generated by speculative operations while immediately reporting exceptions by non-speculative operations. If a speculative operation uses a result of a speculative operation that has generated an exception, the exception is propagated. Deferred exceptions are detected and reported using a check operation either incorporated into a non-speculative operation or inserted as a separate check operation. A system for supporting speculative execution includes a functional unit for recognizing a speculative operation and deferring any exceptions generated by such an operation. The functional unit may defer an exception by storing information indicating an error has occurred in the register file. To check for deferred exceptions, the functional unit then reads the register file. If an exception is detected, then the exception is processed and one or more of the speculative operation are re-executed (in a non-speculative mode) where necessary to process the exception.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for processing speculative operations in a processor comprising: issuing a speculative operation in a processor; if execution of the speculative operation generates an exception, then setting a tag code in a tag field of a result register of the speculative operation to defer the processing of the exception; while executing a non-speculative operation, checking whether the tag code is set in an input register of the non-speculative operation; and if the tag code is set, then processing the exception and re-executing a non-speculative version of the speculative operation.

  2. Claim 2Depends on #1

    The method of claim 1 further comprising: if the speculative operation generates an exception, then setting an exception code in the data field of the result register of the speculative operation; and propagating the exception code if the result registe

Technical Overview & Description

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

Cited By — Indexed Forward Citations (15 of 66 total)

PatentTitleYearCitations
US 7,685,403 B1Pipeline replay support for multi-cycle operations20104
US 7,337,307 B1Exception handling with inserted status check command accommodating floating point instruction forward move across branch20088
US 7,321,964 B2Store-to-load forwarding buffer using indexed lookup20086
US 7,089,400 B1Data speculation based on stack-relative addressing patterns200643
US 2003079112 A1Instruction cache association crossbar switch—2
US 2013326200 A1Integrated circuit devices and methods for scheduling and executing a restricted load operation—7
US 2004143721 A1Data speculation based on addressing patterns identifying dual-purpose register—32
US 7,240,186 B2System and method to avoid resource contention in the presence of exceptions200711
US 9,825,647 B1Method and apparatus for decompression acceleration in multi-cycle decoder based platforms201710
US 6,301,705 B1System and method for deferring exceptions generated during speculative execution200141
US 10,956,157 B1Taint protection during speculative execution20215
US 2007113060 A1Floating point status/control register encodings for speculative register field—22
US 6,505,296 B2Emulated branch effected by trampoline mechanism200322
US 2011047358 A1In-Data Path Tracking of Floating Point Exceptions and Store-Based Exception Indication—22
US 6,189,093 B1System for initiating exception routine in response to memory access exception by storing exception information and exception bit within architectured register200149

Non-Patent Literature (5)

  • IBM Research Report, "Some Global Compiler Optimizations and Architectural Features for Improving Performance of Superscalers", by K. Ebcioglu and R. Groves, pp. 1-13.
  • IBM Research Report, Some Global Compiler Optimizations and Architectural Features for Improving Performance of Superscalers , by K. Ebcioglu and R. Groves, pp. 1 13.
  • Sentinel Scheduling for VLIW and Superscaler Processors, by S.A. Mahlke, W.Y. Chen, W.W. Hwu, B. Ramakrishna Rau and M.S. Schlansker.
  • Sentinel Scheduling: A Model for Compiler Controlled Speculative Execution, by S.A. Mahlke, W.Y. Chen, R.A. Bringmann, R.E. Hank, W.W. Hwu, B. Ramakrishna Rau and M.S. Schlansker, ACM Transactions on Computer Systems, Nov. 1993, pp. 1 47.
  • Sentinel Scheduling: A Model for Compiler-Controlled Speculative Execution, by S.A. Mahlke, W.Y. Chen, R.A. Bringmann, R.E. Hank, W.W. Hwu, B. Ramakrishna Rau and M.S. Schlansker, ACM Transactions on Computer Systems, Nov. 1993, pp. 1-47.