Method and system for minimizing the number of cycles required to
execute semantic routines
    1.
    发明授权
    Method and system for minimizing the number of cycles required to execute semantic routines 失效
    用于最小化执行语义例程所需的周期数的方法和系统

    公开(公告)号:US5732235A

    公开(公告)日:1998-03-24

    申请号:US591291

    申请日:1996-01-25

    IPC分类号: G06F9/318 G06F9/30

    摘要: A system and method for reducing the cycle time necessary to execute semantic routines in a processor that emulates guest instructions. Each of the semantic routines includes a block of host instructions for performing the function of the corresponding guest instruction, and the last instruction in each of the semantic routines is a branch instruction. The method and system first determines the block length of each of the semantic routines. When a first guest instruction is encountered, the block of instructions in a first semantic routine corresponding to a guest instruction is executed. The block length of first semantic routine is then used to determine when to fetch a second semantic routine without fetching and decoding the branch instruction in the first semantic routine, thereby increasing emulation performance.

    摘要翻译: 一种用于减少在模拟客户指令的处理器中执行语义例程所需的周期时间的系统和方法。 每个语义例程包括用于执行相应来宾指令的功能的主机指令块,并且每个语义例程中的最后一条指令是分支指令。 该方法和系统首先确定每个语义例程的块长度。 当遇到第一访客指令时,执行对应于访客指令的第一语义程序中的指令块。 然后,第一语义例程的块长度用于确定何时获取第二语义例程而不在第一语义例程中取出和解码分支指令,从而增加仿真性能。

    Method and system for emulating instructions by performing an operation
directly using special-purpose register contents
    2.
    发明授权
    Method and system for emulating instructions by performing an operation directly using special-purpose register contents 失效
    通过直接使用专用寄存器内容进行操作来仿真指令的方法和系统

    公开(公告)号:US5758140A

    公开(公告)日:1998-05-26

    申请号:US581793

    申请日:1996-01-25

    CPC分类号: G06F9/30167 G06F9/30174

    摘要: A system and method for improving the performance of a processor that emulates a guest instruction where the guest instruction includes a first and second operand. The first operand is stored in a general purpose register, and the second operand is stored in a special-purpose register. The method and system provides a host instruction that performs an operation using the first operand and the second operand without moving the second operand from the special-purpose register into the general purpose register. This reduces the number of instructions in the semantic routines necessary to operate on immediate data from guest instructions and increases emulation performance.

    摘要翻译: 一种用于提高仿真访客指令的处理器的性能的系统和方法,其中所述访客指令包括第一和第二操作数。 第一个操作数存储在通用寄存器中,第二个操作数存储在专用寄存器中。 该方法和系统提供主机指令,其使用第一操作数和第二操作数执行操作,而不将第二操作数从专用寄存器移动到通用寄存器中。 这减少了从客户指令对即时数据进行操作所需的语义程序中的指令数量,并增加了仿真性能。

    Method and system for interrupt handling during emulation in a data
