首页> 外文会议>Latin American Computing Conference >Improved batch elimination: A fast algorithm to identify and remove harmful compiler optimizations
【24h】

Improved batch elimination: A fast algorithm to identify and remove harmful compiler optimizations

机译:改进了批量消除:一种快速算法来识别和删除有害编译器优化

获取原文

摘要

Modern compilers provide several optimizations that can be applied to the source code, in order to increase its performance. Due to the complex relationship between various optimizations, discovering harmful compiler optimizations is a problem in the context of compilers. Strategies based on iterative compilation try to solve this problem evaluating the performance of the compiled program using different sets. In this context, Combined Elimination is an efficient iterative compilation strategy. The purpose of Combined Elimination is to identify the harmful optimizations and remove them in an iterative compilation process. Combined Elimination provides good results, which are close to those founded by an exhaustive search approach. However, its drawback is the number of program runs. In this paper, we proposed an iterative compilation algorithm, named Improved Batch Elimination. This algorithm is based on the first step towards Combined Elimination, the Batch Elimination algorithm. The goal of Improved Batch Elimination is to produce results similar to Combined Elimination, with a complexity similar to Batch Elimination. In other words, the goal is to produce good results and to be faster than Combined Elimination. We evaluate our algorithm by measuring the performance of Spec Cpu2006, Polybench and cBench benchmarks under a set of llvm compiler optimizations. The results indicate that Improved Batch Elimination is a good strategy to remove harmful compiler optimizations, using few program runs.
机译:现代编译器提供了几种可以应用于源代码的优化,以提高其性能。由于各种优化之间的复杂关系,发现有害编译器优化是编译器的上下文中的问题。基于迭代编译的策略尝试解决使用不同集的编译程序的性能来解决此问题。在这种情况下,组合消除是一种有效的迭代编译策略。结合消除的目的是识别有害优化,并将它们删除在迭代编译过程中。结合消除提供了良好的效果,这与被详尽的搜索方法创立的效果贴近。但是,它的缺点是程序运行的数量。在本文中,我们提出了一种迭代编译算法,命名为改进的批量消除。该算法基于朝向组合消除的第一步,批量消除算法。改进的批量消除的目标是产生类似于混合消除的结果,复杂性类似于批量消除。换句话说,目标是产生良好的结果,并且比混合消除更快。我们通过测量一组LLVM编译器优化下测量规范CPU2006,PolyBench和CBench基准测试的性能来评估我们的算法。结果表明,使用少数计划运行,改进的批量消除是删除有害编译器优化的良好策略。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号