/[cmucl]/src/tools/comcom.lisp
ViewVC logotype

Contents of /src/tools/comcom.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.36 - (show annotations)
Tue Sep 1 16:29:20 1992 UTC (21 years, 7 months ago) by ram
Branch: MAIN
Changes since 1.35: +1 -3 lines
Changed ASSEM to NEW-ASSEM in BOOTSTRAP conditional.
1 ;;; -*- Package: User -*-
2 ;;;
3 (in-package "USER")
4
5 #+bootstrap
6 (copy-packages (cons (c::backend-name c::*target-backend*) '("NEW-ASSEM" "C")))
7
8 (defparameter *load-stuff*
9 #+bootstrap t
10 #-bootstrap (eq c:*backend* c:*native-backend*))
11
12 ;;; Import so that these types which appear in the globldb are the same...
13 #+bootstrap
14 (import '(old-c::approximate-function-type
15 old-c::function-info old-c::defstruct-description
16 old-c::defstruct-slot-description)
17 "C")
18
19 (with-compiler-log-file
20 ("target:compile-compiler.log"
21 :optimize
22 '(optimize (speed 2) (space 2) (inhibit-warnings 2)
23 (safety #+small 0 #-small 1)
24 (debug-info #+small .5 #-small 2))
25 :optimize-interface
26 '(optimize-interface (safety #+small 1 #-small 2)
27 (debug-info #+small .5 #-small 2))
28 :context-declarations
29 '(#+small
30 ((:or :macro
31 (:match "$SOURCE-TRANSFORM-" "$IR1-CONVERT-"
32 "$PRIMITIVE-TRANSLATE-" "$PARSE-"))
33 (declare (optimize (safety 1))))
34 (:external (declare (optimize-interface (safety 2) (debug-info 1))))))
35
36 (comf "target:compiler/macros" :load *load-stuff*)
37 (comf "target:compiler/generic/vm-macs" :load *load-stuff* :proceed t)
38 (comf "target:compiler/backend" :load *load-stuff* :proceed t)
39
40 (defvar c::*target-backend* (c::make-backend))
41
42 (when (c:target-featurep :pmax)
43 (comf "target:compiler/mips/parms" :proceed t))
44 (when (c:target-featurep :sparc)
45 (comf "target:compiler/sparc/parms" :proceed t))
46 (when (c:target-featurep :rt)
47 (comf "target:compiler/rt/params" :proceed t))
48 (when (c:target-featurep :hppa)
49 (comf "target:compiler/hppa/parms" :proceed t))
50 (when (c:target-featurep :x86)
51 (comf "target:compiler/hppa/x86" :proceed t))
52 (comf "target:compiler/generic/objdef" :proceed t)
53 (comf "target:compiler/generic/interr")
54
55 (comf "target:code/struct") ; For defstruct description structures.
56 (comf "target:compiler/proclaim") ; For COOKIE structure.
57 (comf "target:compiler/globals")
58
59 (comf "target:compiler/type")
60 (comf "target:compiler/generic/vm-type")
61 (comf "target:compiler/type-init")
62 (comf "target:compiler/sset")
63 (comf "target:compiler/node")
64 (comf "target:compiler/ctype")
65 (comf "target:compiler/vop" :proceed t)
66 (comf "target:compiler/vmdef")
67 (comf "target:compiler/meta-vmdef" :load *load-stuff* :proceed t)
68
69 (comf "target:compiler/disassem")
70 (comf "target:compiler/new-assem")
71 (comf "target:compiler/alloc")
72 (comf "target:compiler/knownfun")
73 (comf "target:compiler/fndb")
74 (comf "target:compiler/generic/vm-fndb")
75 (comf "target:compiler/main")
76
77 (with-compilation-unit
78 (:optimize '(optimize (debug-info 2) (safety 1)))
79 (comf "target:compiler/ir1tran")
80 (comf "target:compiler/ir1util")
81 (comf "target:compiler/ir1opt"))
82
83 (comf "target:compiler/ir1final")
84 (comf "target:compiler/srctran")
85 (comf "target:compiler/array-tran")
86 (comf "target:compiler/seqtran")
87 (comf "target:compiler/typetran")
88 (comf "target:compiler/generic/vm-typetran")
89 (comf "target:compiler/float-tran")
90 (comf "target:compiler/saptran")
91 (comf "target:compiler/locall")
92 (comf "target:compiler/dfo")
93 (comf "target:compiler/checkgen")
94 (comf "target:compiler/constraint")
95 (comf "target:compiler/envanal")
96
97 (comf "target:compiler/tn")
98 (comf "target:compiler/bit-util")
99 (comf "target:compiler/life")
100
101 (comf "target:code/debug-info")
102
103 (comf "target:compiler/debug-dump")
104 (comf "target:compiler/generic/utils")
105 (comf "target:assembly/assemfile" :load *load-stuff*)
106
107 (with-compilation-unit
108 (:optimize '(optimize (safety #+small 0 #-small 1) #+small (debug-info 1)))
109
110 (when (c:target-featurep :pmax)
111 (comf "target:compiler/mips/insts")
112 (comf "target:compiler/mips/macros" :load *load-stuff*)
113 (comf "target:compiler/mips/vm")
114 (comf "target:compiler/generic/primtype")
115 (comf "target:assembly/mips/support" :load *load-stuff*)
116 (comf "target:compiler/mips/move")
117 (comf "target:compiler/mips/float")
118 (comf "target:compiler/mips/sap")
119 (comf "target:compiler/mips/system")
120 (comf "target:compiler/mips/char")
121 (comf "target:compiler/mips/memory")
122 (comf "target:compiler/mips/static-fn")
123 (comf "target:compiler/mips/arith")
124 (comf "target:compiler/mips/subprim")
125 (comf "target:compiler/mips/debug")
126 (comf "target:compiler/mips/c-call")
127 (comf "target:compiler/mips/cell")
128 (comf "target:compiler/mips/values")
129 (comf "target:compiler/mips/alloc")
130 (comf "target:compiler/mips/call")
131 (comf "target:compiler/mips/nlx")
132 (comf "target:compiler/mips/print")
133 (comf "target:compiler/mips/array")
134 (comf "target:compiler/mips/pred")
135 (comf "target:compiler/mips/type-vops")
136
137 (comf "target:assembly/mips/assem-rtns")
138 (comf "target:assembly/mips/array")
139 (comf "target:assembly/mips/arith")
140 (comf "target:assembly/mips/alloc"))
141
142 (when (c:target-featurep :sparc)
143 (comf "target:compiler/sparc/insts")
144 (comf "target:compiler/sparc/macros" :load *load-stuff*)
145 (comf "target:compiler/sparc/vm")
146 (comf "target:compiler/generic/primtype")
147 (comf "target:compiler/sparc/move")
148 (comf "target:compiler/sparc/float")
149 (comf "target:compiler/sparc/sap")
150 (comf "target:compiler/sparc/system")
151 (comf "target:compiler/sparc/char")
152 (comf "target:compiler/sparc/memory")
153 (comf "target:compiler/sparc/static-fn")
154 (comf "target:compiler/sparc/arith")
155 (comf "target:compiler/sparc/subprim")
156 (comf "target:compiler/sparc/debug")
157 (comf "target:compiler/sparc/c-call")
158 (comf "target:compiler/sparc/cell")
159 (comf "target:compiler/sparc/values")
160 (comf "target:compiler/sparc/alloc")
161 (comf "target:compiler/sparc/call")
162 (comf "target:compiler/sparc/nlx")
163 (comf "target:compiler/sparc/print")
164 (comf "target:compiler/sparc/array")
165 (comf "target:compiler/sparc/pred")
166 (comf "target:compiler/sparc/type-vops")
167
168 (comf "target:assembly/sparc/support" :load *load-stuff*)
169 (comf "target:assembly/sparc/assem-rtns")
170 (comf "target:assembly/sparc/array")
171 (comf "target:assembly/sparc/arith")
172 (comf "target:assembly/sparc/alloc"))
173
174 (when (c:target-featurep :rt)
175 (comf "target:compiler/rt/insts")
176 (comf "target:compiler/rt/macros" :load *load-stuff*)
177 (comf "target:compiler/rt/vm")
178 (comf "target:compiler/rt/move")
179 (if (c:target-featurep :afpa)
180 (comf "target:compiler/rt/afpa")
181 (comf "target:compiler/rt/mc68881"))
182 (comf "target:compiler/rt/sap")
183 (comf "target:compiler/rt/system")
184 (comf "target:compiler/rt/char")
185 (comf "target:compiler/rt/memory")
186 (comf "target:compiler/rt/static-fn")
187 (comf "target:compiler/rt/arith")
188 (comf "target:compiler/rt/subprim")
189 (comf "target:compiler/rt/debug")
190 (comf "target:compiler/rt/c-call")
191 (comf "target:compiler/rt/cell")
192 (comf "target:compiler/rt/values")
193 (comf "target:compiler/rt/alloc")
194 (comf "target:compiler/rt/call")
195 (comf "target:compiler/rt/nlx")
196 (comf "target:compiler/rt/print")
197 (comf "target:compiler/rt/array")
198 (comf "target:compiler/rt/pred")
199 (comf "target:compiler/rt/type-vops")
200
201 (comf "target:assembly/rt/support" :load *load-stuff*)
202 (comf "target:assembly/rt/assem-rtns")
203 (comf "target:assembly/rt/array")
204 (comf "target:assembly/rt/arith")
205 (comf "target:assembly/rt/alloc"))
206
207 (when (c:target-featurep :hppa)
208 (comf "target:compiler/hppa/insts")
209 (comf "target:compiler/hppa/macros" :load *load-stuff*)
210 (comf "target:compiler/hppa/vm")
211 (comf "target:compiler/generic/primtype")
212 (comf "target:assembly/hppa/support" :load *load-stuff*)
213 (comf "target:compiler/hppa/move")
214 (comf "target:compiler/hppa/float")
215 (comf "target:compiler/hppa/sap")
216 (comf "target:compiler/hppa/system")
217 (comf "target:compiler/hppa/char")
218 (comf "target:compiler/hppa/memory")
219 (comf "target:compiler/hppa/static-fn")
220 (comf "target:compiler/hppa/arith")
221 (comf "target:compiler/hppa/subprim")
222 (comf "target:compiler/hppa/debug")
223 (comf "target:compiler/hppa/c-call")
224 (comf "target:compiler/hppa/cell")
225 (comf "target:compiler/hppa/values")
226 (comf "target:compiler/hppa/alloc")
227 (comf "target:compiler/hppa/call")
228 (comf "target:compiler/hppa/nlx")
229 (comf "target:compiler/hppa/print")
230 (comf "target:compiler/hppa/array")
231 (comf "target:compiler/hppa/pred")
232 (comf "target:compiler/hppa/type-vops")
233
234 (comf "target:assembly/hppa/assem-rtns")
235 (comf "target:assembly/hppa/array")
236 (comf "target:assembly/hppa/arith")
237 (comf "target:assembly/hppa/alloc"))
238
239 (when (c:target-featurep :x86)
240 (comf "target:compiler/x86/insts")
241 (comf "target:compiler/x86/macros" :load *load-stuff*)
242 (comf "target:compiler/x86/vm")
243 (comf "target:compiler/generic/primtype")
244 (comf "target:assembly/x86/support" :load *load-stuff*)
245 (comf "target:compiler/x86/move")
246 (comf "target:compiler/x86/float")
247 (comf "target:compiler/x86/sap")
248 (comf "target:compiler/x86/system")
249 (comf "target:compiler/x86/char")
250 (comf "target:compiler/x86/memory")
251 (comf "target:compiler/x86/static-fn")
252 (comf "target:compiler/x86/arith")
253 (comf "target:compiler/x86/subprim")
254 (comf "target:compiler/x86/debug")
255 (comf "target:compiler/x86/c-call")
256 (comf "target:compiler/x86/cell")
257 (comf "target:compiler/x86/values")
258 (comf "target:compiler/x86/alloc")
259 (comf "target:compiler/x86/call")
260 (comf "target:compiler/x86/nlx")
261 (comf "target:compiler/x86/print")
262 (comf "target:compiler/x86/array")
263 (comf "target:compiler/x86/pred")
264 (comf "target:compiler/x86/type-vops")
265
266 (comf "target:assembly/x86/assem-rtns")
267 (comf "target:assembly/x86/array")
268 (comf "target:assembly/x86/arith")
269 (comf "target:assembly/x86/alloc"))
270
271 (comf "target:compiler/pseudo-vops")
272
273 ); with-compilation-unit for back end.
274
275 (comf "target:compiler/aliencomp")
276 (comf "target:compiler/ltv")
277 (comf "target:compiler/gtn")
278 (with-compilation-unit
279 (:optimize '(optimize (debug-info 2) (safety 1)))
280 (comf "target:compiler/ltn"))
281 (comf "target:compiler/stack")
282 (comf "target:compiler/control")
283 (comf "target:compiler/entry")
284 (with-compilation-unit
285 (:optimize '(optimize (debug-info 2) (safety 1)))
286 (comf "target:compiler/ir2tran"))
287 (comf "target:compiler/copyprop")
288 (with-compilation-unit
289 (:optimize '(optimize (debug-info 2) (safety 1)))
290 (comf "target:compiler/represent"))
291 (comf "target:compiler/generic/vm-tran")
292 (with-compilation-unit
293 (:optimize '(optimize (debug-info 2) (safety 1)))
294 (comf "target:compiler/pack"))
295 (comf "target:compiler/codegen")
296 (with-compilation-unit
297 (:optimize '(optimize (debug-info 2) (safety 2)))
298 (comf "target:compiler/debug"))
299 (comf "target:compiler/statcount")
300 (comf "target:compiler/dyncount")
301
302 (comf "target:compiler/dump")
303
304 (comf "target:compiler/generic/core")
305 (if (c:target-featurep '(or :hppa :x86 :pmax))
306 (comf "target:compiler/generic/new-genesis")
307 (comf "target:compiler/generic/genesis"))
308
309 (comf "target:compiler/eval-comp")
310 (comf "target:compiler/eval")
311
312 ); with-compiler-error-log

  ViewVC Help
Powered by ViewVC 1.1.5