首页> 外国专利> 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).
机译:为翻译器装置提供程序代码(17)的解释和翻译功能,其中在确定主题程序代码(17)的解释被认为是更有益的情况下,而不是翻译主题程序代码(17)。转换器(19)应用解释算法来确定是否应当解释或翻译主题程序代码(17)的基本块。首先从主题程序代码的整个指令集中选择解释器功能支持的特定指令主题(17)。将对基本块进行解释:1)如果确定基本块内的所有指令都在解释器功能支持的指令子集中,并且2)如果基本块的执行计数低于转换阈值。如果不满足这两个条件中的任何一个,则基本块由翻译器(19)翻译。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号