Patents
US 8,615,749 B2#40862975 Most CitedExpiredUnited States (USPTO)Utility

Execution control during program code conversion

2Forward Citations (#40862975 Global)
0.1/yrCitation Velocity (#38886641 Global)
0.99Citation PageRank (#42208819 Global)
24Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (24)

PatentTitleYearCitations
US 5,452,456 AApparatus for executing a plurality of program segments having different object code types in a single program or processor environment199557
JP H08123697 AEmulation speeding-up system—9
US 5,546,557 ASystem for storing and managing plural logical volumes in each of several physical volumes including automatically creating logical volumes in peripheral data storage subsystem1996240
US 5,590,332 AGarbage collection, tail recursion and first-class continuations in stack-oriented languages1996101
JP H1097431 ADevice and method for simulation, and computer-readable recording medium—7
JP H1124940 AEmulation processing system—8
JP H11272476 AMethod and device for dynamically optimizing byte-coded program—8
US 6,031,988 ASimulation equipment and simulation method and computer readable recording medium200010
WO 0,022,521 A1Program code conversion—37
JP 2000172512 AMethod for executing byte code and data processing system—12
US 6,205,545 B1Method and apparatus for using static branch predictions hints with dynamically translated code traces to improve performance2001111
US 6,223,339 B1System, method, and product for memory management in a dynamic translator200169
US 6,237,141 B1Method and apparatus for dynamically optimizing byte-coded programs200167
US 6,324,687 B1Method and apparatus to selectively control processing of a method in a java virtual machine200142
US 2002100030 A1Program code conversion—28
US 2002104075 A1Low overhead speculative selection of hot traces in a caching dynamic translator—41
US 2003088862 A1Instrumentation of code having predicated branch-call and shadow instructions—17
EP 1,316,882 A2System and method for emulating code—25
US 2005015781 A1Method and apparatus for performing native binding—44
US 2005015758 A1Shared code caching method and apparatus for program code conversion—72
JP 2006524382 Aインタープリタの最適化をプログラム・コード変換の間に実行する方法及び装置—7
JP 2007531075 Aプログラム・コードを変換するための共用コード・キャッシングの方法および装置—5
US 7,805,710 B2Shared code caching for program code conversion201042
US 8,108,842 B2Method and apparatus for performing native binding20123

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 .