首页> 外国专利> Apparatus and method for target address replacement in speculative branch target address cache

Apparatus and method for target address replacement in speculative branch target address cache

机译:在推测分支目标地址缓存中用于目标地址替换的设备和方法

摘要

An apparatus and method in a pipelined microprocessor for replacing one of two target addresses in a branch target address cache (BTAC) line. If only one of the two entries is invalid, the invalid entry is replaced. If both entries are valid, the least recently used entry is replaced. If both entries are invalid, the entry is replaced corresponding to the side of the BTAC, indicated by a global status register, not last written to with an invalid entry. In one embodiment, the global status is updated only if a side is written when both entries are invalid. In another embodiment, the BTAC stores N entries per line, where N is greater than 1. The status register maintains information for determining which of the N sides is least recently written. The least recently written side is chosen for replacement.
机译:流水线微处理器中用于替换分支目标地址缓存(BTAC)线中的两个目标地址之一的设备和方法。如果两个条目中只有一个无效,则替换无效的条目。如果两个条目均有效,则替换最近最少使用的条目。如果两个条目均无效,则该条目将替换为BTAC的那一侧(由全局状态寄存器指示),而不是最后用无效条目写入该条目。在一个实施例中,仅当两个条目均无效时写入一侧时,才更新全局状态。在另一个实施例中,BTAC每行存储N个条目,其中N大于1。状态寄存器维护用于确定N个边中的哪一个最近被写入的信息。选择最近最少写入的一面进行替换。

著录项

  • 公开/公告号US6895498B2

    专利类型

  • 公开/公告日2005-05-17

    原文格式PDF

  • 申请/专利权人 THOMAS C. MCDONALD;TERRY PARKS;

    申请/专利号US20010849800

  • 发明设计人 THOMAS C. MCDONALD;TERRY PARKS;

    申请日2001-05-04

  • 分类号G06F9/40;G06F12/12;

  • 国家 US

  • 入库时间 2022-08-21 22:21:33

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号