首页>
外国专利>
METHOD AND APPARATUS FOR PERFORMING INTERPRETER OPTIMIZATIONS DURING PROGRAM CODE CONVERSION
METHOD AND APPARATUS FOR PERFORMING INTERPRETER OPTIMIZATIONS DURING PROGRAM CODE CONVERSION
展开▼
机译:在程序代码转换期间执行解释器优化的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A translator apparatus is provided with both program code (17) interpreting and translating functionality, where subject program code (17) is interpreted rather than being translated in those situations where interpretation of the subject program code (17) is determined to be more beneficial. The translator (19) applies an interpreting algorithm to determine whether a basic block of subject program code (17) 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 (17). 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 (19).
展开▼