Trending Bestseller

Automatic Code Generation Using Dynamic Programming

No reviews yet Write a Review
Paperback / softback
08 February 2008
RRP: $64.03
$62.75
Ships in 3-5 business days

Delivery estimate

Hurry up! Current stock:
Building compiler back ends from declarative specifications that map tree structured intermediate representations onto target machine code is the topic of this book. Although many tools and approaches have been devised to tackle the problem of automated code generation, there is still room for improvement. In this context we present HBURG, an implementation of a code generator generator that emits compiler back ends from concise tree pattern specifications written in our code generator description language. The language features attribute grammar style specifications and allows for great flexibility with respect to the placement of semantic actions. Our main contribution is to show that these language features can be integrated into automatically generated code generators that perform optimal instruction selection based on tree pattern matching combined with dynamic programming. In order to substantiate claims about the usefulness of our language we provide two complete examples that demonstrate how to specify code generators for RISC and CISC architectures. Compiler writers are the primary target audience of this book.

You Can Find This Title In

    Product Details
    ISBN-13
    9783836461580
    Author
    Igor Böhm
    Publisher
    KS OmniScriptum Publishing
    Published
    08 February 2008
    Format
    Paperback / softback

    This product hasn't received any reviews yet. Be the first to review this product!

    RRP: $64.03
    $62.75
    Ships in 3-5 business days

    Delivery estimate

    Hurry up! Current stock:

    Automatic Code Generation Using Dynamic Programming

    RRP: $64.03
    $62.75

    Description

    Building compiler back ends from declarative specifications that map tree structured intermediate representations onto target machine code is the topic of this book. Although many tools and approaches have been devised to tackle the problem of automated code generation, there is still room for improvement. In this context we present HBURG, an implementation of a code generator generator that emits compiler back ends from concise tree pattern specifications written in our code generator description language. The language features attribute grammar style specifications and allows for great flexibility with respect to the placement of semantic actions. Our main contribution is to show that these language features can be integrated into automatically generated code generators that perform optimal instruction selection based on tree pattern matching combined with dynamic programming. In order to substantiate claims about the usefulness of our language we provide two complete examples that demonstrate how to specify code generators for RISC and CISC architectures. Compiler writers are the primary target audience of this book.

    You Can Find This Title In

      This Title Is Categorised As