Improving both the performance benefits and speed of optimization phase sequence searches

Author:

Kulkarni Prasad A.1,Jantz Michael R.1,Whalley David B.2

Affiliation:

1. University of Kansas, Lawrence, KS, USA

2. Florida State University, Tallahassee, FL, USA

Abstract

The issues of compiler optimization phase ordering and selection present important challenges to compiler developers in several domains, and in particular to the speed, code size, power, and cost-constrained domain of embedded systems. Different sequences of optimization phases have been observed to provide the best performance for different applications. Compiler writers and embedded systems developers have recently addressed this problem by conducting iterative empirical searches using machine-learning based heuristic algorithms in an attempt to find the phase sequences that are most effective for each application. Such searches are generally performed at the program level, although a few studies have been performed at the function level. The finer granularity of function-level searches has the potential to provide greater overall performance benefits, but only at the cost of slower searches caused by a greater number of performance evaluations that often require expensive program simulations. In this paper, we evaluate the performance benefits and search time increases of function-level approaches as compared to their program-level counterparts. We, then, present a novel search algorithm that conducts distinct function-level searches simultaneously, but requires only a single program simulation for evaluating the performance of potentially unique sequences for each function. Thus, our new hybrid search strategy provides the enhanced performance benefits of function-level searches with a search-time cost that is comparable to or less than program-level searches.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Cited by 11 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. SRTuner: Effective Compiler Optimization Customization by Exposing Synergistic Relations;2022 IEEE/ACM International Symposium on Code Generation and Optimization (CGO);2022-04-02

2. A Survey on Compiler Autotuning using Machine Learning;ACM Computing Surveys;2019-09-30

3. A Study of Conflicting Pairs of Compiler Optimizations;2017 IEEE 11th International Symposium on Embedded Multicore/Many-core Systems-on-Chip (MCSoC);2017-09

4. Piecewise holistic autotuning of parallel programs with CERE;Concurrency and Computation: Practice and Experience;2017-06-20

5. A graph-based iterative compiler pass selection and phase ordering approach;ACM SIGPLAN Notices;2016-08

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3