processing system
    3.
    发明授权
    Method and system for interrupt handling during emulation in a data processing system 失效
    数据处理系统仿真中的中断处理方法和系统

    公开(公告)号:US5995743A

    公开(公告)日:1999-11-30

    申请号:US935007

    申请日:1997-09-22

    摘要: A processor and method of interrupt handling in a processor which has a native instruction set and emulates guest instructions within a guest instruction set are described. According to the method, in response to occurrence of an interrupt during emulation of a current guest instruction, an indication of a location in memory of the current guest instruction, an indication of a location in memory of a next guest instruction to be emulated, and an indication of a particular native instruction are stored. After an interrupt handler is executed, emulation is resumed by executing native instructions beginning with the particular native instruction. In response to execution of a native instruction of a first type before execution of a native instruction of a second type, the current guest instruction is fetched from memory. In response to execution of a native instruction of the second type before execution of a native instruction of the first type, the next guest instruction is fetched from memory without fetching the current guest instruction.

    摘要翻译: 描述了处理器中的处理器和方法,该处理器具有本地指令集并且模拟客户指令集中的访客指令。 根据该方法,响应于在当前客户指令的仿真期间发生中断,当前客户指令的存储器中的位置的指示,要被仿真的下一个客户指令的存储器中的位置的指示,以及 存储特定本机指令的指示。 执行中断处理程序后,通过以特定的本机指令开始执行本地指令来恢复仿真。 响应于在执行第二类型的本机指令之前执行第一类型的本机指令,从存储器中取出当前的客户指令。 响应于在执行第一类型的本机指令之前执行第二类型的本地指令,从存储器中取出下一个访客指令而不取得当前的客户指令。

    Indirect unconditional branches in data processing system emulation mode
    4.
    发明授权
    Indirect unconditional branches in data processing system emulation mode 失效
    数据处理系统仿真模式中的间接无条件分支

    公开(公告)号:US5870575A

    公开(公告)日:1999-02-09

    申请号:US934644

    申请日:1997-09-22

    IPC分类号: G06F9/455

    CPC分类号: G06F9/45504

    摘要: A processor and method of operating a processor which has a native instruction set and emulates guest instructions within a guest instruction set are described. According to the method, a series of guest instructions including at least one unconditional indirect guest branch instruction is stored in memory. In addition, one or more semantic routines that are formed of native instructions and that may be utilized to emulate the series of guest instructions are stored in memory. For each guest instruction in the series of guest instructions, an entry is stored in a multiple-entry queue in order of receipt. The entry includes an indication of a location in memory of at least one semantic routine. In response to the entries in the multiple-entry queue, the series of guest instructions are emulated in the processor by using the entries to access and execute selected ones of the one or more semantic routines. The semantic routine utilized to emulate a first type of unconditional indirect guest branch instruction calculates a speculative return address, temporarily stores the speculative return address in memory, and initiates fetching at a target address. The semantic routine utilized to emulate a second type of unconditional indirect guest branch instruction retrieves the speculative return address from memory, initiates fetching of guest instructions at the speculative return address, and thereafter calculates a correct return address.

    摘要翻译: 描述了一种处理器和操作处理器的方法,该处理器具有本地指令集并且在来宾指令集内仿真访客指令。 根据该方法,包括至少一条无条件间接访客分支指令的一系列访客指令被存储在存储器中。 此外,由本地指令形成并且可以用于模拟一系列访客指令的一个或多个语义例程被存储在存储器中。 对于一系列访客指令中的每个访客指令,条目按收据顺序存储在多个入口队列中。 该条目包括记忆至少一个语义例程的位置的指示。 响应于多入口队列中的条目,通过使用条目访问和执行一个或多个语义例程中的选定的条目来在处理器中仿真一系列访客指令。 用于模拟第一类型的无条件间接访客分支指令的语义程序计算推测返回地址,将推测返回地址临时存储在存储器中,并且在目标地址发起提取。 用于模拟第二种类型的无条件间接访客分支指令的语义程序从存储器检索推测返回地址,发起在推测返回地址获取访客指令,然后计算正确的返回地址。

    Method and system for selective support of non-architected instructions
within a superscaler processor system utilizing a special access bit
within a machine state register
    5.
    发明授权
    Method and system for selective support of non-architected instructions within a superscaler processor system utilizing a special access bit within a machine state register 失效
    在利用机器状态寄存器内的特殊访问位的超标量处理器系统内选择性地支持非架构指令的方法和系统

    公开(公告)号:US5758141A

    公开(公告)日:1998-05-26

    申请号:US386977

    申请日:1995-02-10

    IPC分类号: G06F9/30 G06F9/318 G06F9/455

    摘要: A method and system for permitting the selective support of non-architected instructions within a superscalar processor system. A special access bit within the system machine state register is provided and set in response to each initiation of an application during which execution of non-architected instructions is desired. Thereafter, each time a non-architected instruction is decoded the status of the special access bit is determined. The non-architected instruction is executed in response to a set state of the special access bit. The illegal instruction program interrupt is issued in response to an attempted execution of a non-architected instruction if the special access bit is not set. In this manner, for example, complex instruction set computing (CISC) instructions may be selectively enabled for execution within a reduced instruction set computing (RISC) data processing system while maintaining full architectural compliance with the reduced instruction set computing (RISC) instructions.

    摘要翻译: 一种用于允许在超标量处理器系统内选择性地支持非架构指令的方法和系统。 系统机器状态寄存器内的特殊访问位被提供和设置为响应于期望执行非架构指令的应用程序的每个启动。 此后,每当非架构化指令被解码时,确定特殊访问位的状态。 响应于特殊访问位的设置状态执行非架构指令。 如果未设置特殊访问位,则响应于非架构化指令的尝试执行而发出非法指令程序中断。 以这种方式,例如,复杂指令集计算(CISC)指令可以选择性地启用以在精简指令集计算(RISC)数据处理系统中执行,同时保持与精简指令集计算(RISC)指令的完全架构符合性。

    Method and system for processing branch instructions during emulation in
