aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CompilerWriterInfo.html
blob: 2ac522adb1f3c7c98ce1be077a72b2862909ae40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
                      "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Architecture/platform information for compiler writers</title>
  <link rel="stylesheet" href="llvm.css" type="text/css">
</head>

<div class="doc_title">
  Architecture/platform information for compiler writers
</div>

<div class="doc_warning">
  <p>Note: This document is a work-in-progress.  Additions and clarifications
  are welcome.</p>
</div>

<ol>
  <li><a href="#hw">Hardware</a>
  <ol>
    <li><a href="#alpha">Alpha</a></li>
    <li><a href="#arm">ARM</a></li>
    <li><a href="#ia64">Itanium</a></li>
    <li><a href="#mips">MIPS</a></li>
    <li><a href="#ppc">PowerPC</a></li>
    <li><a href="#sparc">SPARC</a></li>
    <li><a href="#x86">X86</a></li>
    <li><a href="#other">Other lists</a></li>
  </ol></li>
  <li><a href="#abi">Application Binary Interface (ABI)</a>
  <ol>
    <li><a href="#linux">Linux</a></li>
    <li><a href="#osx">OS X</a></li>
  </ol></li>
  <li><a href="#misc">Miscellaneous resources</a></li>
</ol>

<div class="doc_author">
  <p>Compiled by <a href="http://misha.brukman.net">Misha Brukman</a></p>
</div>

<!-- *********************************************************************** -->
<div class="doc_section"><a name="hw">Hardware</a></div>
<!-- *********************************************************************** -->

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="alpha">Alpha</a></div>

<div class="doc_text">
<ul>
<li><a
href="http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html">Alpha manuals</a> 
</li>
</ul>
</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="arm">ARM</a></div>

<div class="doc_text">
<ul>
<li><a href="http://www.arm.com/documentation/">ARM documentation</a> 
(<a href="http://www.arm.com/documentation/ARMProcessor_Cores/">Processor
Cores</a>)</li>
</ul>
</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="ia64">Itanium (ia64)</a></div>

<div class="doc_text">
<ul>
<li><a
href="http://developer.intel.com/design/itanium2/documentation.htm">Itanium documentation</a> 
</li>
</ul>
</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="mips">MIPS</a></div>

<div class="doc_text">
<ul>
<li><a
href="http://mips.com/content/Documentation/MIPSDocumentation/ProcessorArchitecture/doclibrary">MIPS
Processor Architecture</a></li>
</ul>
</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="ppc">PowerPC</a></div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection">IBM - Official manuals and docs</div>

<div class="doc_text">

<ul>
<li><a
href="http://www-106.ibm.com/developerworks/eserver/articles/archguide.html">PowerPC
Architecture Book</a>
<ul>
  <li>Book I: <a
  href="http://www-106.ibm.com/developerworks/eserver/pdfs/archpub1.pdf">PowerPC
  User Instruction Set Architecture</a></li>
  <li>Book II: <a
  href="http://www-106.ibm.com/developerworks/eserver/pdfs/archpub2.pdf">PowerPC
  Virtual Environment Architecture</a></li>
  <li>Book III: <a
  href="http://www-106.ibm.com/developerworks/eserver/pdfs/archpub3.pdf">PowerPC
  Operating Environment Architecture</a></li>
</ul></li>
<li><a
href="http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/852569B20050FF7785256996007558C6">PowerPC
Compiler Writer's Guide</a></li>
<li><A
href="http://www-3.ibm.com/chips/techlib/techlib.nsf/products/PowerPC">PowerPC
Processor Manuals</a></li>
<li><a
href="http://www-106.ibm.com/developerworks/linux/library/l-powarch/">Intro to
PowerPC architecture</a></li>
<li><a href="http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixassem/alangref/alangreftfrm.htm">IBM AIX/5L for POWER Assembly reference</a></li>
</ul>

</div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection">Other documents, collections, notes</div>

<div class="doc_text">

<ul>
<li><a href="http://penguinppc.org/dev/#library">PowerPC ABI documents</a></li>
<li><a href="http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00997.html">PowerPC64
alignment of long doubles (from GCC)</a></li>
<li><a href="http://sources.redhat.com/ml/binutils/2002-04/msg00573.html">Long
branch stubs for powerpc64-linux (from binutils)</a></li>
</ul>

</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="sparc">SPARC</a></div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection">Official manuals and docs</div>

<div class="doc_text">

<ul>
<li><a href="http://www.sparc.org/resource.htm">SPARC resources</a></li>
<li><a href="http://www.sparc.org/standards.html">SPARC standards</a></li>
</ul>

</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="x86">X86</a></div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection">AMD - Official manuals and docs</div>

<div class="doc_text">
<ul>
<li><a
href="http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_739,00.html">AMD processor manuals</a></li>
<li><a href="http://www.x86-64.org/documentation">X86-64 ABI</a></li>
</ul>
</div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection">Intel - Official manuals and docs</div>

<div class="doc_text">
<ul>
<li><a
href="http://developer.intel.com/design/pentium4/manuals/index_new.htm">IA-32
manuals</a></li>
<li><a
href="http://www.intel.com/design/itanium/documentation.htm?iid=ipp_srvr_proc_itanium2+techdocs">Intel
Itanium documentation</a></li>
</ul>
</div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection">Other x86-specific information</div>

<div class="doc_text">
<ul>
<li><a href="http://www.agner.org/assem/calling_conventions.pdf">Calling
conventions for different C++ compilers and operating systems</a></li>
</ul>
</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="other">Other relevant lists</a></div>

<div class="doc_text">

<ul>
<li><a href="http://gcc.gnu.org/readings.html">GCC reading list</a></li>
</ul>

</div>

<!-- *********************************************************************** -->
<div class="doc_section"><a name="abi">ABI</a></div>
<!-- *********************************************************************** -->

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="linux">Linux</a></div>

<div class="doc_text">
<ol>
<li><a href="http://www.linuxbase.org/spec/ELF/ppc64/">PowerPC 64-bit ELF ABI
Supplement</a></li>
</ol>
</div>

<!-- ======================================================================= -->
<div class="doc_subsection"><a name="osx">OS X</a></div>

<div class="doc_text">
<ol>
<li><a
href="http://developer.apple.com/documentation/Darwin/RuntimeArchitecture-date.html">Mach-O
Runtime Architecture</a></li>
<li><a href="http://www.unsanity.org/archives/000044.php">Notes on Mach-O
ABI</a></li>
</ol>

</div>

<!-- *********************************************************************** -->
<div class="doc_section"><a name="misc">Miscellaneous resources</a></div>
<!-- *********************************************************************** -->

<ul>
<li><a
href="http://www.nondot.org/sabre/os/articles/ExecutableFileFormats/">Executable
File Format library</a></li>
<li><a href="http://gcc.gnu.org/projects/prefetch.html">GCC prefetch project</a>
page has a good survey of the prefetching capabilities of a variety of modern
processors.</li>
</ul>

<!-- *********************************************************************** -->

<hr>
<address>
  <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
  src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
  <a href="http://validator.w3.org/check/referer"><img
  src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>

  <a href="http://misha.brukman.net">Misha Brukman</a><br>
  <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
  Last modified: $Date$
</address>

</body>
</html>