Apparatus and method for dynamic binary translator to support precise exceptions with minimal optimization constraints
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)
- 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 ↗
Cited By — Indexed Forward Citations (15 of 23 total)
References Cited — Backward Prior Art (20)
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.