12 |
Tag: <post-commit CVS tag> |
Tag: <post-commit CVS tag> |
13 |
Description: |
Description: |
14 |
---------------------------------------------------------------------- |
---------------------------------------------------------------------- |
15 |
|
Name: Matthias Blume |
16 |
|
Date: 2000/05/15 16:20:00 JST |
17 |
|
Tag: blume-20000515-lightrebuild |
18 |
|
Description: |
19 |
|
|
20 |
|
1. I added an alternative to "-rebuild" to "makeml". The difference is |
21 |
|
that prior to calling CMB.make' the CM-variable "LIGHT" will be |
22 |
|
defined. In effect, the command will not build any cross-compiler |
23 |
|
backends and therefore finish more quickly. |
24 |
|
|
25 |
|
The "fixpt" script also takes a "-light" switch to be able to use |
26 |
|
this new facility while compiling for a fixpoint. |
27 |
|
|
28 |
|
2. I replaced all mentions of anchored paths in group owner specifications |
29 |
|
with simple relative paths (usually starting with ".."). |
30 |
|
The rationale is that a library's internal workings should not be |
31 |
|
compromised by the lack of some anchor. (An anchor is necessary |
32 |
|
for someone who wants to refer to the library by an anchored path, |
33 |
|
but it should not be necessary to build the same library in the first |
34 |
|
place.) |
35 |
|
|
36 |
|
3. I changed the way CM's tool mechanism determines the shell command |
37 |
|
string used for things like ml-yacc etc. so that it does not break |
38 |
|
when CM.Control.implicit_anchors is turned off. |
39 |
|
|
40 |
|
---------------------------------------------------------------------- |
41 |
|
Name: Matthias Blume |
42 |
|
Date: 2000/05/12 18:20:00 JST |
43 |
|
Tag: blume-20000512-ml-build |
44 |
|
Description: |
45 |
|
|
46 |
|
Fixed a bug in config/_ml-build that prevented ml-yacc and ml-lex from |
47 |
|
getting installed properly (by config/install.sh). |
48 |
|
|
49 |
|
---------------------------------------------------------------------- |
50 |
|
Name: Matthias Blume |
51 |
|
Date: 2000/05/12 17:30:00 JST |
52 |
|
Tag: blume-20000512-anchors |
53 |
|
Description: |
54 |
|
|
55 |
|
!!! NEW BOOT FILES !!! |
56 |
|
|
57 |
|
This change is in preparation of fading out support for "implicitly |
58 |
|
anchored path names". I went through all sources and used the |
59 |
|
explicit (and relatively new) $-notation. See system/README and the |
60 |
|
CM manual for more info on this. |
61 |
|
|
62 |
|
I also modified the anchoring scheme for some things such as "smlnj", |
63 |
|
"MLRISC", "cm", etc. to take advantage of the fact that explicit |
64 |
|
anchors are more expressive: anchor name and first arc do not have to |
65 |
|
coincide. This entails the following user-visible change: |
66 |
|
|
67 |
|
You have to write $smlnj/foo/bar instead of smlnj/foo/bar. In |
68 |
|
particular, when you fire up sml with a command-line argument, say, |
69 |
|
e.g.: |
70 |
|
|
71 |
|
sml '$smlnj/cmb.cm' |
72 |
|
|
73 |
|
At the ML toplevel prompt: |
74 |
|
|
75 |
|
CM.autoload "$smlnj/cmb.cm"; |
76 |
|
|
77 |
|
There is also a new controller in CM.Control that can be used to turn |
78 |
|
off all remaining support for implicit anchors by saying: |
79 |
|
|
80 |
|
CM.autoload "$smlnj/ |
81 |
|
#set CM.Control.implicit_anchors false; |
82 |
|
|
83 |
|
This causes CM to reject implicitly anchored paths. This is (for the |
84 |
|
time being) less permissive than the "final" version where there will |
85 |
|
be no more such implicit anchors and relative paths will be just that: |
86 |
|
relative. |
87 |
|
|
88 |
|
The next step (version after next version?) will be to make the |
89 |
|
default for CM.Control.implicit_anchors false. After the dust has |
90 |
|
settled, I can then produce the "final" version of this... |
91 |
|
|
92 |
|
Note: Since bootstrapping is a bit tricky, I provided new boot files. |
93 |
|
|
94 |
|
---------------------------------------------------------------------- |
95 |
|
Name: Matthias Blume |
96 |
|
Date: 2000/05/11 16:30:00 JST |
97 |
|
Tag: blume-20000511-sources |
98 |
|
Description: |
99 |
|
|
100 |
|
The main change is that I added function CM.sources as a generalized |
101 |
|
version of the earlier CM.makedepend. This entails the following |
102 |
|
additional changes: |
103 |
|
|
104 |
|
- CM.makedepend has been dropped. |
105 |
|
|
106 |
|
- CM manual has been updated. |
107 |
|
|
108 |
|
- TOOLS signature and API have been changed. |
109 |
|
|
110 |
|
---------------------------------------------------------------------- |
111 |
|
Name: Allen Leung |
112 |
|
Date: 2000/05/10 21:17 EDT |
113 |
|
Tag: leunga-20000510-moby-c--ssa |
114 |
|
Description: |
115 |
|
|
116 |
|
Various bug fixes and new features for C--, Moby and MLRISC optimizations. |
117 |
|
None of these affect SML/NJ. |
118 |
|
|
119 |
|
1. Register Allocation |
120 |
|
|
121 |
|
a. A new ra spilling module (ra/ra-spill-with-renaming) is implemented. |
122 |
|
This module tries to remove local (i.e. basic block level) redundancies |
123 |
|
during spilling. |
124 |
|
|
125 |
|
b. A new framework for performing region based register allocation. |
126 |
|
Not yet entirely functional. |
127 |
|
|
128 |
|
2. X86 |
129 |
|
|
130 |
|
a. DefUse for POP was missing the stack pointer [found by Lal] |
131 |
|
b. Reload for CALL was incorrect in X86Spill [found by John] |
132 |
|
c. Various fixes in X86Spill so that it can be used correctly for |
133 |
|
the new spilling module. |
134 |
|
|
135 |
|
3. SSA/IR |
136 |
|
|
137 |
|
a. New module ir/dj-dataflow.sml implements elimination based |
138 |
|
data flow analysis. |
139 |
|
|
140 |
|
4. MLRiscGen |
141 |
|
|
142 |
|
a. Fix for gc type annotation |
143 |
|
|
144 |
|
5. MDGen |
145 |
|
|
146 |
|
Various fixes for machine description -> ml code translation. For ssa |
147 |
|
only. |
148 |
|
|
149 |
|
---------------------------------------------------------------------- |
150 |
|
Name: Allen Leung |
151 |
|
Date: 2000/05/08 22:17 EDT |
152 |
|
Tag: leunga-20000508-labexp |
153 |
|
Description: |
154 |
|
|
155 |
|
Fermin has found a few assembly problems with constant expressions |
156 |
|
generated in LabelExp. Mostly, the problems involve extra parentheses, |
157 |
|
which choke on dumb assemblers. This is his fix. |
158 |
|
|
159 |
|
---------------------------------------------------------------------- |
160 |
|
Name: Dave MacQueen |
161 |
|
Date: 2000/04/09 14:00 EDT |
162 |
|
Tag: dbm-20000502-Version_110_28 |
163 |
|
Description: |
164 |
|
|
165 |
|
1. Updated src/compiler/TopLevel/main/version.sml to version 110.28 |
166 |
|
|
167 |
|
2. Updated config/version to 110.28 |
168 |
|
|
169 |
|
3. Updated config/srcarchiveurl |
170 |
|
|
171 |
|
3. New boot files! |
172 |
|
ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.28/ |
173 |
|
|
174 |
|
---------------------------------------------------------------------- |
175 |
|
Name: Matthias Blume |
176 |
|
Date: 2000/05/01 19:05:00 JST |
177 |
|
Tag: blume-20000501-noweb |
178 |
|
Description: |
179 |
|
|
180 |
|
A new noweb tool has been added. The existing system is entirely |
181 |
|
unaffected by this, but some CM users have asked for renewed noweb |
182 |
|
support. Everything is documented in the CM manual. |
183 |
|
|
184 |
|
New (plugin) libraries: |
185 |
|
|
186 |
|
noweb-tool.cm |
187 |
|
nw-ext.cm |
188 |
|
|
189 |
|
---------------------------------------------------------------------- |
190 |
|
Name: Dave MacQueen |
191 |
|
Date: 2000/04/30 12:40PM EDT |
192 |
|
Tag: dbm-20000430-bug_fixes |
193 |
|
Description: |
194 |
|
|
195 |
|
1. Fix for bug 1498 |
196 |
|
smlnj/src/system/Basis/Implementation/Unsafe/object.sig |
197 |
|
smlnj/src/system/Basis/Implementation/Unsafe/object.sml |
198 |
|
added toRealArray function |
199 |
|
smlnj/src/compiler/MiscUtil/print/ppobj.sml |
200 |
|
added check for tag Obj.RealArray to array printing case in ppObj |
201 |
|
|
202 |
|
2. Fix for bug 1510 |
203 |
|
smlnj/src/compiler/Semant/types/typesutil.sml |
204 |
|
fixed definition of dummyargs (used by equalTycon) so that |
205 |
|
dummy args are distinct types |
206 |
|
|
207 |
|
---------------------------------------------------------------------- |
208 |
|
Name: Matthias Blume |
209 |
|
Date: 2000/04/30 01:00:00 JST |
210 |
|
Tag: blume-20000430-versions |
211 |
|
Description: |
212 |
|
|
213 |
|
1. CM version numbering added. This is an implementation of Lal's |
214 |
|
proposal for adding version numbers and version checking to .cm |
215 |
|
files. Lal said that his proposal was just that -- a proposal. |
216 |
|
For the time being I went ahead and implemented it so that people |
217 |
|
can comment on it. Everything is completely backward-compatible |
218 |
|
(except for the stable library format, i.e., new bootfiles!). |
219 |
|
|
220 |
|
As usual, see the CM manual for details. |
221 |
|
|
222 |
|
2. An alternative syntax for anchored paths has been implemented. |
223 |
|
Dave has recently voiced the same concerns that I had when I did |
224 |
|
this, so there should be some support. My take is that eventually |
225 |
|
I will let support for the current syntax (where anchors are |
226 |
|
"implicit") fade out in favor of the new, explicit syntax. |
227 |
|
In order to be backward-compatible, both old and new syntax are |
228 |
|
currently supported. |
229 |
|
|
230 |
|
Again, see the CM manual for details. |
231 |
|
|
232 |
|
3. Parallel make is trying to be slightly smarter: When the master |
233 |
|
process finds a "bottleneck", i.e., when there is only one |
234 |
|
compilation unit that can be compiled and everybody else is |
235 |
|
waiting on it, then it will simply compile it directly instead |
236 |
|
of clumsily telling one of the slaves to do it. |
237 |
|
|
238 |
|
4. Support for "unsharing" added. This is necessary in order to be |
239 |
|
able to have two different versions of the same library running |
240 |
|
at the same time (e.g., for trying out a new MLRISC while still |
241 |
|
having the old MLRISC linked into the current compiler, etc.) |
242 |
|
See the CM manual. |
243 |
|
|
244 |
|
5. Simple "makedepend" functionality added for generating Makefile |
245 |
|
dependency information. (This is rather crude at the moment. |
246 |
|
Expect some changes here in the future.) |
247 |
|
|
248 |
|
6. ".fun" added as a recognized suffix for ML files. Also documented |
249 |
|
explicitly in the manual that the fallback behavior (unknown suffix |
250 |
|
-> ML file) is not an official feature! |
251 |
|
|
252 |
|
7. Small changes to the pickler for stable libraries. |
253 |
|
|
254 |
|
8. Several internal changes to CM (for cleanup/improvement). |
255 |
|
|
256 |
|
|
257 |
|
!!!! NEW BINFILES !!!! |
258 |
|
|
259 |
|
---------------------------------------------------------------------- |
260 |
|
Name: Matthias Blume |
261 |
|
Date: 2000/04/28 17:30:00 JST |
262 |
|
Tag: blume-20000428-pathconfig |
263 |
|
Description: |
264 |
|
|
265 |
|
1. I changed config/install.sh to remove duplicate entries from the |
266 |
|
lib/pathconfig file at the end. Moreover, the final version of |
267 |
|
lib/pathconfig is sorted alphabetically. The same (sorting) is done |
268 |
|
in src/system/installml. |
269 |
|
|
270 |
|
2. The config/install.sh script now consistently uses relative |
271 |
|
pathnames in lib/pathconfig whenever the anchor is in the lib |
272 |
|
directory. (So far this was true for the libraries that come |
273 |
|
pre-compiled and bundled as part of the bootfiles but not for |
274 |
|
libraries that are compiled by the script itself.) |
275 |
|
|
276 |
|
---------------------------------------------------------------------- |
277 |
|
Name: Matthias Blume |
278 |
|
Date: 2000/04/26 13:10:00 JST |
279 |
|
Tag: blume-20000426-fun_suffix |
280 |
|
Description: |
281 |
|
|
282 |
|
Added ".fun" as a recognized file name suffix (for ML code). |
283 |
|
|
284 |
|
---------------------------------------------------------------------- |
285 |
|
Name: Allen Leung |
286 |
|
Date: 2000/04/25 17:00:00 EST |
287 |
|
Tag: leunga-20000425-alpha-ra |
288 |
|
Description: |
289 |
|
|
290 |
|
1. Alpha |
291 |
|
|
292 |
|
PSEUDOARITH was missing in AlphaRewrite. This causes an endless loop |
293 |
|
in C--. |
294 |
|
|
295 |
|
2. RA |
296 |
|
|
297 |
|
Added a flag "ra-dump-size" to print out the size of the flowgraph |
298 |
|
and the interference graph. |
299 |
|
|
300 |
|
---------------------------------------------------------------------- |
301 |
|
Name: Dave MacQueen |
302 |
|
Date: 2000/04/25/ |
303 |
|
Tag: dbm-20000425-mlyacc_doc_examples |
304 |
|
Description: |
305 |
|
Updated mlyacc.tex sections 5 and 7 for SML '97 and CM. |
306 |
|
Updated all three examples in src/ml-yacc/examples to run |
307 |
|
under 110.* using CM.make. |
308 |
|
|
309 |
|
---------------------------------------------------------------------- |
310 |
|
Name: Allen Leung |
311 |
|
Date: 2000/04/20 23:04:00 EST |
312 |
|
Tag: leunga-20000420-ssa-c---stuff |
313 |
|
Description: |
314 |
|
|
315 |
|
This update synchronizes my repository with Yale's. Most of these |
316 |
|
changes, however, do not affect SML/NJ at all (the RA is an exception). |
317 |
|
|
318 |
|
1. Register Allocator |
319 |
|
|
320 |
|
a. An improvement in the interference graph construction: |
321 |
|
Given a copy |
322 |
|
|
323 |
|
s <- t |
324 |
|
|
325 |
|
no interference edge between s and t is added for this definition of s. |
326 |
|
|
327 |
|
b. I've added two new spill heuristic modules that Fermin and I developed |
328 |
|
(in the new library RA.cm). These are unused in SML/NJ but maybe |
329 |
|
useful for others (Moby?) |
330 |
|
|
331 |
|
2. X86 |
332 |
|
|
333 |
|
a. Various fixes in the backend provided by Fermin [C--] and Lal. |
334 |
|
|
335 |
|
3. Alpha |
336 |
|
|
337 |
|
a. Added the BSR instruction and code generation that goes with it [C--] |
338 |
|
b. Other fixes too numerous to recount provided by Fermin [C--] |
339 |
|
|
340 |
|
4. Regmaps |
341 |
|
|
342 |
|
a. The regmaps are not initialized with the identity physical bindings |
343 |
|
at creation time. This is unneeded. |
344 |
|
|
345 |
|
5. MLRISC Optimizations |
346 |
|
|
347 |
|
a. The DJ-Graph module can now compute the iterated dominance frontiers |
348 |
|
intersects with liveness incrementally in linear time! Woohoo! |
349 |
|
This is now used in my new SSA construction algorithm. |
350 |
|
|
351 |
|
b. THe branch reorganization module is now smarter about linear chains of |
352 |
|
basic blocks. |
353 |
|
|
354 |
|
|
355 |
|
---------------------------------------------------------------------- |
356 |
|
Name: Matthias Blume |
357 |
|
Date: 2000/04/12 13:52:00 JST |
358 |
|
Tag: blume_main_v110p27_1 |
359 |
|
Description: |
360 |
|
|
361 |
|
Changed install.sh script to handle archive files without version number |
362 |
|
and to use "boot.<arch>-<os>" instead of "sml.boot.<arch>-<os>" for the |
363 |
|
name of the boot file archive. |
364 |
|
|
365 |
|
---------------------------------------------------------------------- |
366 |
|
Name: Dave MacQueen |
367 |
|
Date: 2000/04/09 14:00 EDT |
368 |
|
Tag: dbm-20000410-Version_110_27 |
369 |
|
Description: |
370 |
|
|
371 |
|
1. Updated src/compiler/TopLevel/main/version.sml to version 110.27 |
372 |
|
|
373 |
|
2. Updated src/config/version to 110.27 |
374 |
|
|
375 |
|
3. New boot files! |
376 |
|
|
377 |
|
---------------------------------------------------------------------- |
378 |
|
Name: Allen Leung |
379 |
|
Date: 2000/04/09 19:09:00 EST |
380 |
|
Tag: leunga-20000409-misc |
381 |
|
Description: |
382 |
|
|
383 |
|
1. Yet another fix for x86 assembly for idivl, imull, mull and friends. |
384 |
|
|
385 |
|
2. Miscellaneous improvements to MLRISC (unused in sml/nj) |
386 |
|
|
387 |
|
---------------------------------------------------------------------- |
388 |
|
Name: Stefan |
389 |
|
Date: 2000/04/07 10:00:00 EDT |
390 |
|
Tag: monnier-20000406-branch-handling |
391 |
|
Description: |
392 |
|
|
393 |
|
Improved handling of branches (mostly those generated from |
394 |
|
polymorphic equality), removed switchoff and changed the |
395 |
|
default optimization settings (more cpsopt and less flintopt). |
396 |
|
|
397 |
|
---------------------------------------------------------------------- |
398 |
|
Name: Allen Leung |
399 |
|
Date: 2000/04/06 01:30:00 EST |
400 |
|
Tag: leunga-20000406-peephole-x86-SSA-2 |
401 |
|
Description: |
402 |
|
|
403 |
|
Forgot a few files. |
404 |
|
|
405 |
|
---------------------------------------------------------------------- |
406 |
|
Name: Allen Leung |
407 |
|
Date: 2000/04/06 00:36:00 EST |
408 |
|
Tag: leunga-20000406-peephole-x86-SSA |
409 |
|
Description: |
410 |
|
|
411 |
|
1. New Peephole code |
412 |
|
|
413 |
|
2. Minor improvement to X86 instruction selection |
414 |
|
|
415 |
|
3. Various fixes to SSA and machine description -> code translator |
416 |
|
|
417 |
|
---------------------------------------------------------------------- |
418 |
|
Name: Matthias Blume |
419 |
|
Date: 2000/04/05 12:30:00 JST |
420 |
|
Tag: blume_main_v110p26p2_3 |
421 |
|
Description: |
422 |
|
|
423 |
|
This update just merges three minor cosmetic updates to CM's sources |
424 |
|
to get ready for the 110.27 code freeze on Friday. No functionality |
425 |
|
has changed. |
426 |
|
|
427 |
|
---------------------------------------------------------------------- |
428 |
|
Name: Allen Leung |
429 |
|
Date: 2000/04/04 19:39:00 EST |
430 |
|
Tag: leunga-20000404-x86-asm |
431 |
|
Description: |
432 |
|
|
433 |
|
1. Fixed a problem in X86 assembly. |
434 |
|
|
435 |
|
Things like |
436 |
|
|
437 |
|
jmp %eax |
438 |
|
jmp (%eax) |
439 |
|
|
440 |
|
should be output as |
441 |
|
|
442 |
|
jmp *%eax |
443 |
|
jmp *(%eax) |
444 |
|
|
445 |
|
2. Assembly output |
446 |
|
|
447 |
|
Added a new flag |
448 |
|
|
449 |
|
"asm-indent-copies" (default to false) |
450 |
|
|
451 |
|
When this flag is on, parallel copies will be indented an extra level. |
452 |
|
|
453 |
|
---------------------------------------------------------------------- |
454 |
|
Name: Allen Leung |
455 |
|
Date: 2000/04/04 03:18:00 EST |
456 |
|
Tag: leunga-20000404-C--Moby |
457 |
|
Description: |
458 |
|
|
459 |
|
All of these fixes are related to C--, Moby, and my own optimization |
460 |
|
stuff; so they shouldn't affect SML/NJ. |
461 |
|
|
462 |
|
1. X86 |
463 |
|
|
464 |
|
Various fixes related floating point, and extensions. |
465 |
|
|
466 |
|
2. Alpha |
467 |
|
|
468 |
|
Some extra patterns related to loads with signed/zero extension |
469 |
|
provided by Fermin. |
470 |
|
|
471 |
|
3. Assembly |
472 |
|
|
473 |
|
When generating assemby, resolve the value of client defined constants, |
474 |
|
instead of generating symbolic values. This is controlled by the |
475 |
|
new flag "asm-resolve-constants", which is default to true. |
476 |
|
|
477 |
|
4. Machine Descriptions |
478 |
|
|
479 |
|
a. The precedence parser was slightly broken when parsing infixr symbols. |
480 |
|
b. The type generalizing code had the bound variables reversed, resulting |
481 |
|
in a problem during arity raising. |
482 |
|
c. Various fixes in machine descriptions. |
483 |
|
|
484 |
|
---------------------------------------------------------------------- |
485 |
|
Name: Matthias Blume |
486 |
|
Date: 2000/04/03 16:05:00 JST |
487 |
|
Tag: blume_main_v110p26p2_2 |
488 |
|
Description: |
489 |
|
|
490 |
|
I eliminated coreEnv from compInfo. Access to the "Core" structure is |
491 |
|
now done via the ordinary static environment that is context to each |
492 |
|
compilation unit. |
493 |
|
|
494 |
|
To this end, I arranged that instead of "structure Core" as "structure |
495 |
|
_Core" is bound in the pervasive environment. Core access is done via |
496 |
|
_Core (which can never be accidentially rebound because _Core is not a |
497 |
|
legal surface-syntax symbol). |
498 |
|
|
499 |
|
The current solution is much cleaner because the core environment is |
500 |
|
now simply part of the pervasive environment which is part of every |
501 |
|
compilation unit's context anyway. In particular, this eliminates all |
502 |
|
special-case handling that was necessary until now in order to deal |
503 |
|
with dynamic and symbolic parts of the core environment. |
504 |
|
|
505 |
|
Remaining hackery (to bind the "magic" symbol _Core) is localized in the |
506 |
|
compilation mananger's bootstrap compiler (actually: in the "init group" |
507 |
|
handling). See the comments in src/system/smlnj/init/init.cmi for |
508 |
|
more details. |
509 |
|
|
510 |
|
I also tried to track down all mentions of "Core" (as string argument |
511 |
|
to Symbol.strSymbol) in the compiler and replaced them with a |
512 |
|
reference to the new CoreSym.coreSym. Seems cleaner since the actual |
513 |
|
name appears in one place only. |
514 |
|
|
515 |
|
Binfile and bootfile format have not changed, but the switchover from |
516 |
|
the old "init.cmi" to the new one is a bit tricky, so I supplied new |
517 |
|
bootfiles anyway. |
518 |
|
|
519 |
|
---------------------------------------------------------------------- |
520 |
Name: Allen Leung |
Name: Allen Leung |
521 |
Date: 2000/04/02 21:17:00 EST |
Date: 2000/04/02 21:17:00 EST |
522 |
Tag: leunga-20000402-mltree |
Tag: leunga-20000402-mltree |