首页> 外文期刊>ACM Transactions on Architecture and Code Optimization >Compiler Techniques to Improve Dynamic Branch Prediction for Indirect Jump and Call Instructions
【24h】

Compiler Techniques to Improve Dynamic Branch Prediction for Indirect Jump and Call Instructions

机译:改进间接跳转和调用指令的动态分支预测的编译器技术

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

摘要

Indirect jump instructions are used to implement multiway branch statements and virtual function calls in object-oriented languages. Branch behavior can have significant impact on program performance, but fortunately hardware predictors can alleviate much of the risk. Modern processors include indirect branch predictors which use part of the target address to update a global history. We present a code generation technique to maximize the branch history information available to the predictor. We implement our optimization as an assembly language transformation, and evaluate it for SPEC benchmarks and interpreters using simulated and real hardware, showing indirect branch misprediction decreases.
机译:间接跳转指令用于以面向对象的语言实现多路分支语句和虚拟函数调用。分支行为可能会对程序性能产生重大影响,但是幸运的是,硬件预测变量可以减轻很多风险。现代处理器包括间接分支预测器,它们使用目标地址的一部分来更新全局历史记录。我们提出了一种代码生成技术,以最大化可用于预测变量的分支历史信息。我们将优化作为一种​​汇编语言转换来实现,并使用模拟的和真实的硬件对其进行SPEC基准测试和解释器评估,从而表明间接分支错误预测减少了。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号