首页> 外文会议>IEEE International Symposium on High Performance Computer Architecture >Value Based BTB Indexing for Indirect Jump Prediction
【24h】

Value Based BTB Indexing for Indirect Jump Prediction

机译:基于值的间接跳转预测的BTB索引

获取原文

摘要

History-based branch direction predictors for conditional branches are shown to be highly accurate. Indirect branches however, are hard to predict as they may have multiple targets corresponding to a single indirect branch instruction. We propose the Value Based BTB Indexing (VBBI), a correlation-based target address prediction scheme for indirect jump instructions. For each static hard-to-predict indirect jump instruction, the compiler identifies a 'hint-instruction', whose output value strongly correlates with the target address of the indirect jump instruction. At run time, multiple target addresses of the indirect jump instruction are stored and subsequently accessed from the BTB at different indices computed using the jump instruction PC and the hint-instruction output values. In case the hint-instruction has not finished its execution when the jump instruction is fetched, a second and more accurate target address prediction is made when the hint-instruction output is available, thus reducing the jump misprediction penalty. We compare our design to the regular BTB design and the best previously proposed indirect jump predictor, the tagged target cache (TTC). Our evaluation shows that the VBBI scheme improves the indirect jump target prediction accuracy by 48% and 18%, compared with the baseline BTB and TTC designs, respectively. This results in average performance improvement of 16.4% over the baseline BTB scheme, and 13% improvement over the TTC predictor. Out of this performance improvement 2% is contributed by target prediction overriding which is accurate 96% of the time.
机译:条件分支的基于历史的分支方向预测器被显示为高度准确。然而,间接分支是难以预测,因为它们可以具有对应于单个间接分支指令的多个目标。我们提出了基于值的BTB索引(VBBI),是基于相关的基于相关的目标地址预测方案,用于间接跳转指令。对于每个静态难以预测的间接跳转指令,编译器识别一个“提示指令”,其输出值与间接跳转指令的目标地址强烈相关。在运行时,存储间接跳转指令的多个目标地址并随后在使用跳转指令PC和提示指令输出值计算的不同索引处从BTB访问。在提取跳转指令时,提示指令尚未完成其执行,当提示指令输出可用时,使第二和更准确的目标地址预测进行,从而降低了跳转错误规定的惩罚。我们将设计与常规BTB设计和先前提出的间接跳转预测器,标记目标缓存(TTC)的设计进行比较。我们的评价结果​​表明,与基线BTB和TTC设计分别相比,VBBI方案将间接跃升目标预测精度提高了48%和18%。这导致基线BTB方案的平均性能提高16.4%,TTC预测器的改善13%。出于这种性能改善2%是通过目标预测的贡献,这是准确的96%的时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号