首页> 外文期刊>SoftwareX >Nonio — modular automatic compiler phase selection and ordering specialization framework for modern compilers
【24h】

Nonio — modular automatic compiler phase selection and ordering specialization framework for modern compilers

机译:Nonio —适用于现代编译器的模块化自动编译器阶段选择和排序专业化框架

获取原文
           

摘要

This article presents Nonio, a modular, easy-to-use, design space exploration framework focused on exploring custom combinations of compiler flags and compiler sequences. We describe the framework and discuss its use with two of the most popular compiler toolchains, GCC and Clang+LLVM. Particularly, we discuss implementation details in the context of flag selection, when using GCC, and phase selection and ordering, when using Clang+LLVM. The framework software organization allows to easily add new components as plug-ins (e.g., an exploration algorithm, an objective metric, integration with another compiler toolchain). The software architecture provides well-defined interfaces, in order to enable seamless composition and interaction between different components. We present, as an example, a use case where we rely on Nonio to obtain custom compiler flags for reducing the execution time and the energy consumption of a C program, in relation to the best predetermined optimization settings provided by the compiler (e.g., –O3).
机译:本文介绍了Nonio,这是一个模块化,易于使用的设计空间探索框架,致力于探索编译器标志和编译器序列的自定义组合。我们将描述该框架,并与两个最受欢迎的编译器工具链GCC和Clang + LLVM讨论其使用。特别是,我们在使用GCC时在标志选择的上下文中讨论实现细节,在使用Clang + LLVM时在相位选择和排序方面讨论细节。框架软件组织允许轻松地将新组件添加为插件(例如,探索算法,客观指标,与其他编译器工具链的集成)。该软件体系结构提供了定义明确的界面,以实现不同组件之间的无缝组合和交互。作为示例,我们提出一个用例,其中依赖于Nonio获得与编译器提供的最佳预定优化设置有关的自定义编译器标志,以减少C语言程序的执行时间和能耗(例如,– O3)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号