首页>
外国专利>
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.
展开▼