Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/2892208.2892233acmconferencesArticle/Chapter ViewAbstractPublication PagesccConference Proceedingsconference-collections
short-paper
Public Access

GreenThumb: superoptimizer construction framework

Published: 17 March 2016 Publication History

Abstract

Developing an optimizing compiler backend remains a laborious process, especially for nontraditional ISAs that have been appearing recently. Superoptimization sidesteps the need for many code transformations by searching for the most optimal instruction sequence semantically equivalent to the original code fragment. Even though superoptimization discovers the best machine-specific code optimizations, it has yet to become widely-used. We propose GreenThumb, an extensible framework that reduces the cost of constructing superoptimizers and provides a fast search algorithm that can be reused for any ISA, exploiting the unique strengths of enumerative, stochastic, and symbolic (SAT-solver-based) search algorithms. To extend GreenThumb to a new ISA, it is only necessary to implement an emulator for the ISA and provide some ISA-specific search utility functions.

References

[1]
Souper. URL http://github.com/google/souper.
[2]
S. Bansal and A. Aiken. Automatic generation of peephole superoptimizers. In ASPLOS, 2006.
[3]
T. Granlund and R. Kenner. Eliminating branches using a superoptimizer and the gnu c compiler. In PLDI, 1992.
[4]
GreenArrays. G144A12 Chip Reference, 2011. URL http://www.greenarraychips.com/home/documents/greg/ DB002-110705-G144A12.pdf.
[5]
N. P. Lopes, D. Menendez, S. Nagarakatte, and J. Regehr. Provably correct peephole optimizations with alive. In PLDI, 2015.
[6]
P. Merolla, J. Arthur, F. Akopyan, N. Imam, R. Manohar, and D. Modha. A digital neurosynaptic core using embedded crossbar memory with 45pj per spike in 45nm. In Custom Integrated Circuits Conference (CICC), 2011 IEEE, 2011.
[7]
Mill Computing, 2013. URL http://millcomputing.com/.
[8]
P. M. Phothilimthana, T. Jelvis, R. Shah, N. Totla, S. Chasins, and R. Bodik. Chlorophyll: Synthesis-aided compiler for low-power spatial architectures. In PLDI, 2014.
[9]
P. M. Phothilimthana, A. Thakur, R. Bodik, and D. Dhurjati. Greenthumb: Superoptimizer construction framework. Technical Report UCB/EECS-2016-8, EECS Department, University of California, Berkeley, Feb 2016.
[10]
P. M. Phothilimthana, A. Thakur, R. Bodik, and D. Dhurjati. Scaling up superoptimization. In ASPLOS, 2016.
[11]
E. Schkufza, R. Sharma, and A. Aiken. Stochastic superoptimization. In ASPLOS, 2013.

Cited By

View all
  • (2024)Equivalence by Canonicalization for Synthesis-Backed RefactoringProceedings of the ACM on Programming Languages10.1145/36564538:PLDI(1879-1904)Online publication date: 20-Jun-2024
  • (2023)Towards Porting Operating Systems with Program SynthesisACM Transactions on Programming Languages and Systems10.1145/356394345:1(1-70)Online publication date: 3-Mar-2023
  • (2019)Learning Guided Enumerative Synthesis for SuperoptimizationModel Checking Software10.1007/978-3-030-30923-7_10(172-192)Online publication date: 15-Jul-2019
  • Show More Cited By

Index Terms

  1. GreenThumb: superoptimizer construction framework

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    CC '16: Proceedings of the 25th International Conference on Compiler Construction
    March 2016
    270 pages
    ISBN:9781450342414
    DOI:10.1145/2892208
    • General Chair:
    • Ayal Zaks,
    • Program Chair:
    • Manuel Hermenegildo
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    In-Cooperation

    • IEEE-CS: Computer Society

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 17 March 2016

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Program Synthesis
    2. SMT
    3. Superoptimization

    Qualifiers

    • Short-paper

    Funding Sources

    Conference

    CGO '16

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)99
    • Downloads (Last 6 weeks)19
    Reflects downloads up to 20 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Equivalence by Canonicalization for Synthesis-Backed RefactoringProceedings of the ACM on Programming Languages10.1145/36564538:PLDI(1879-1904)Online publication date: 20-Jun-2024
    • (2023)Towards Porting Operating Systems with Program SynthesisACM Transactions on Programming Languages and Systems10.1145/356394345:1(1-70)Online publication date: 3-Mar-2023
    • (2019)Learning Guided Enumerative Synthesis for SuperoptimizationModel Checking Software10.1007/978-3-030-30923-7_10(172-192)Online publication date: 15-Jul-2019
    • (2018)Step 0: An Idea for Automatic OCL Benchmark GenerationSoftware Technologies: Applications and Foundations10.1007/978-3-319-74730-9_31(356-364)Online publication date: 23-Jan-2018
    • (2016)Scaling up SuperoptimizationACM SIGARCH Computer Architecture News10.1145/2980024.287238744:2(297-310)Online publication date: 25-Mar-2016
    • (2016)Scaling up SuperoptimizationACM SIGOPS Operating Systems Review10.1145/2954680.287238750:2(297-310)Online publication date: 25-Mar-2016
    • (2016)Scaling up SuperoptimizationACM SIGPLAN Notices10.1145/2954679.287238751:4(297-310)Online publication date: 25-Mar-2016
    • (2016)Scaling up SuperoptimizationProceedings of the Twenty-First International Conference on Architectural Support for Programming Languages and Operating Systems10.1145/2872362.2872387(297-310)Online publication date: 25-Mar-2016
    • (2016)Satisfiability Checking: Theory and ApplicationsSoftware Engineering and Formal Methods10.1007/978-3-319-41591-8_2(9-23)Online publication date: 23-Jun-2016

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media