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

Contents of /src/tools/comcom.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.38 - (hide annotations)
Sun Dec 13 15:28:56 1992 UTC (21 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.37: +2 -1 lines
Added vm-ir2tran.
1 wlott 1.1 ;;; -*- Package: User -*-
2     ;;;
3     (in-package "USER")
4    
5 ram 1.12 #+bootstrap
6 ram 1.36 (copy-packages (cons (c::backend-name c::*target-backend*) '("NEW-ASSEM" "C")))
7 ram 1.9
8 wlott 1.35 (defparameter *load-stuff*
9     #+bootstrap t
10     #-bootstrap (eq c:*backend* c:*native-backend*))
11 wlott 1.13
12 ram 1.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 wlott 1.1
19 ram 1.16 (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 ram 1.18 (debug-info #+small .5 #-small 2))
25 ram 1.16 :optimize-interface
26     '(optimize-interface (safety #+small 1 #-small 2)
27 wlott 1.30 (debug-info #+small .5 #-small 2))
28 ram 1.16 :context-declarations
29     '(#+small
30     ((:or :macro
31     (:match "$SOURCE-TRANSFORM-" "$IR1-CONVERT-"
32     "$PRIMITIVE-TRANSLATE-" "$PARSE-"))
33     (declare (optimize (safety 1))))
34 ram 1.18 (:external (declare (optimize-interface (safety 2) (debug-info 1))))))
35 wlott 1.1
36 wlott 1.13 (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 wlott 1.1
40 ram 1.12 (defvar c::*target-backend* (c::make-backend))
41 wlott 1.1
42 wlott 1.30 (when (c:target-featurep :pmax)
43 wlott 1.17 (comf "target:compiler/mips/parms" :proceed t))
44 wlott 1.30 (when (c:target-featurep :sparc)
45 wlott 1.17 (comf "target:compiler/sparc/parms" :proceed t))
46 wlott 1.30 (when (c:target-featurep :rt)
47 wlott 1.17 (comf "target:compiler/rt/params" :proceed t))
48 wlott 1.30 (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 wlott 1.17 (comf "target:compiler/generic/objdef" :proceed t)
53 wlott 1.27 (comf "target:compiler/generic/interr")
54 wlott 1.1
55 ram 1.12 (comf "target:code/struct") ; For defstruct description structures.
56     (comf "target:compiler/proclaim") ; For COOKIE structure.
57     (comf "target:compiler/globals")
58 wlott 1.1
59 ram 1.12 (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 wlott 1.34 (comf "target:compiler/vmdef")
67     (comf "target:compiler/meta-vmdef" :load *load-stuff* :proceed t)
68 wlott 1.1
69 wlott 1.31 (comf "target:compiler/disassem")
70 wlott 1.28 (comf "target:compiler/new-assem")
71 ram 1.12 (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 wlott 1.1
77 ram 1.16 (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 ram 1.12 (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 wlott 1.24 (comf "target:compiler/saptran")
91 ram 1.12 (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 ram 1.6
97 ram 1.12 (comf "target:compiler/tn")
98     (comf "target:compiler/bit-util")
99     (comf "target:compiler/life")
100 ram 1.4
101 ram 1.12 (comf "target:code/debug-info")
102 ram 1.4
103 ram 1.12 (comf "target:compiler/debug-dump")
104     (comf "target:compiler/generic/utils")
105 wlott 1.13 (comf "target:assembly/assemfile" :load *load-stuff*)
106 wlott 1.1
107 ram 1.16 (with-compilation-unit
108 wlott 1.30 (:optimize '(optimize (safety #+small 0 #-small 1) #+small (debug-info 1)))
109 ram 1.16
110 wlott 1.30 (when (c:target-featurep :pmax)
111 wlott 1.22 (comf "target:compiler/mips/insts")
112     (comf "target:compiler/mips/macros" :load *load-stuff*)
113 ram 1.12 (comf "target:compiler/mips/vm")
114     (comf "target:compiler/generic/primtype")
115 wlott 1.13 (comf "target:assembly/mips/support" :load *load-stuff*)
116 ram 1.12 (comf "target:compiler/mips/move")
117 wlott 1.25 (comf "target:compiler/mips/float")
118 ram 1.12 (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 wlott 1.1
137 ram 1.12 (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 wlott 1.1
142 wlott 1.30 (when (c:target-featurep :sparc)
143 ram 1.12 (comf "target:compiler/sparc/insts")
144 wlott 1.13 (comf "target:compiler/sparc/macros" :load *load-stuff*)
145 ram 1.12 (comf "target:compiler/sparc/vm")
146     (comf "target:compiler/generic/primtype")
147     (comf "target:compiler/sparc/move")
148 wlott 1.26 (comf "target:compiler/sparc/float")
149 ram 1.12 (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 wlott 1.1
168 wlott 1.13 (comf "target:assembly/sparc/support" :load *load-stuff*)
169 ram 1.12 (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 wlott 1.17
174 wlott 1.30 (when (c:target-featurep :rt)
175 wlott 1.17 (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 wlott 1.30 (if (c:target-featurep :afpa)
180 wlott 1.26 (comf "target:compiler/rt/afpa")
181     (comf "target:compiler/rt/mc68881"))
182 wlott 1.17 (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 wlott 1.1
207 wlott 1.30 (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 ram 1.12 (comf "target:compiler/pseudo-vops")
272 ram 1.14
273 ram 1.16 ); with-compilation-unit for back end.
274 wlott 1.1
275 ram 1.12 (comf "target:compiler/aliencomp")
276 wlott 1.21 (comf "target:compiler/ltv")
277 ram 1.12 (comf "target:compiler/gtn")
278 ram 1.16 (with-compilation-unit
279     (:optimize '(optimize (debug-info 2) (safety 1)))
280     (comf "target:compiler/ltn"))
281 ram 1.12 (comf "target:compiler/stack")
282     (comf "target:compiler/control")
283     (comf "target:compiler/entry")
284 ram 1.16 (with-compilation-unit
285     (:optimize '(optimize (debug-info 2) (safety 1)))
286 wlott 1.38 (comf "target:compiler/ir2tran")
287     (comf "target:compiler/generic/vm-ir2tran"))
288 ram 1.12 (comf "target:compiler/copyprop")
289 ram 1.16 (with-compilation-unit
290     (:optimize '(optimize (debug-info 2) (safety 1)))
291     (comf "target:compiler/represent"))
292 ram 1.12 (comf "target:compiler/generic/vm-tran")
293 ram 1.16 (with-compilation-unit
294     (:optimize '(optimize (debug-info 2) (safety 1)))
295     (comf "target:compiler/pack"))
296 ram 1.12 (comf "target:compiler/codegen")
297 ram 1.23 (with-compilation-unit
298     (:optimize '(optimize (debug-info 2) (safety 2)))
299     (comf "target:compiler/debug"))
300 ram 1.12 (comf "target:compiler/statcount")
301     (comf "target:compiler/dyncount")
302 ram 1.3
303 ram 1.12 (comf "target:compiler/dump")
304 wlott 1.1
305 ram 1.12 (comf "target:compiler/generic/core")
306 wlott 1.37 (comf "target:compiler/generic/new-genesis")
307 wlott 1.1
308 ram 1.12 (comf "target:compiler/eval-comp")
309     (comf "target:compiler/eval")
310 wlott 1.1
311     ); with-compiler-error-log

  ViewVC Help
Powered by ViewVC 1.1.5