Method and apparatus for performance efficient ISA virtualization using dynamic partial binary translation
    9.
    发明授权
    Method and apparatus for performance efficient ISA virtualization using dynamic partial binary translation 有权
    使用动态部分二进制翻译实现高性能ISA虚拟化的方法和装置

    公开(公告)号:US09141361B2

    公开(公告)日:2015-09-22

    申请号:US13632089

    申请日:2012-09-30

    摘要: Methods, apparatus and systems for virtualization of a native instruction set are disclosed. Embodiments include a processor core executing the native instructions and a second core, or alternatively only the second processor core consuming less power while executing a second instruction set that excludes portions of the native instruction set. The second core's decoder detects invalid opcodes of the second instruction set. A microcode layer disassembler determines if opcodes should be translated. A translation runtime environment identifies an executable region containing an invalid opcode, other invalid opcodes and interjacent valid opcodes of the second instruction set. An analysis unit determines an initial machine state prior to execution of the invalid opcode. A partial translation of the executable region that includes encapsulations of the translations of invalid opcodes and state recoveries of the machine states is generated and saved to a translation cache memory.

    摘要翻译: 公开了用于本地指令集的虚拟化的方法,装置和系统。 实施例包括执行本地指令的处理器核心和第二核心,或者替代地,只有第二处理器核心在执行排除本地指令集的部分的第二指令集时消耗较少的功率。 第二核心解码器检测第二指令集的无效操作码。 微码层拆解器确定是否应翻译操作码。 翻译运行时环境识别包含第二指令集的无效操作码,其他无效操作码和中间有效操作码的可执行区域。 分析单元在执行无效操作码之前确定初始机器状态。 生成可执行区域的部分翻译,其中包括无效操作码的翻译和机器状态的状态恢复的封装,并将其保存到翻译高速缓冲存储器。