...
首页> 外文期刊>Concurrency and computation: practice and experience >Smart selection of optimizations in dynamic compilers
【24h】

Smart selection of optimizations in dynamic compilers

机译:智能选择动态编译器中的优化

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

获取外文期刊封面封底 >>

       

摘要

Dynamic compilers perform compilation and generation of target code during runtime, implying that the compilation time is added into the program runtime. Thus, to build a high-performing dynamic compilation system, it is crucial to be able to generate high-quality code and, at the same time, have a small compilation cost. In this article, we present an approach that uses machine learning to select sequences of optimization for dynamic compilation that considers both code quality and compilation overhead. Our approach starts by training a model, offline, with a knowledge bank of those sequences with low overhead and high-quality code generation capability using a genetic heuristic. Then, this bank is used to guide the smart selection of optimizations sequences for the compilation of code fragments during the emulation of an application. We evaluate the proposed strategy in two LLVM-based dynamic binary translators, namely OI-DBT and HQEMU, and show that these two translators can achieve average speedups of 1.26x and 1.15x in MiBench and Spec Cpu benchmarks, respectively.
机译:动态编译器在运行时在运行时执行编译和生成目标代码,这意味着编译时间被添加到程序运行时。因此,为了构建高性能的动态编译系统,能够生成高质量的代码至关重要,并且同时具有小的编译成本。在本文中,我们介绍了一种方法,该方法使用机器学习来选择用于动态编译的优化序列,这是考虑代码质量和编译开销的动态汇编。我们的方法通过培训模型,离线培训,使用遗传启发式具有低开销和高质量代码生成能力的那些序列的知识库。然后,该银行用于指导智能选择优化序列的序列,用于仿真应用程序期间代码片段。我们评估了两个基于LLVM的动态二进制转换器,即OI-DBT和HEMU的提出的策略,并表明这两个翻译人员分别可以在Mibench和Spec CPU基准中实现1.26倍和1.15倍的平均速度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号