Patents
US 7,313,790 B2#26894982 Most CitedExpiredUnited States (USPTO)Utility

Methods and apparatus for preserving precise exceptions in code reordering by using control speculation

4Forward Citations (#26894982 Global)
0.2/yrCitation Velocity (#32403233 Global)
1.14Citation PageRank (#34668833 Global)
8Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods and apparatus for preserving precise exceptions in code reordering by using control speculation are disclosed. A disclosed system uses a control speculation module to reorder instructions within an application program and preserve precise exceptions. Instructions, excepting and non-excepting, can be reordered by the control speculation module if the instructions meet certain conditions. When an excepting instruction is reordered, a check instruction is inserted into the program execution path and a recovery block is generated. The check instruction determines if the reordered excepting instruction actually needs to generate an exception. The recovery block contains instructions to revert the effects of code reordering. If the check instruction detects the need for an exception, the recovery block is executed to restore the architectural state of the processor and the exception is handled.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of preserving exceptions in code reordering, the method comprising: receiving a plurality of instructions including a first instruction; determining if the first instruction is an excepting instruction; determining if the first instruction is to be moved upward across a check instruction; determining a second instruction in the plurality of instructions that computes a previous value of a target register associated with the first instruction when the first instruction is not an excepting instruction and the first instruction is to be moved upward across a check instruction; determinin

Technical Overview & Description

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

Non-Patent Literature (4)

  • Bich C. Le, An Out-of-Order Execution Technique for Runtime Binary Translators, Hewlett Packard Company (1998).
  • Erik M. Nystrom et al., Code Reordering and Speculation Support for Dynamic Optimization Systems, University of Illinois, Urbana-Champagne. (2001).
  • Intel(R) Itanium(R) Architecture Software Developer's Manual, vol. 3: Instruction Set Reference, Revision 2.1, Oct. 2002, Document No. 245319-004, 958 pages.
  • Kemal Ebcioglu and Erik R. Altman, Daisy: Dynamic Compilation for 100% Architectural Compatibility, IBM Research Division (Aug. 5, 1996).