首页> 外国专利> Method and apparatus for performing binary translation method and apparatus for performing binary translation

Method and apparatus for performing binary translation method and apparatus for performing binary translation

机译:用于执行二进制翻译的方法和设备用于执行二进制翻译的方法和设备

摘要

A computer system for executing a binary image conversion system which converts instructions from a instruction set of a first, non native computer system to a second, different, native computer system, includes an run-time system which in response to a non-native image of an application program written for a non-native instruction set provides an native instruction or a native instruction routine. The run-time system collects profile data in response to execution of the native instructions to determine execution characteristics of the non-native instruction. Thereafter, the non-native instructions and the profile statistics are fed to a binary translator operating in a background mode and which is responsive to the profile data generated by the run-time system to form a translated native image. The run-time system and the binary translator are under the control of a server process. The non-native image is executed in two different environments with first portion executed as an interpreted image and remaining portions as a translated image. The run-time system includes an interpreter which is capable of handling condition codes corresponding to the non-native architecture. A technique is also provided to jacket calls between the two execution environments and to support object based services. Preferred techniques are also provided to determine interprocedural translation units. Further, intermixed translation/optimization techniques are discussed.
机译:一种用于执行二进制图像转换系统的计算机系统,该系统将指令从第一非本地计算机系统的指令集转换为第二不同本地计算机系统,包括响应于非本地图像的运行时系统。为非本机指令集编写的应用程序的代码提供本机指令或本机指令例程。运行时系统响应于本机指令的执行来收集简档数据,以确定非本机指令的执行特性。此后,将非本机指令和配置文件统计信息馈送到以后台模式运行的二进制翻译器,该二进制翻译器响应于运行时系统生成的配置文件数据以形成翻译后的本地图像。运行时系统和二进制转换器在服务器进程的控制下。非本地图像在两个不同的环境中执行,其中第一部分作为解释图像执行,其余部分作为翻译图像执行。运行时系统包括一个解释器,该解释器能够处理与非本机体系结构相对应的条件代码。还提供了一种在两个执行环境之间进行调用并支持基于对象的服务的技术。还提供了确定过程间翻译单元的优选技术。此外,讨论了混合翻译/优化技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号