首页> 外国专利> PROCESSOR AND DATA PROCESSING METHOD INCORPORATING AN INSTRUCTION PIPELINE WITH CONDITIONAL BRANCH DIRECTION PREDICTION FOR FAST ACCESS TO BRANCH TARGET INSTRUCTIONS

PROCESSOR AND DATA PROCESSING METHOD INCORPORATING AN INSTRUCTION PIPELINE WITH CONDITIONAL BRANCH DIRECTION PREDICTION FOR FAST ACCESS TO BRANCH TARGET INSTRUCTIONS

机译:包含条件分支方向预测的指令管道以快速访问分支目标指令的处理器和数据处理方法

摘要

Disclosed are a processor and a processing method incorporating an instruction pipeline with direction prediction (i.e., taken or not taken) for conditional branch instructions. In the embodiments, reading of a branch instruction history table (BHT) and a branch instruction target address cache (BTAC) for branch direction prediction occurs in parallel with the current instruction fetch in order to minimize delay in the next instruction fetch. Additionally, direction prediction is performed in the very next clock cycle based either on an initial direction prediction for the specific instruction, as stored in the BHT, or, if applicable, on a prior entry for the specific instruction in the BTAC. An override bit associated with each entry in the BTAC is the determining factor for whether or the BTAC or BHT is controlling. Override bits in the BTAC can be pre-established based on the branch instruction type in order to ensure prediction accuracy.
机译:公开了一种处理器和处理方法,该处理器和处理方法结合了具有用于条件分支指令的方向预测(即,采用或不采用)的指令管线。在实施例中,为了当前指令取回并行发生读取分支指令历史表(BHT)和分支指令目标地址缓存(BTAC)以进行分支方向预测,以使下一条指令取回的延迟最小。另外,基于在BHT中存储的针对特定指令的初始方向预测,或者如果适用的话,基于BTAC中针对特定指令的先前条目,在接下来的时钟周期中执行方向预测。与BTAC中每个条目相关联的超驰位是BTAC或BHT是否在控制的决定因素。可以基于分支指令类型预先建立BTAC中的替代位,以确保预测准确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号