Execution control during program code conversion
Abstract
An execution control method is described for use in a translator ( 19 ) which converts subject code ( 17 ) into target code ( 21 ). The translator ( 19 ) includes a translator trampoline function ( 191 ) which is called from a translator run loop ( 190 ) and which in turn calls either to a translator code generator ( 192 ) to generate target code, or else calls previously generated target code ( 212 ) for execution. Control then returns to the translator trampoline function ( 191 ) to make a new call, or returns to the translator run loop ( 190 ). Other aspects include making context switches through the trampoline function ( 191 ) and setting first and second calling conventions either side of the trampoline function ( 191 ). Jumping directly or indirectly between target code blocks ( 212 ) during execution is also described.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of execution control for use during program code conversion of a subject program into target code executable by a target processor, said method comprising: (a) providing a translator run loop which sets a subject block in the subject program as a current subject block; (b) calling a translator trampoline function from the translator run loop; (c) without returning to the translator run loop, calling from the translator trampoline function either to a translator code generator function to generate and store a target code block from the current subject block, or else calling and executi
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 (24)
Non-Patent Literature (5)
- "Feature Article 1; Java will be so fast!", Monthly Publication; Java World, IDG Communications, Inc., vol. 2, No. 7, pp. 40-51, Jul. 1, 1998.
- "Intel Itanium 2 Processor Reference Manual for Software Development and Optimization", Doc. #251110-003, May 2004, Chapter 3. Available at http://www.intel.com.
- "Intel Itanium Processor Reference Manual for Software Optimization", Doc. # 245473-003, Nov. 2001, Chapter 3. Available at http://www.intel.com.
- Aycock, A brief history of just-in-time, ACM Computing Surveys, vol. 35, No. 2, Jun. 2003, pp. 97-113.
- K. Scott, "Overhead Reduction Techniques for Software Dynamic Translation", 2004, pp. 1-8 [online] [retrieved on Aug. 7, 2013]. Retrieved from .