A portable global optimizer and linker

Author:

Benitez M. E.1,Davidson J. W.1

Affiliation:

1. Univ. of Virginia, Charlottesville, VA

Abstract

To reduce complexity and simplify their implementation, most compilers are organized as a set of passes or phases. Each phase performs a particular piece of the compilation process. In an optimizing compiler, the assignment of function and order of application of the phases is a critical part of the design. A particularly difficult problem is the arrangement of the code generation and optimization phases so as to avoid phase ordering problems caused by the interaction of the phases. In this paper, we discuss the implementation of a compiler/linker that has been designed to avoid these problems. The key aspect of this design is that the synthesis phases of the compiler and the system linker share the same intermediate program representation. This results in two benefits. It permits the synthesis phases of the compiler to be performed in any order and repeatedly, thus eliminating potential phase ordering problems. Second, it permits code selection to be invoked at any point during the synthesis phases as well as at link time. The ability to perform code selection at link time presents many opportunities for additional optimizations. Measurements about the effectiveness of using this approach in a C compiler on two different machines are presented.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference14 articles.

1. An overview of the PL.8 compiler

2. Experience with the pascal P-compiler

3. T.R. Crowley Combining Table-Driven Effect Selection and Description-Driven Peephole Optimization for Automatic Code Generation M.S. Thesis Massachusetts Institute of Technology Boston MA September 1982. T.R. Crowley Combining Table-Driven Effect Selection and Description-Driven Peephole Optimization for Automatic Code Generation M.S. Thesis Massachusetts Institute of Technology Boston MA September 1982.

4. Code selection through object code optimization

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

1. Automatic Safe Data Reuse Detection for the WCET Analysis of Systems With Data Caches;IEEE Access;2020

2. Comparative analysis of simulation system for teaching compilers;Bizinfo Blace;2019

3. Decoupling address generation from loads and stores to improve data access energy efficiency;Proceedings of the 19th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems;2018-06-19

4. Redesigning a tagless access buffer to require minimal ISA changes;Proceedings of the International Conference on Compilers, Architectures and Synthesis for Embedded Systems - CASES '16;2016

5. Optimizing Transfers of Control in the Static Pipeline Architecture;ACM SIGPLAN Notices;2015-07-22

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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