Patents
US 7,757,221 B2#3514756 Most CitedExpiredUnited States (USPTO)Utility

Apparatus and method for dynamic binary translator to support precise exceptions with minimal optimization constraints

23Forward Citations (#3514756 Global)
1.4/yrCitation Velocity (#3768197 Global)
2.53Citation PageRank (#9977635 Global)
20Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and apparatus for dynamic binary translator to support precise exceptions with minimal optimization constraints. In one embodiment, the method includes the translation of a source binary application generated for a source instruction set architecture (ISA) into a sequential, intermediate representation (IR) of the source binary application. In one embodiment, the sequential IR is modified to incorporate exception recovery information for each of the exception instructions identified from the source binary application to enable a dynamic binary translator (DBT) to represent exception recovery values as regular values used by IR instructions. In one embodiment, the sequential IR may be optimized with a constraint on movement of an exception instruction downward past an irreversible instruction to form a non-sequential IR. In one embodiment, the non-sequential IR is optimized to form a translated binary application for a target ISA. Other embodiments are described and claimed.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method comprising: translating a source binary application, generated for a source instruction set architecture (ISA), into a sequential intermediate representation (IR) of the source binary application; identifying each exception instruction within the source ISA binary application; identifying a predetermined reaching instruction within the sequential IR of the source ISA binary application for each of the identified exception instructions; identifying one or more irreversible instructions within the source ISA binary application; generating an irreversible instruction

Technical Overview & Description

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

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
US 5,802,373 AMethod for providing a pipeline interpreter for a variable length instruction set199883
US 2002092002 A1Method and apparatus for preserving precise exceptions in binary translated code—74
US 6,502,237 B1Method and apparatus for performing binary translation method and apparatus for performing binary translation2002116
US 6,535,903 B2Method and apparatus for maintaining translated routine stack in a binary translation environment200340
US 2003101438 A1Semantics mapping between different object hierarchies—38
US 2003191622 A1Exception handling method and apparatus for use in program code conversion—11
US 2004194070 A1Apparatus and method for reproduction of a source ISA application state corresponding to a target ISA application state at an execution stop point—17
US 2004268330 A1Intermediate representation for multiple exception handling models—44
US 2005005265 A1Method and apparatus for performing adjustable precision exception handling—16
US 6,961,932 B2Semantics mapping between different object hierarchies200525
US 2006013218 A1Method and system for a gigabit Ethernet IP telephone chip with no DSP core, which uses a RISC core with instruction extensions to support voice processing—15
US 2006095896 A1Apparatus, system, and method of removing exception related dependencies—8
US 7,065,750 B2Method and apparatus for preserving precise exceptions in binary translated code200624
US 2006161908 A1Software tool with modeling of asynchronous program flow—10
US 7,120,898 B2Intermediate representation for multiple exception handling models200646

Non-Patent Literature (4)

  • Beck et al, "Dynamic Reconfiguration with Binary Translation: Breaking the ILP Barrier with Software Compatibility", Jun. 2005, ACM, pp. 732-737.
  • Oh et al, "Memory Access Optimization of Dynamic Binary Translation for Reconfigurable Architectures", 2005, IEEE, pp. 1011-1017.
  • Ramsey et al, "A Transformational Approach to Binary Translation of Delayed Branches", ACM Transactions on Programming Languages and Systems, vol. 25, No. 2, Mar. 2003, pp. 210-224.
  • Sutter et al, "Link-Time Binary Rewriting Techniques for Program Compaction", ACM Transactions on Programming Languages and Systems, vol. 27, No. 5, Sep. 2005, pp. 882-945.