Binary translator with precise exception synchronization mechanism
Abstract
A source computer system with one instruction set architecture (ISA) is configured to run on a target hardware system that has its own ISA, which may be the same as the source ISA. In cases where the source instructions cannot be executed directly on the target system, the invention provides binary translation system. During execution from binary translation, however, both synchronous and asynchronous exceptions may arise. Synchronous exceptions may be either transparent (requiring processing action wholly within the target computer system) or non-transparent (requiring processing that alters a visible state of the source system). Asynchronous exceptions may also be either transparent or non-transparent, in which case an action that alters a visible state of the computer system needs to be applied. The invention includes subsystems, and related methods of operation, for detecting the occurrence of all of these types of exceptions, to handle them, and to do so with precise reentry into the interrupted instruction stream; by “precise” is meant that the atomic execution of the source instructions is guaranteed, and that the application of actions, including those that originate from a
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, by a binary translator, a sequence of source instructions for a source having a source instruction set architecture (ISA); generating a sequence of target instructions for a target based on the sequence of source instructions, the sequence of target instructions emulating the sequence of source instructions, the target having an ISA that is different from the source ISA; and maintaining atomicity of the sequence of source instructions during execution of the sequence of target instructions by: based on determining that during the execution, an instruction in the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- "Optimizing the Migration of Virtual Computers", 2002, pp. 2.
- Ebcioglu et al., "DAISY: Dynamic Compilation for 100% Architectural Compatibility", 1997, ACM.
- Non-Final Office Action in U.S. Appl. No. 10/921,417, dated Nov. 17, 2009, 10 pages.
- Sapuntzakis, et. al., "Optimizing the Migration of Virtual Computers", 2002, 14 pages.
- Silva, et al., "Portable Checkpointing and Recovery," 1995, IEEE, pp. 188-195.