首页> 外国专利> NATIVE EMULATION COMPATIBLE APPLICATION BINARY INTERFACE FOR SUPPORTING EMULATION OF FOREIGN CODE

NATIVE EMULATION COMPATIBLE APPLICATION BINARY INTERFACE FOR SUPPORTING EMULATION OF FOREIGN CODE

机译:本机仿真兼容的应用程序二进制接口,用于支持外部代码的仿真

摘要

A function is compiled against a first application binary interface (ABI) and a second ABI of a native first instruction set architecture (ISA). The second ABI defines context data not exceeding a size expected by a third ABI of a foreign second ISA, and uses a subset of registers of the first ISA that are mapped to registers of the second ISA. Use of the subset of registers by the second ABI results in some functions being foldable when compiled using both the first and second ABIs. First and second compiled versions of the function are identified as foldable, or not, based on whether the compiled versions match. Both the first and second compiled versions are emitted into a binary file when they are not foldable, and only one of the first or second compiled versions is emitted into the binary file when they are foldable.
机译:根据本机第一指令集体系结构(ISA)的第一个应用程序二进制接口(ABI)和第二个ABI编译函数。第二个ABI定义的上下文数据不超过外部第二个ISA的第三个ABI预期的大小,并使用映射到第二个ISA寄存器的第一个ISA的寄存器子集。第二个ABI使用寄存器子集会导致某些函数在使用第一个和第二个ABI编译时是可折叠的。根据编译版本是否匹配,将函数的第一个和第二个编译版本标识为可折叠或不可折叠。当第一个和第二个编译版本不可折叠时,它们都会发射到二进制文件中,而当第一个或第二个编译版本可折叠时,只有一个会发射到二进制文件中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号