a data processing system
    7.
    发明授权
    Method and system for processing branch instructions during emulation in a data processing system 失效
    用于在数据处理系统中仿真期间处理分支指令的方法和系统

    公开(公告)号:US5956495A

    公开(公告)日:1999-09-21

    申请号:US934857

    申请日:1997-09-22

    IPC分类号: G06F9/32 G06F9/455

    摘要: A series of guest instructions including at least one guest branch instruction and other guest instructions are stored in memory. In addition, one or more semantic routines that are formed of native instructions and that may be utilized to emulate the series of guest instructions are stored in memory. For each other guest instruction in the series of guest instructions, an entry is stored in a multiple-entry queue in order of receipt of the other guest instructions. Each entry includes an indication of a location in memory of at least one semantic routine and a condition field indicating conditions that may be set or reset by the associated guest instruction. In response to the entries in the multiple-entry queue, the series of guest instructions are emulated in the processor by using the entries to access and execute selected ones of the one or more semantic routines. In response to detection of a conditional guest branch instruction in the series of guest instructions, a determination is made whether an entry in the multiple-entry queue associated with an instruction preceding the conditional guest branch instruction in the series has a condition field including an indication of a condition upon which the conditional branch instruction depends. If so, the indication is utilized to resolve the conditional guest branch instruction.

    摘要翻译: 包括至少一个客户分支指令和其他访客指令的一系列访客指令被存储在存储器中。 此外,由本地指令形成并且可以用于模拟一系列访客指令的一个或多个语义例程被存储在存储器中。 对于一系列访客指令中的每个其他客人指令,根据接收到其他访客指令的顺序,将条目存储在多个入口队列中。 每个条目包括存储至少一个语义例程的位置的指示和指示可以由相关联的客户指令设置或重置的条件的条件字段。 响应于多入口队列中的条目,通过使用条目访问和执行一个或多个语义例程中的选定的条目来在处理器中仿真一系列访客指令。 响应于一系列访客指令中的条件访客分支指令的检测,确定与该系列中的条件访客分支指令之前的指令相关联的多入口队列中的条目是否具有包括指示的条件字段 条件分支指令所依赖的条件。 如果是,则使用该指示来解析条件访客分支指令。

    Method and system for executing a context-altering instruction without
performing a context-synchronization operation within high-performance
processors
    8.
    发明授权
    Method and system for executing a context-altering instruction without performing a context-synchronization operation within high-performance processors 失效
    用于执行上下文改变指令而不在高性能处理器内执行上下文同步操作的方法和系统

    公开(公告)号:US5898864A

    公开(公告)日:1999-04-27

    申请号:US918059

    申请日:1997-08-25

    IPC分类号: G06F9/38 G06F9/44

    CPC分类号: G06F9/3863 G06F9/3842

    摘要: A method and system for executing a context-altering instruction within a processor are disclosed. The processor has a superscalar architecture that includes multiple pipelines, buffers, registers, and execution units. The processor also includes a machine state register for identifying a context of the processor, and a shadow machine state register in conjunction with the machine state register. During operation, a first state of the machine state register is copied to the shadow machine state register. Instructions are executed in accordance with a context identified by the first state of the machine state register. The first state of the shadow machine state register is subsequently altered to a second state in response to decoding a context-altering instruction. The context-altering instruction and subsequent instructions are then executed in accordance with the second state of the shadow machine state register. Finally, the first state of the machine state register is altered to the second state in response to a completion of the context-altering instruction. As a result context synchronization operations are avoided.

    摘要翻译: 公开了一种用于在处理器内执行上下文更改指令的方法和系统。 处理器具有超标量架构,其包括多个管道,缓冲器,寄存器和执行单元。 处理器还包括用于识别处理器的上下文的机器状态寄存器和与机器状态寄存器一起的影子机状态寄存器。 在运行期间,机器状态寄存器的第一个状态被复制到影子机状态寄存器。 根据由机器状态寄存器的第一状态识别的上下文来执行指令。 响应于解码上下文改变指令,影子机状态寄存器的第一状态随后被改变到第二状态。 然后根据影子机状态寄存器的第二状态执行上下文改变指令和随后的指令。 最后,响应于上下文改变指令的完成,机器状态寄存器的第一状态被改变到第二状态。 因此,避免了上下文同步操作。

    Method and system for enhanced management operation utilizing intermixed
