首页> 外文期刊>ACM Transactions on Architecture and Code Optimization >Leveraging Strength-Based Dynamic Information Flow Analysis to Enhance Data Value Prediction
【24h】

Leveraging Strength-Based Dynamic Information Flow Analysis to Enhance Data Value Prediction

机译:利用基于强度的动态信息流分析来增强数据价值预测

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

摘要

Value prediction is a technique to increase parallelism by attempting to overcome serialization constraints caused by true data dependences. By predicting the outcome of an instruction before it executes, value prediction allows data dependent instructions to issue and execute speculatively, hence increasing parallelism when the prediction is correct. In case of a misprediction, the execution is redone with the corrected value. If the benefit from increased parallelism outweighs the misprediction recovery penalty, overall performance could be improved. Enhancing performance with value prediction therefore requires highly accurate prediction methods. Most existing general value prediction techniques are local, that is, future outputs of an instruction are predicted based on outputs from previous executions of the same instruction. In this article, we investigate leveraging strength-based dynamic information flow analysis to enhance data value prediction. We use dynamic information flow analysis (DIFA) to determine when a specific value predictor can perform well and even outperform other predictors. We apply information theory to mathematically prove the validity and benefits of correlating value predictors. We also introduce the concept of the linear value predictors, a new technique that predicts a new value from another one using a linear relation. We finally present a variant of stride predictor that we call update stride. We then conduct an empirical analysis using Pin, a dynamic binary instrumentation tool, and DynFlow, a dynamic information flow analysis tool, that we apply to programs from the SPECjvm2008 and Siemens benchmarks. Our empirical measurements support our mathematical theory and allow us to make important observations on the relation between predictability of data values and information flow. Our analysis and empirical results show that the values of a set of selected variables can be predicted with a very high accuracy, up to 100%. Such prediction is based on the previous history and/or the values of one or more other source variables that have strong information flow into the predicted variable. Using our selection criteria, we show that a DIFA-directed predictor outperforms hardware value prediction for all subject programs, and sometimes by a significant margin. This was observed even when using an ideal tagged hardware value prediction table that does not suffer from aliasing or capacity misses.
机译:值预测是一种通过尝试克服由真实数据相关性引起的序列化约束来提高并行度的技术。通过在指令执行之前预测指令的结果,值预测允许依赖数据的指令以推测方式发布和执行,从而在预测正确时提高了并行度。如果发生错误预测,将使用更正后的值重做执行。如果增加并行性带来的好处超过了错误预测的恢复损失,则可以提高整体性能。因此,通过值预测来提高性能需要高精度的预测方法。大多数现有的通用值预测技术都是本地的,也就是说,基于同一条指令先前执行的输出来预测一条指令的未来输出。在本文中,我们研究利用基于强度的动态信息流分析来增强数据值预测。我们使用动态信息流分析(DIFA)来确定何时特定值预测变量可以很好地执行甚至超越其他预测变量。我们应用信息论以数学方式证明相关值预测器的有效性和好处。我们还介绍了线性值预测器的概念,这是一种使用线性关系从另一个预测新值的新技术。最后,我们提出了步幅预测变量的一种变体,称为更新步幅。然后,我们使用动态二进制仪器工具Pin和动态信息流分析工具DynFlow进行经验分析,将其应用于SPECjvm2008和Siemens基准测试中的程序。我们的经验测量结果支持我们的数学理论,并允许我们对数据值的可预测性与信息流之间的关系进行重要观察。我们的分析和经验结果表明,一组选定变量的值可以非常高的准确性进行预测,最高可达100%。这种预测是基于先前的历史记录和/或一个或多个其他源变量的值,这些变量具有强大的信息流入预测变量。使用我们的选择标准,我们表明,针对所有主题程序的DIFA定向预测器的性能优于硬件价值的预测,有时甚至要高得多。即使使用不带混叠或容量丢失的理想的带标签的硬件值预测表时,也可以观察到这一点。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号