首页> 外国专利> System and method for branch prediction using two branch history tables and presetting a global branch history register

System and method for branch prediction using two branch history tables and presetting a global branch history register

机译:使用两个分支历史记录表并预设全局分支历史记录寄存器进行分支预测的系统和方法

摘要

A method and system for branch prediction are provided herein. The method includes executing a program, wherein the program comprising multiple procedures, and setting bits in a taken branch history register to indicate whether a branch is taken or not taken during execution of instructions in the program. The method further includes the steps of calling a procedure in the program and overwriting, responsive to calling the procedure, the contents of the taken branch history register to a start address for the procedure.
机译:本文提供了一种用于分支预测的方法和系统。该方法包括执行程序,其中该程序包括多个过程,以及在采用的分支历史寄存器中设置位以指示在程序中的指令执行期间是否采用了分支。该方法还包括以下步骤:在程序中调用一个过程,并响应于调用该过程,将获取的分支历史寄存器的内容覆盖到该过程的起始地址。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号