user level and supervisory level instructions with partial concept
synchronization
    9.
    发明授权
    Method and system for enhanced management operation utilizing intermixed user level and supervisory level instructions with partial concept synchronization 失效
    利用混合用户级别和部分概念同步的监督级别指令来增强管理操作的方法和系统

    公开(公告)号:US5764969A

    公开(公告)日:1998-06-09

    申请号:US387149

    申请日:1995-02-10

    CPC分类号: G06F9/461 G06F12/1475

    摘要: A method and system for enhanced system management operations in a superscalar data processing system. Those supervisory level instructions which execute selected privileged operations within protected memory space are first identified as not requiring a full context synchronization. Each time execution of such an instruction is initiated an enable special access (ESA) instruction is executed as an entry point to that instruction or group of instructions. A portion of the machine state register for the data processing system is stored and the machine state register is then modified as follows: a problem bit is set, changing the execution privilege state to "supervisor;" external interrupts are disabled; and access privilege state bit is set; and, a special access mode bit is set, allowing execution of special instructions. The instructions which execute the selected privileged operations within the protected memory space are then executed. A disable special access (DSA) instruction is then executed which restores the bits within the machine state register which were modified during the ESA instruction. The ESA and DSA instructions are implemented without modifying the instruction stream by utilizing user level procedure calls, thereby reducing the overhead of the branch table necessary to determine the desired execution path.

    摘要翻译: 一种用于在超标量数据处理系统中增强系统管理操作的方法和系统。 在受保护的存储器空间内执行所选特权操作的这些监督级指令首先被识别为不需要完整的上下文同步。 每次执行这样的指令时,执行使能特殊访问(ESA)指令作为该指令或指令组的入口点。 存储用于数据处理系统的机器状态寄存器的一部分,然后如下修改机器状态寄存器:设置问题位,将执行特权状态改变为“主管”; 外部中断被禁用; 并设置访问权限状态位; 并设置特殊访问模式位,允许执行特殊指令。 然后执行在受保护的存储器空间内执行所选择的特权操作的指令。 然后执行禁用特殊访问(DSA)指令,其恢复机器状态寄存器中在ESA指令期间被修改的位。 通过利用用户级过程调用来实现ESA和DSA指令而不修改指令流,从而减少确定所需执行路径所需的分支表的开销。

    Integrated circuit chip with modular design
    10.
    发明授权
    Integrated circuit chip with modular design 失效
    集成电路芯片采用模块化设计

    公开(公告)号:US08032849B2

    公开(公告)日:2011-10-04

    申请号:US12130268

    申请日:2008-05-30

    IPC分类号: G06F17/50

    CPC分类号: G06F17/5045

    摘要: Disclosed is a procedure or design approach for functional modules that may be used in connection with a multiprocessor integrated circuit chip. The approach includes keeping the dimensions of each module substantially the same and having the bus, power, clock and I/O connection configured the same on all modules. Further requirements for ease of use are to generalize the capability of each module as much as possible and to decentralize functions such as testing to be primarily performed within each module. The use of such considerations or rules substantially eases the design of a given type of custom chips, and based upon an initial chip design greatly facilitates the design of further custom chips, similar in application, but subsequent to the successful completion of the initial chip. The standardization modules and replication of the modules on a given chip also reduces physical verification time in initial chip design as well as redesign time of the initial chip when requirements for chip capability are redefined or otherwise changed. Any subsequent or further custom chips can include more or less of specific modules based upon already established parameters.

    摘要翻译: 公开了可以与多处理器集成电路芯片结合使用的功能模块的过程或设计方法。 该方法包括保持每个模块的尺寸基本相同,并使总线,电源,时钟和I / O连接在所有模块上配置相同。 对易用性的进一步要求是尽可能地推广每个模块的能力,并将诸如测试之类的功能分散在每个模块内主要执行。 这种考虑或规则的使用大大简化了给定类型的定制芯片的设计,并且基于初始的芯片设计极大地促进了其他定制芯片的设计,其应用类似,但是在初始芯片的成功完成之后。 给定芯片上的标准化模块和模块的复制也减少了初始芯片设计中的物理验证时间,以及在重新定义或改变芯片能力要求时初始芯片的重新设计时间。 任何后续或进一步的定制芯片可以基于已经建立的参数包括或多或少的特定模块。