首页> 外国专利> BRANCH PREDICTOR THAT USES MULTIPLE BYTE OFFSETS IN HASH OF INSTRUCTION BLOCK FETCH ADDRESS AND BRANCH PATTERN TO GENERATE CONDITIONAL BRANCH PREDICTOR INDEXES

BRANCH PREDICTOR THAT USES MULTIPLE BYTE OFFSETS IN HASH OF INSTRUCTION BLOCK FETCH ADDRESS AND BRANCH PATTERN TO GENERATE CONDITIONAL BRANCH PREDICTOR INDEXES

机译:在指令块抓取地址和分支模式的哈希中使用多个字节偏移的分支预测器,以生成条件分支预测器索引

摘要

A branch predictor has a block address useable to access a block of instruction bytes of an instruction cache and first/second byte offsets within the block of instruction bytes. Hashing logic hashes a branch pattern and respective first/second address formed from the block address and the respective first/second byte offsets to generate respective first/second indexes. A conditional branch predictor receives the first/second indexes and in response provides respective first/second direction predictions of first/second conditional branch instructions in the block of instruction bytes. In one embodiment, a branch target address cache (BTAC) provides the byte offsets, and the first/second direction predictions are statically associated with first/second target addresses also provided by the BTAC. Alternatively, the byte offsets are predetermined values, and the first/second direction predictions are dynamically associated with the first/second target addresses based on the relative sizes of the byte offsets provided by the BTAC.
机译:分支预测器具有可用于访问指令高速缓存的指令字节块的块地址以及该指令字节块内的第一/第二字节偏移。散列逻辑对由块地址和相应的第一/第二字节偏移形成的分支模式和相应的第一/第二地址进行哈希处理,以生成相应的第一/第二索引。条件分支预测器接收第一/第二索引,并且作为响应,在指令字节块中提供第一/第二条件分支指令的相应第一/第二方向预测。在一个实施例中,分支目标地址高速缓存(BTAC)提供字节偏移,并且第一/第二方向预测与也由BTAC提供的第一/第二目标地址静态地关联。替代地,字节偏移是预定值,并且基于BTAC提供的字节偏移的相对大小,将第一/第二方向预测与第一/第二目标地址动态地关联。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号