See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.


Have one to sell? Sell yours here
 
 
Building an Optimizing Compiler
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Building an Optimizing Compiler (Paperback)

by Robert Morgan (Author) "What is an optimizing compiler?..." (more)
Key Phrases: Rice University, Limiting Resources, New York (more...)
5.0 out of 5 stars See all reviews (2 customer reviews)


Available from these sellers.


1 used from $157.10

Customers Who Bought This Item Also Bought

The Compiler Design Handbook: Optimizations and Machine Code Generation, Second Edition

The Compiler Design Handbook: Optimizations and Machine Code Generation, Second Edition

by Y.N. Srikant
$97.83
lex & yacc

lex & yacc

by Doug Brown
4.0 out of 5 stars (34)  $19.77
Engineering a Compiler

Engineering a Compiler

by Keith Cooper
3.6 out of 5 stars (8)  $64.70
Memory Systems: Cache, DRAM, Disk

Memory Systems: Cache, DRAM, Disk

by Bruce Jacob
4.8 out of 5 stars (4)  $94.34
A Retargetable C Compiler: Design and Implementation

A Retargetable C Compiler: Design and Implementation

by David R. Hanson
3.6 out of 5 stars (7)  $55.99
Explore similar items

Editorial Reviews

Product Description
Compiler courses have been an academic mainstay in both undergraduate and graduate computer science departments. These courses emphasize either the implementation of languages or parallel processing. Little analysis is presented for generating excellent code for a language on a single processor.


Building an Optimizing Compiler addresses this gap. It provides a high level design for a thorough optimizer, code generator, scheduler and register allocator for a generic modern RISC processor. In the process it addresses the small issues that have a long impact on the implementation.

The book approaches this subject from a practical viewpoint. Theory is introduced where intuitive arguments are insufficient, however the theory is described in practical terms. A single running example is used throughout the book to illustrate the compilation process.

· Provides a complete theory for Static Single Aassignment Methods and partial redundancy methods for code optimization
· Provides a new generatization of register allocation techniques
· Techniques described are applicable to most programming languages for PCs, workstations or servers

From the Publisher
Building an Optimizing Compiler addresses this gap. It provides a high level design for a thorough optimizer, code generator, scheduler and register allocator for a generic modern RISC processor. In the process it addresses the small issues that have a long impact on the implementation. The book approaches this subject from a practical viewpoint. Theory is introduced where intuitive arguments are insufficient, however the theory is described in practical terms. A single running example is used throughout the book to illustrate the compilation process.

See all Editorial Reviews

Product Details

  • Paperback: 450 pages
  • Publisher: Digital Press (January 2, 1998)
  • Language: English
  • ISBN-10: 155558179X
  • ISBN-13: 978-1555581794
  • Product Dimensions: 9.3 x 7 x 0.9 inches
  • Shipping Weight: 1.6 pounds
  • Average Customer Review: 5.0 out of 5 stars See all reviews (2 customer reviews)
  • Amazon.com Sales Rank: #1,493,797 in Books (See Bestsellers in Books)

Inside This Book (learn more)



Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
An amazon customer suggested this product show on searches for "register allocation". What do you suggest?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

2 Reviews
5 star:
 (2)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (2 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
21 of 22 people found the following review helpful:
5.0 out of 5 stars a code-free approach to *optimizing* compilers, April 2, 2000
By A Customer
Most students who have taken a semester course in compiler would agree that a semester is too short even for just building a compiler, not to include the time used to learn the basics like parsing. This book is a good start at where your course left off. It covers many interesting and modern topics on building an _optimizing_ compiler, a compiler that generates compact and speedy code.

As a comparison to the Muchnick one, this book is slightly less advanced but contains sufficient details to start one in this field. This book also excels in its clear and informative explanations.

An interesting feature of this book (and also Muchnick) is that no concrete code/implementation is included. The focus is on the concepts of building an optimizing compiler and the theory behind code optimization, not exactly on how to build one (from scratch) using whatever programming language. The reader must come up with the implementation side of the story if she wants to apply the techniques to her own compiler.

As a final note, this is not an introductory book on compilers. If you want one, go find the classic Dragon book (by Aho, Sethi, Ullman) or the newly written work by Appel.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
7 of 7 people found the following review helpful:
5.0 out of 5 stars Excelent complete overview of an optimizing compiler, January 3, 2005
This book just has it all. As the title suggests, this book is all about compiler optimizations. Don't expect to find anything about lexical analysis or parsing here, but that is exactly why I like this book so much. It is aimed at people who are familiar with the basic structure of a compiler and with data structures and algorithms.

The book describes the various phases the intermediate language of a compiler goes through before the final assembly or object file is written. It discusses such things as SSA form, lazy code motion and its application to load and store motion, scheduling, register allocation, etc. Important concepts, including (but not limited to) correctness, dominance, control dependence, and availability, are discussed and explained in detail. Algorithms and data flow equations are given with a proof and a clear explantaion. But this is not an algorithms cook book like Muchnick, the best part of this book is the synthesis of all the algorithms and ideas.

There are only 3 drawbacks of this book. First of all, Morgan assumes that the target is a RISCy machine with a reasonably orthogonal register and instruction set. Second, the framework he presents is sometimes a bit unconventional. For example, his discussion about register allocation presents Chow&Hennesey priority bases graph coloring, but it forgets to give a proper comment on Chaitin/Briggs style coloring. Finally, the book exclusively describes intraprocedural optimizations.

That said, the basic ideas presented in the book will give you enough references and back ground to understand the differences between Morgan's approach and other approaches to building optimizing compilers.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   
Related forums


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Discover Oregon

Garmin Oregon at Amazon.com
You'll find that on the trail, the new Garmin Oregons exchange waypoints, tracks, and geocaches with other Oregon and Colorado units.

Shop all Garmin

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Make Your Cuts Accurate

Shop for miter saws
Shop our huge selection of miter saws in the Amazon.com Power & Hand Tools Store.

Shop for miter saws

 

Shop for Home Improvement Products

Shop for Home Improvement Products
Whether you're searching for power and hand tools, hardware, or a kitchen sink, the Home Improvement Store has a wide variety of products you're looking for.

Shop Home Improvement

 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates