Code translation and pipeline optimization
Abstract
An emulator uses code translation and recompilation to execute target computer system applications on a host computer system. Target application code is partitioned into target application code blocks, and related target application code blocks are combined into block groups and translated. Translated application code block groups are sized to comply with restrictions on branch instruction size. Upon selecting an application code block group for execution, a cache tag is used to determine if a corresponding translated code block group is available and valid. If not, the block group is translated and executed. Sequentially executed translated code blocks are located in adjacent portions of memory to improve performance when switching between translated code blocks. The emulator may use a link register of the host computer system to prefetch instructions and data from translated code blocks. The emulator also takes into account structural hazards in translating instructions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 27.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of executing an application of a target computer using a host computer, the host computer including instructions to utilize valid cached translated code to emulate functionality of the target computer when available, the method comprising: in response to a first instruction received from an emulation environment to translate target application code into code blocks executable by the host computer, partitioning the target application code into a plurality of target application code blocks of related instructions; chaining together related target application code blocks to form a plural
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 27 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (2)
- International Search Report mailed on Jun. 12, 2008, for PCT Application No. PCT/US/07/68110 filed on May 3, 2007, 2 pages.
- International Search Report mailed on Mar. 5, 2008, for PCT Application No. PCt/US07/68153 filed on May 3, 2007, 1 page.