Retargetable instruction set simulators
Abstract
Methods for simulating an instruction set architecture (ISA) with an instruction set simulator (ISS) are provided. One exemplary embodiment of the methods includes fetching a first decoded instruction during a run time, where the decoded instruction is decoded from an original instruction in a target application program during a compile time preceding the run time. The decoded instruction can designate a template configured to implement the functionality of the original instruction. The method also preferably includes determining whether the fetched instruction is modified from the original instruction and then executing the designated template if the instruction was not modified. The method can also include decoding the original instruction during the compile time by selecting a template corresponding to the original instruction and then customizing the template based on the data in original instruction. The method can also include optimizing the customized template during the compile time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of simulating an instruction set architecture (ISA) with an instruction set simulator (ISS), comprising: generating decoder source code for an original input application, prior to a simulation time, by decoding each instruction of a plurality of instructions in the original input application, wherein the decoding comprises: identifying a plurality of unique instruction patterns in the original input application; selecting an appropriate template from a plurality of templates for each unique instruction pattern of the plurality of unique instruction patterns, wherein each template of t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 8,935,781 B1 | Native code module security for arm 64-bit instruction set architectures | 2015 | 9 |
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- Amicel et al. "Matering Startup costs in Assembler-Based Compiled Instruction-Set Simulation", 2002, Proceedings of the Sixth Annual Workshop on Interaction between Compilers and Computer Architectures.
- Cmelik et al. Shade: A Fast Instruction-Set Simulator for Execution Profiling. Technical Report UWCSE 1993-06-06, Department of Computer Science and Engineering, University of Washington, Jun. 1993.
- Diep et al. "WMW: A Visualization-Based Microarchitecture Workbench", 1995, Computer, vol. 28, issue 2.
- Futamura, Y., Partial Evaluation of Computation Process: an Approach to a Compiler-Compiler, Higher-Order and Symbolic Computation 12, 391-391. 1999 (updated and revised version of Partial Evaluation of Computation Process: an Approach to a Compiler-Compiler, Systems, Computers, Controls, vol. 2(5).
- Halambi, A. et al., Expression: A LAnguage for Architecture Exploration through Compiler-Simulator Retargetability, Date 1999.