Retargetable Instruction Set Simulators
    1.
    发明申请
    Retargetable Instruction Set Simulators 有权
    可重定向指令集模拟器

    公开(公告)号:US20070276646A1

    公开(公告)日:2007-11-29

    申请号:US10599593

    申请日:2004-09-30

    IPC分类号: G06F9/45

    CPC分类号: G06F9/45504

    摘要: Methods for simulating an instruction set architecture (ISA) with a instruction set simulator (ISS) are provided. One exemplary embodiment of the methods includes fetching a first decoded instruction during a run time, where the decoded instruction is decoded from an original instruction in a target application program during a compile time preceding the run time. The decoded instruction can designate a template configured to implement the functionality of the original instruction. The method also preferably includes determining whether the fetched instruction is modified from the original instruction and then executing the designated template if the instruction was not modified. The method can also include decoding the original instruction during the compile time by selecting a template corresponding to the original instruction and then customizing the template based on the data in original instruction. The method can also include optimizing the customized template during the compile time.

    摘要翻译: 提供了使用指令集模拟器(ISS)来模拟指令集体系结构(ISA)的方法。 所述方法的一个示例性实施例包括在运行时间期间获取第一解码指令,其中在运行时间之前的编译时间期间从目标应用程序中的原始指令解码解码指令。 解码的指令可以指定被配置为实现原始指令的功能的模板。 该方法还优选地包括确定所获取的指令是否从原始指令修改,然后如果指令未被修改则执行指定的模板。 该方法还可以包括在编译期间通过选择与原始指令相对应的模板来解码原始指令,然后基于原始指令中的数据自定义模板。 该方法还可以包括在编译期间优化自定义模板。