Instruction-set architecture simulation techniques using just in time compilation
Abstract
A method of simulating a program. Compiled and interpretive techniques are combined into a just-in-time cached compiled technique. When an instruction of a program simulation is to be executed at run-time, a table of compiled instructions is accessed to determine whether compiled data for the instruction is stored in the table. If the compiled data is not therein, the instruction is compiled and stored in the table. The compiled data is returned to a simulator that is executing the program simulation. In another embodiment, before storing new information in the table, another table may be consulted to determine if the location to which the new information is to be stored is protected. If the table location is protected, the new information is not stored in the table. Rather, the new information is simply passed on to the simulator.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of simulating a program comprising: determining if compiled data is stored at an address in a memory table, in response to a request from a simulator at run-time for compiled data of a given instruction; compiling said given instruction and storing said given compiled data of said given instruction at said address in said memory table, if said compiled data is not stored at said location in said memory table; determine if said given instruction, has changed from a previous execution of an instruction having compiled data at said address in said memory table, if said compiled data is s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Bedichek, R., "Some Efficient Architecture Simulation Techniques", 1990, 12 pages.
- Braun, G. et al., "Using Static Scheduling Techiques for the Retargeting of High Speed, Compiled Simulators for Embedded Processors From an Abstract Machine Description," In Proc. of the Int. Symposium on System Synthesis, ISSS'01, ACM, Oct. 1-3, 2001, pp. 57-62.
- Cmelik, B. et al. "Shade: A Fast Instruction-Set Simulator for Execution Profiling", SIGMENTRICS 94-5, ACM 1994, pp. 128-137.
- Ebciouglu, K. et al. "Dynamic Binary Translation and Optimization", IEEE Transactions on Computers, Jun. 2001, pp. 529-548, vol. 50, No. 6.
- Engel, F. et al., "A Generic Tool Set for Application Specific Processor Architectures," In Proc. of the Int. Workshop on Hw/SW Codesign, 1999, 5 pages.