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