首页> 外国专利> Method and system for managing registers in a data processing system supports out-of-order and speculative instruction execution

Method and system for managing registers in a data processing system supports out-of-order and speculative instruction execution

机译:在数据处理系统中管理寄存器的方法和系统支持乱序和推测性指令执行

摘要

A method and a system in a data processing system for managing registers in a register array wherein the data processing system has M architected registers and the register array has greater than M registers. A first physical register address is selected from a group of available physical register addresses in a renamed table in response to dispatching a register-modifying instruction that specifies an architected target register address. The architected target register address is then associated with the first physical register address, and a result of executing the register-modifying instruction is stored in a physical register pointed to by the first physical register address. In response to completing the register-modifying instruction, the first physical address in the rename table is exchanged with a second physical address in a completion renamed table, wherein the second physical address is located in the completion rename table at a location pointed to by the architected target register address. Therefore, upon instruction completion, the completion rename table contains pointers that map architected register addresses to physical register addresses. The rename table maps architected register addresses to physical register addresses for instructions currently being executed, or for instructions that have finished and have not yet been completed. Bits indicating the validity of an association between an architected register address and a physical register address are stored before instructions are speculatively executed following an unresolved conditional branch.
机译:数据处理系统中用于管理寄存器阵列中的寄存器的方法和系统,其中数据处理系统具有M个架构寄存器,并且寄存器阵列具有大于M个寄存器。响应于分派指定架构目标寄存器地址的寄存器修改指令,从重命名表中的一组可用物理寄存器地址中选择第一物理寄存器地址。然后,将所构造的目标寄存器地址与第一物理寄存器地址相关联,并且执行寄存器修改指令的结果被存储在由第一物理寄存器地址指向的物理寄存器中。响应于完成寄存器修改指令,将重命名表中的第一物理地址与完成重命名表中的第二物理地址交换,其中第二物理地址位于完成重命名表中由主机指向的位置。设计目标寄存器地址。因此,在指令完成后,完成重命名表包含将架构的寄存器地址映射到物理寄存器地址的指针。重命名表将体系结构的寄存器地址映射到当前正在执行的指令或已完成但尚未完成的指令的物理寄存器地址。在未解决的条件分支之后以推测方式执行指令之前,会存储指示架构寄存器地址和物理寄存器地址之间关联的有效性的位。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号