首页> 外国专利> GLOBAL BRANCH PREDICTION USING BRANCH AND FETCH GROUP HISTORY

GLOBAL BRANCH PREDICTION USING BRANCH AND FETCH GROUP HISTORY

机译:使用分公司和FETCH集团历史的全球分公司预测

摘要

This disclosure includes a method for performing branch prediction by a processor having an instruction pipeline. The processor speculatively updates a global history register having fetch group history and branch history, fetches a fetch group of instructions, and assigns a global history vector to the instructions. The processor predicts any branches in the fetch group using the global history vector and a predictor, and evaluates whether the fetch group contains a predicted taken branch. If the fetch group contains a predicted taken branch, the processor flushes subsequently fetched instructions in the pipeline following the predicted taken branch, repairs the global history register to the global history vector, and updates the global history register based on branch prediction information. If the fetch group does not contain a predicted taken branch, the processor updates the global history register with a branch history value for each branch in the fetch group.
机译:本公开包括一种用于由具有指令流水线的处理器执行分支预测的方法。处理器推测地更新具有获取组历史和分支历史的全局历史寄存器,获取指令的获取组,并将全局历史矢量分配给指令。处理器使用全局历史向量和预测变量预测获取组中的任何分支,并评估获取组是否包含预测的采用分支。如果提取组包含预测的采用分支,则处理器将在预测的采用分支之后刷新流水线中随后提取的指令,将全局历史寄存器修复为全局历史向量,并根据分支预测信息更新全局历史寄存器。如果获取组不包含预测的采用分支,则处理器使用获取组中每个分支的分支历史值更新全局历史寄存器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号