Patents
US 7,536,682 B2#3723119 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for performing interpreter optimizations during program code conversion

22Forward Citations (#3723119 Global)
1.3/yrCitation Velocity (#4535301 Global)
3.01Citation PageRank (#7549332 Global)
28Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A translator apparatus is provided with both program code interpreting and translating functionality, where subject program code is interpreted rather than being translated in those situations where interpretation of the subject program code is determined to be more beneficial. The translator applies an interpreting algorithm to determine whether a basic block of subject program code should be interpreted or translated. A particular subject of instructions supported by the interpreter functionality is initially selected from an entire instruction set for the subject program code. A basic block will be interpreted 1) if all of the instructions within a basic block are determined to be within the subset of instructions supported by the interpreter functionality, and 2) if an execution count of the basic block is below a translation threshold. If either of these two conditions are not satisfied, then the basic block is translated by the translator

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 22.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of selectively interpreting or translating program code in a computing environment having a target processor and a memory coupled to the target processor, the program code comprising instructions from the instruction set of a subject processor, the method comprising: decoding said program code; applying an interpreting algorithm to identify whether said program code is interpretable by a simple interpreter, said simple interpreter incapable of interpreting a subset of instructions from the instruction set of the subject processor; if said program code contains only instructions in the

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 5,652,889 AAlternate execution and interpretation of computer program having code at unknown locations due to transfer instructions having computed destination addresses1997103
US 5,751,982 ASoftware emulation system with dynamic translation of emulated instructions for increased processing speed1998170
US 5,768,593 ADynamic cross-compilation system and method1998238
US 5,828,884 AMethod for compiling a software program and executing on a system which converts data between different endian formats199889
US 5,842,017 AMethod and apparatus for forming a translation unit1998216
US 5,867,690 AApparatus for converting data between different endian formats and system and method employing same199971
EP 0,908,819 A2Method and apparatus for dynamically optimizing byte-coded programs—21
US 5,966,539 ALink time optimization with translation to intermediate program and following optimization techniques including program analysis code motion live variable set generation order analysis, dead code elimination and load invariant analysis1999133
US 5,970,236 ACircuit for selectively performing data format conversion199936
US 6,002,879 AMethod for performing common subexpression elimination on a rack-N static single assignment language199964
US 6,021,275 AObject code structure and method for translation of architecture independent program implementations200081
US 6,085,203 AMethod for converting data formats which differ from one another200073
US 6,099,585 ASystem and method for streamlined execution of instructions200014
US 6,189,141 B1Control path evaluating trace designator with dynamically adjustable thresholds for activation of tracing for high (hot) activity and low (cold) activity of flow control2001248
WO 0,127,751 A1Method of changing modes of code generation—9

Non-Patent Literature (5)

  • "Program of MacHack '96 (confirming the publication date of document D1) "'Online! XP002300340, Retrieved from the Internet: URL:www.machack.com/96/Sessions.html> 'retrieved on Oct. 12, 2004.
  • Aho. Compilers: Principles, Techniques and Tools. pp. 463-473, 554-555 and 585-595.
  • Altman et al, IBM Research Report, "BOA: The Architecture of a Binary Translation Processor", Dec; 16, 1999.
  • Chung et al. "Performance Implication of Design Alternatives for Remote Procedure Call Stubs.".
  • Cifuentes C et al: The design of a resourceable and retargetable binary translator: Reverse Engineering, 1999 Proceedings. Sixth Working Conference on Atlanta, GA, USA Oct. 6-8, 1999, Los Alamitos, CA, USA, IEEE Comput. Soc, US Oct. 6, 1999 (Oct. 6, 1999), pp. 280-291, XP010360228, ISBN: 0-7695-0303