Advanced Compiler Design and Implementation
暫譯: 進階編譯器設計與實作

Steven Muchnick

  • 出版商: Morgan Kaufmann
  • 出版日期: 1997-08-15
  • 售價: $980
  • 語言: 英文
  • 頁數: 856
  • 裝訂: Hardcover
  • ISBN: 1558603204
  • ISBN-13: 9781558603202
  • 相關分類: Compiler
  • 已絕版

買這商品的人也買了...

商品描述

Description

From the Foreword by Susan L. Graham:
This book takes on the challenges of contemporary languages and architectures, and prepares the reader for the new compiling problems that will inevitably arise in the future.

The definitive book on advanced compiler design
This comprehensive, up-to-date work examines advanced issues in the design and implementation of compilers for modern processors. Written for professionals and graduate students, the book guides readers in designing and implementing efficient structures for highly optimizing compilers for real-world languages. Covering advanced issues in fundamental areas of compiler design, this book discusses a wide array of possible code optimizations, determining the relative importance of optimizations, and selecting the most effective methods of implementation.

  • Lays the foundation for understanding the major issues of advanced compiler design
  • Treats optimization in-depth
  • Uses four case studies of commercial compiling suites to illustrate different approaches to compiler structure, intermediate-code design, and optimizationthese include Sun Microsystemss compiler for SPARC, IBM's for POWER and PowerPC, DEC's for Alpha, and Intels for Pentium an related processors
  • Presents numerous clearly defined algorithms based on actual cases
  • Introduces Informal Compiler Algorithm Notation (ICAN), a language devised by the author to communicate algorithms effectively to people

 

Table of Contents

1 Introduction to Advanced Topics
2 Informal Compiler Algorithm Notation (ICAN)
3 Symbol-Table Structure
4 Intermediate Representations
5 Run-Time Support
6 Producing Code Generators Automatically
7 Control-Flow Analysis
8 Data-Flow Analysis
9 Dependence Analysis and Dependence Graph
10 Alias Analysis
11 Introduction to Optimization
12 Early Optimizations
13 Redundancy Elimination
14 Loop Optimizations
15 Procedure Optimizations
16 Register Allocation
17 Code Scheduling
18 Control-Flow and Low-Level Optimizations
19 Interprocedural Analysis and Optimization
20 Optimization of the Memory Hierarchy
21 Case Studies of Compilers and Future Trends
A Guide to Assembly Languages Used in This Book
B Representation of Sets, Sequences, Trees, DAGs, and Functions
C Software Resources
*View Appendix C with live links to download sites*

商品描述(中文翻譯)

描述

來自 Susan L. Graham 的前言:這本書面對當代語言和架構的挑戰,並為讀者準備未來不可避免出現的新編譯問題。

關於進階編譯器設計的權威書籍
這本全面且最新的著作探討了現代處理器編譯器設計與實作中的進階議題。書中為專業人士和研究生提供指導,幫助讀者設計和實作高效的結構,以便為現實世界的語言開發高度優化的編譯器。涵蓋編譯器設計基本領域中的進階問題,本書討論了各種可能的代碼優化,確定優化的相對重要性,並選擇最有效的實作方法。

- 為理解進階編譯器設計的主要問題奠定基礎
- 深入探討優化
- 使用四個商業編譯套件的案例研究來說明編譯器結構、中間代碼設計和優化的不同方法,包括 Sun Microsystems 的 SPARC 編譯器、IBM 的 POWER 和 PowerPC 編譯器、DEC 的 Alpha 編譯器,以及 Intel 的 Pentium 和相關處理器編譯器
- 提出基於實際案例的多個明確定義的算法
- 介紹非正式編譯器算法符號 (ICAN),這是一種由作者設計的語言,用於有效地向人們傳達算法

目錄
1 進階主題介紹
2 非正式編譯器算法符號 (ICAN)
3 符號表結構
4 中間表示
5 執行時支援
6 自動生成代碼生成器
7 控制流分析
8 數據流分析
9 依賴分析與依賴圖
10 別名分析
11 優化介紹
12 早期優化
13 冗餘消除
14 迴圈優化
15 程序優化
16 寄存器分配
17 代碼排程
18 控制流與低階優化
19 跨程序分析與優化
20 記憶體層次的優化
21 編譯器案例研究與未來趨勢
A 本書使用的組合語言指南
B 集合、序列、樹、DAG 和函數的表示
C 軟體資源
*查看附錄 C,並提供下載網站的即時連結*