首页> 外国专利> Reliability threshold-based counter-branch path execution for branch prediction

Reliability threshold-based counter-branch path execution for branch prediction

机译:基于可靠性阈值的分支分支路径执行以进行分支预测

摘要

Embodiments relate to confidence threshold-based opposing path execution for branch prediction. An aspect includes determining a branch prediction for a first branch instruction that is encountered during execution of a first thread, wherein the branch prediction indicates a primary path and an opposing path for the first branch instruction. Another aspect includes executing the primary path by the first thread. Another aspect includes determining a confidence of the branch prediction and comparing the confidence of the branch prediction to a confidence threshold. Yet another aspect includes, based on the confidence of the branch prediction being less than the confidence threshold, starting a second thread that executes the opposing path of the first branch instruction, wherein the second thread is executed in parallel with the first thread.
机译:实施例涉及用于分支预测的基于置信度阈值的相对路径执行。一个方面包括确定在第一线程的执行期间遇到的第一分支指令的分支预测,其中该分支预测指示该第一分支指令的主要路径和相对路径。另一方面包括通过第一线程执行主路径。另一方面包括确定分支预测的置信度,并将分支预测的置信度与置信度阈值进行比较。又一方面包括基于分支预测的置信度小于置信度阈值,启动执行第一分支指令的相反路径的第二线程,其中第二线程与第一线程并行执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号