C Compilers for ASIPs (eBook)

Automatic Compiler Generation with LISA
eBook Download: PDF
2009 | 2010
XV, 223 Seiten
Springer New York (Verlag)
978-1-4419-1176-6 (ISBN)

Lese- und Medienproben

C Compilers for ASIPs - Manuel Hohenauer, Rainer Leupers
Systemvoraussetzungen
139,09 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

This book presents a novel approach for Architecture Description Language (ADL)-based instruction-set description that enables the automatic retargeting of the complete software toolkit from a single ADL processor model.

Acknowledgements 6
Contents 8
List of Figures 12
List of Tables 14
1 Introduction 15
Motivation 15
Outline of the Book 19
2 ASIP Design Methodology 20
ASIP Design Phases 20
Compiler-in-the-Loop Architecture Exploration 22
Design Methodologies 23
Synopsis 26
3 A Short Introduction to Compilers 27
General Overview 27
Compiler Frontend 27
Compiler Backend 29
Data- and Control-Flow Graphs 29
Code Selection 33
Register Allocation 35
Instruction Scheduling 38
Code Emitter 40
Retargetable Compilers 41
Synopsis 43
4 Related Work 44
Instruction-Set-Centric ADLs 44
Architecture-Centric ADLs 47
Mixed-Level ADLs 48
Other Related Approaches 50
Synopsis 54
5 Processor Designer 55
Design Space Exploration 55
Software Tool Generation 55
Architecture Implementation 57
System Integration 57
The LISA Language 58
Compiler Designer 61
Synopsis 65
6 Code Selector Description Generation 66
The Semantic Gap 67
SEMANTICS Section 68
Semantics Statements 68
Semantics Resources 69
Micro-Operations 70
Bit-Width Specification 72
Micro-Operator Chaining 73
Execution Timing 73
IF--ELSE Statements 74
Semantics Hierarchy 75
Code Selector Description Generation 77
Nonterminal Generation 78
Mapping Rule Generation 81
Compiler Designer Integration 91
Synopsis 92
7 Results for SEMANTICS-Based Compiler Generation 93
Case Studies 93
Mapping Rule Generation 94
Compiler Evaluation 95
PP32 96
ST220 98
MIPS 99
Conclusions 100
8 SIMD Optimization 102
Related Work 104
SIMD Framework 105
Basic Design Decisions 106
Terminology 107
Alignment Analysis 107
SIMD Analysis 110
Strip Mining and Loop Peeling 111
Scalar Expansion 113
The Vectorizer 114
Loop Unrolling 115
The Unroll-and-Pack-Based SIMDfyer 115
Code Example 116
Retargeting the SIMD Framework 119
SIMD-Candidate Matcher 119
SIMD-Set Constructor 122
Experimental Results 125
Alignment Analysis 125
SIMD Optimizations 128
Conclusions 133
9 Predicated Execution 134
Code Example 134
Related Work 136
Optimization Algorithm 137
Implementation Schemes 137
Probability Information 140
Cost Computation 143
Selecting the Best Scheme 147
Splitting Mechanism 148
Retargeting Formalism 149
Code Generation Flow 152
Experimental Results 153
Conclusions 156
10 Assembler Optimizer 158
Related Work 159
Application Programmer Interface 159
Scheduler 160
Peephole Optimizer 161
Replacement Library 161
Experimental Results 164
Conclusions 166
11 Summary 167
A Semantics Section 170
Semantics Statements 170
IF-ELSE Statements 171
Nonassignment Statements 173
Execution Timing 174
Micro-Operators 174
Notations 175
Group of Arithmetic Operators 176
Group of Logic Operators 182
Group of Shifting Operators 184
Group of Zero/Sign Extension Operators 189
Others/Intrinsic Operators 191
Affected Flag Declarations 193
SEMANTICS Section Grammar 194
Grammar Notation 194
SEMANTICS Grammar 194
B CoSy Compiler Library Grammar 199
Grammar Notation 199
Global Structure 200
Basic Rules 200
CoSy IR 200
Rule Condition 201
CoSy Condition 201
Nonterminal Constraint 202
Control Clause 202
Read/Write Clause 202
Scratch Registers 203
Semantics Pattern 203
Node Assignment 203
Result Clause 203
Semantics Transformations 203
Compiler Semantics 204
Assignment Statement 204
Label Statement 204
IF-ELSE Statement 204
Non-assignment Statement 205
Micro-operation 205
Operands 206
Miscellaneous 206
References 208
Index 221

Erscheint lt. Verlag 13.10.2009
Zusatzinfo XV, 223 p.
Verlagsort New York
Sprache englisch
Themenwelt Informatik Weitere Themen CAD-Programme
Technik Elektrotechnik / Energietechnik
Schlagworte Application Specific Instruction-set Processor • Architecture • Architecture Description Language • ASIP • Automatic Compiler Generation • design automation • EDA • Electronic Design Automation • Integrated circuit • Lisa • Model • Retargetable Optimization
ISBN-10 1-4419-1176-6 / 1441911766
ISBN-13 978-1-4419-1176-6 / 9781441911766
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 4,9 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Technologische Grundlagen und industrielle Praxis

von André Borrmann; Markus König; Christian Koch …

eBook Download (2021)
Springer Fachmedien Wiesbaden (Verlag)
89,99
Ein praktischer Guide für MVP-Erstellung und Crowdfunding-Erfolg

von Jordan Michaels

eBook Download (2024)
tredition (Verlag)
19,99