首页> 外国专利> 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.
机译:函数由第一应用程序二进制接口(ABI)和本机第一指令集架构(ISA)的第二ABI编译。 第二ABI定义了未超过外部第二ISA的第三ABI预期的上下文数据,并使用映射到第二ISA的寄存器的第一ISA的寄存器子集。 在使用第一和第二ABIS编译时,使用寄存器子集在第二个ABI中导致某些功能可折叠。 该函数的第一和第二编译版本根据编译版本是否匹配标识为可折叠。 当它们不可折叠时,第一和第二编译版本都被发射到二进制文件中,并且当它们可折叠时,仅在二进制文件中仅发射到二进制文件中的一个。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号