Program code conversion
Abstract
A method of dynamic real time translation of first program code written for a first programmable machine into second program code (target code) for running on a second programmable machine employing run time generation of an intermediate representation of the first program code. Upon first encountering a given portion of program code, only the target code necessary to execute that portion of program code under a prevailing set of entry conditions is initially generated and stored. When the same portion of program code is again encountered, a determination is made as to whether intermediate representation corresponding to a second subsequent set of conditions has been generated. If not, the target code necessary to execute the same portion of program code under that second set of conditions is generated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 22.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of generating an intermediate representation of program code, the method comprising the computer implemented steps of: on an initial translation of a given portion of program code, generating and storing only intermediate representation which is required to execute that portion of program code with a prevailing set of conditions; and whenever subsequently the same portion of the program code is entered, determining whether the prevailing set of conditions are now different, subsequent conditions, and if no intermediate representation compatible with the subsequent conditions has previ
- Claim 2Depends on #1
The method according to claim 1 , wherein the conditions are entry conditions, and the method comprises the comput
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 22 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Register Assignment Technique in Computer Emulation," IBM Technical Disclosure Bulletin.US.IBM. Corp. New York, V. 37, No. 2A, Feb. 1994, p. 157.
- ADL-Tabatabai A. R., et al., "Fast Effective Code Generation in a Just-in-Time Java Compiler," ACM Sigplan Notices, US, Association for Computing Machinery, NY, vol. 33, No. 5, May 1998, pp. 280-290.
- Afzal, T., et al., "Motorola PowerPC Migration Tools-Emulation and Translation," Digest of Papers of the Computer society Computer Conference Compcon, US, Los Alamitos, IEEE Comp. Soc. Press, vol. Conf. 41, Feb. 25-28, 1996 pp. 145-150.
- Aho, et al., "Chapter 10: Code Optimization," Compilers- Principles, Techniques, and Tools, 603-722 (1986).
- Aho, et al., "Chapter 9: Code Generation," Compilers- Principles, Techniques, and Tools, 522-584 (1986).