首页> 外文会议>Languages and Compilers for Parallel Computing >To Inline or Not to Inline? Enhanced Inlining Decisions
【24h】

To Inline or Not to Inline? Enhanced Inlining Decisions

机译:内联还是不内联?增强内联决策

获取原文

摘要

The decision to inline a procedure in the Open Research Compiler (ORC) was based on a temperature heuristics that takes into consideration the time spent in a procedure and the size of the procedure. In this paper we describe the trade-off that has to be worked out to make the correct inlining decisions. We introduce two new heuristics to enhance the ORC inlining heuristics: adaptation and cyde-density. With adaptation we are allowed to vary the temperature threshold and prevent penalizing small benchmarks. With cyde-density we prevent the inlining of procedures that have a high temperature in spite of being called infrequently. Experiments show that while adaptation improves the speedup obtained with inlining across the SPEC2000 suite, cyde_density reduces significantly both the code growth and compilation time increase caused by inlining. We then characterize the SPEC INT2000 benchmarks according to the inlining potential of their function calls. Our enhancement is released in the ORC 2.0.
机译:在开放式研究编译器(ORC)中内联程序的决定是基于温度启发法,该方法考虑了在程序中花费的时间和程序的大小。在本文中,我们描述了必须做出的权衡以做出正确的内联决策。我们引入了两种新的启发式方法来增强ORC内联启发式方法:适应性和循环密度。通过调整,我们可以更改温度阈值并防止惩罚小基准。使用程序密度,尽管很少调用,但可以防止高温的程序内联。实验表明,尽管适应性提高了SPEC2000套件中通过内联获得的速度,但cyde_density显着减少了由内联引起的代码增长和编译时间增长。然后,我们根据其函数调用的潜在潜力来表征SPEC INT2000基准。我们的增强功能已在ORC 2.0中发布。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号