发明名称 EFFICIENT EMULATION FOR PSEUDO-WRAPPED CALLBACK HANDLING IN BINARY TRANSLATION SOFTWARE
摘要 Systems and methods may provide efficient emulation for pseudo-wrapped callback (PWC) handling in binary translation software. The systems and methods may provide a process virtual machine (PVM) that includes an ISA emulator and PVM runtime configured to identify a target ISA wrapper (TW) as a unique representation of the target ISA code (TB), install an additional translation index entry that directly maps an Instruction Pointer (IP) for TW to a translation of a source ISA code B (SB). The PVM may also an emulation “fast path” that allows the emulation to bypass the trapping of TW and jump to SB's emulation without breaking the emulation flow (e.g., in instances where SB's translation is already available). The PVM may thereby improve performance by removing the context switch from the executor to the PVM runtime for PWC callback emulation.
申请公布号 US2015379169(A1) 申请公布日期 2015.12.31
申请号 US201414318558 申请日期 2014.06.27
申请人 WU YONG;LIN XIAO DONG;JIN YIHUA 发明人 WU YONG;LIN XIAO DONG;JIN YIHUA
分类号 G06F17/50;G06F9/455 主分类号 G06F17/50
代理机构 代理人
主权项 1. An apparatus to execute an application implemented at least partially in a source instruction set architecture, the apparatus comprising: a processor and memory arrangement having a target instruction set architecture; and a process virtual machine including: an instruction set architecture emulator configured to at least partially maintain an execution context of a source instruction set architecture, anda process virtual machine runtime, in communication with the instruction set architecture emulator, to at least partially maintain an execution of a target instruction set architecture library, wherein the process virtual machine is configured to bypass a trapping of a target wrapper and proceed to an emulation of the source instruction set architecture code.
地址 Shanghai CN