首页> 外国专利> Speculative - previous history - mechanism in a branch target buffer

Speculative - previous history - mechanism in a branch target buffer

机译:推测目标-以前的历史-分支目标缓冲区中的机制

摘要

A branch prediction mechanism that maintains both speculative history (25) and actual history (22) for each branch instruction in a branch target buffer. The actual branch history (22) contains the branch history for fully resolved occurrences of the branch instruction. The speculative branch history (25) contains the actual history (22) plus 'history' of recent branch predictions for the branch. If the speculative branch history (25) contains any recent predictions, then a speculation bit (24) is set. When the speculative bit (24) is set, this indicates that there is speculative history (25) for a branch. Therefore, when the speculation bit (24) is set the speculative history (25) is used to make branch predictions. If a misprediction is made for the branch, the speculative bit (24) is cleared since the speculative history (25) contains inaccurate branch history.
机译:分支预测机制为分支目标缓冲区中的每个分支指令维护推测历史(25)和实际历史(22)。实际的分支历史记录(22)包含分支历史记录,用于完全解决分支指令的发生。推测分支历史记录(25)包含实际历史记录(22)以及该分支的最近分支预测的“历史”。如果推测分支历史(25)包含任何最近的预测,则设定推测比特(24)。当推测位(24)被置位时,这表明分支存在推测历史(25)。因此,当设置推测位(24)时,使用推测历史(25)进行分支预测。如果对分支做出错误预测,则由于推测历史记录(25)包含不正确的分支历史记录,因此清除推测比特(24)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号