首页> 外文期刊>IEEE Transactions on Computers >Linear Branch Entropy: Characterizing and Optimizing Branch Behavior in a Micro-Architecture Independent Way
【24h】

Linear Branch Entropy: Characterizing and Optimizing Branch Behavior in a Micro-Architecture Independent Way

机译:线性分支熵:以微体系结构独立的方式表征和优化分支行为

获取原文
获取原文并翻译 | 示例
           

摘要

In this paper, we propose linear branch entropy, a new metric for characterizing branch behavior. Linear branch entropy is independent of the configuration of a specific branch predictor, but is highly correlated with the branch misprediction rate of any predictor. In particular, we empirically derive a linear relationship between linear branch entropy and branch misprediction rate, which enables predicting miss rates for a range of branch predictors using a single branch entropy profile. Linear branch entropy is more accurate than previously proposed branch classification models, such as taken rate and transition rate. In addition, linear branch entropy provides insight for both analyzing an application’s inherent branch behavior as well as for understanding a branch predictor’s performance for easy-to-predict versus hard-to-predict branches. We present several case studies, ranging from comparing state-of-the-art branch predictors to compiler optimizations. More in particular, we find that the winner of the latest branch predictor competition outperforms the runners-up on easy-to-predict branches, but performs worse on hard-to-predict branches. We also show that using linear branch entropy to guide if-conversion in compilers leads to better performance compared to standard if-conversion heuristics.
机译:在本文中,我们提出了线性支路熵,这是表征支路行为的一种新指标。线性分支熵与特定分支预测变量的配置无关,但与任何预测变量的分支错误预测率高度相关。特别地,我们凭经验推导线性分支熵和分支错误预测率之间的线性关系,这使得能够使用单个分支熵分布来预测一系列分支预测器的未命中率。线性分支熵比以前提出的分支分类模型(如采用率和过渡率)更准确。此外,线性分支熵为分析应用程序固有的分支行为以及了解易于预测和难以预测的分支的预测器性能提供了见识。我们提供了一些案例研究,范围从比较最新的分支预测变量到编译器优化。更具体地说,我们发现最新分支预测器竞赛的获胜者在易于预测的分支上胜过亚军,但在难以预测的分支上表现较差。我们还表明,与标准的if转换启发式方法相比,使用线性分支熵指导编译器中的if转换可带来更好的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号