发明授权
US08527969B2 Systems, methods, and computer programs for dynamic binary translation in an interpreter
有权
用于解释器中动态二进制翻译的系统,方法和计算机程序
- 专利标题: Systems, methods, and computer programs for dynamic binary translation in an interpreter
- 专利标题(中): 用于解释器中动态二进制翻译的系统,方法和计算机程序
-
申请号: US12502301申请日: 2009-07-14
-
公开(公告)号: US08527969B2公开(公告)日: 2013-09-03
- 发明人: Robert Joseph Meyers , Andrew Ward Beale , Loren C. Wilton
- 申请人: Robert Joseph Meyers , Andrew Ward Beale , Loren C. Wilton
- 申请人地址: US PA Blue Bell
- 专利权人: Unisys Corporation
- 当前专利权人: Unisys Corporation
- 当前专利权人地址: US PA Blue Bell
- 代理商 James E. Goepel
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
Various embodiments of systems and methods for dynamic binary translation in an interpreter are disclosed. An embodiment comprises a method for dynamic binary translation in an interpreter. One such method comprises: receiving non-native code comprising a sequence of one or more operators to be interpreted; building a static branch destination table associated with the operators, the static branch destination table specifying a static branch operator that branches to another operator in the sequence and a corresponding memory location to which the static branch operator branches; parsing the sequence of operators and building a cross-reference table that specifies a pointer to an operator function associated with the corresponding operator, an index of the operator in a native code sequence, and a call to a native operator; selecting a dynamic branch code template for the native operator; and based on the static branch table and the cross-reference table, emitting the native code sequence to be executed via a native processor.
公开/授权文献
信息查询