首页> 外国专利> Method and apparatus for branch prediction using branch prediction table with improved branch prediction effectiveness

Method and apparatus for branch prediction using branch prediction table with improved branch prediction effectiveness

机译:使用具有改进的分支预测有效性的分支预测表进行分支预测的方法和装置

摘要

The branch prediction using a branch prediction table formed by an associative memory which is applicable to a super scalar processor without causing confusion in the branch prediction. The branch prediction uses a branch prediction table for registering entries, each entry including a branching address, a branch target address, and an instruction position indicating a position of the predicted branch instruction in group of instructions to be executed concurrently, or an entry address indicating a position of each entry in the associative memory of the table. A correctness of the predicted branch instruction is checked by using actual branch target address and/or actual instruction position of actual branch instruction encountered in the actual execution of presently fetched instructions. When the predicted branch instruction is incorrect, instructions fetched at a next processing timing are invalidated and the entry in the table is rewritten.
机译:使用由关联存储器形成的分支预测表的分支预测,该分支预测表适用于超标量处理器,而不会引起分支预测的混乱。分支预测使用分支预测表来注册条目,每个条目包括分支地址,分支目标地址和指示所预测的分支指令在要同时执行的指令组中的位置的指令位置,或者指示表的关联存储器中每个条目的位置。通过使用实际的分支目标地址和/或在实际执行当前获取的指令时遇到的实际分支指令的实际指令位置来检查预测的分支指令的正确性。当预测的分支指令不正确时,在下一个处理时间获取的指令将无效,并且表中的条目将被重写。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号