首页> 外国专利> A processor configured to selectively free physical registers during instruction retirement

A processor configured to selectively free physical registers during instruction retirement

机译:处理器,配置为在指令退出期间有选择地释放物理寄存器

摘要

A processor employing a map unit including register renaming hardware is shown. The map unit may assign virtual register numbers to source registers by scanning instruction operations to detect intraline dependencies. Subsequently, physical register numbers are mapped to the source register numbers responsive to the virtual register numbers. The map unit may stores (e.g. in a map silo) a current lookahead state corresponding to each line of instruction operations which are processed by the map unit. Additionally, the map unit stores an indication of which instruction operations within the line update logical registers, which logical registers are updated, and the physical register numbers assigned to the instruction operations. Upon detection of an exception condition for an instruction operation with a line, the current lookahead state corresponding to the line is restored from the map silo. Additionally, physical register numbers corresponding to instruction operations within the line which are prior to the instruction operation experiencing the exception are restored into the current lookahead state. The map unit may use the same physical register to store both a condition code result and an integer result. The physical register number identifying the physical register is recorded for both the condition code register and the integer register. The map unit pops the previous renames from the architected renames block upon retiring one or more instruction operations. The popped physical register numbers are cammed against the updated architectural state. If a cam match is detected, the popped physical register is not freed.
机译:示出了采用包括寄存器重命名硬件的映射单元的处理器。映射单元可以通过扫描指令操作以检测线内依赖性来将虚拟寄存器号分配给源寄存器。随后,响应于虚拟寄存器号,物理寄存器号被映射到源寄存器号。地图单元可以存储(例如在地图筒仓中)与地图单元处理的指令操作的每一行相对应的当前超前状态。另外,映射单元存储关于行更新逻辑寄存器内的哪些指令操作,更新了哪些逻辑寄存器以及分配给指令操作的物理寄存器号的指示。在检测到针对使用行的指令操作的异常条件时,从映射筒仓恢复与该行相对应的当前超前状态。另外,在指令操作经历异常之前,与该行内的指令操作相对应的物理寄存器号被恢复为当前的超前状态。映射单元可以使用相同的物理寄存器来存储条件代码结果和整数结果。标识物理寄存器的物理寄存器号记录在条件代码寄存器和整数寄存器中。当退出一个或多个指令操作时,映射单元会从架构的重命名块中弹出先前的重命名。弹出的物理寄存器号与更新的体系结构状态相对应。如果检测到凸轮匹配,则不会释放弹出的物理寄存器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号