Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/HISTORY
ViewVC logotype

Diff of /sml/trunk/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 576, Fri Mar 10 07:27:16 2000 UTC revision 673, Wed Jun 21 08:57:07 2000 UTC
# Line 12  Line 12 
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14  ----------------------------------------------------------------------  ----------------------------------------------------------------------
15    Name: Matthias Blumen
16    Date: 2000/06/21 18:00:00 JST
17    Tag: blume-20000621-manual
18    Description:
19    
20    CM manual update: Path environments documented.
21    
22    ----------------------------------------------------------------------
23    Name: Matthias Blume
24    Date: 2000/06/19 13:40:00
25    Tag: blume-20000619-manual
26    Description:
27    
28    CM manual and system/README update.  This only covers the fact that
29    there are no more implicit anchors.  (Path environments and the "bind"
30    option to "cm" have yet to be documented.)
31    
32    ----------------------------------------------------------------------
33    Name: Matthias Blume
34    Date: 2000/06/19 11:05:00 JST
35    Tag: blume-20000619-chdir-bugfix
36    Description:
37    
38    Fixed a bug in new SrcPath module that sometimes led to a bad chDir call.
39    
40    ----------------------------------------------------------------------
41    Name: Matthias Blume
42    Date: 2000/06/18 22:00:10 JST
43    Tag: blume-20000618-implicit-anchors-really-gone
44    Description:
45    
46    I updates the previous HISTORY entry where I forgot to mention that
47    implicit anchors are no longer with us.
48    
49    The current update also gets rid of the (now useless) controller
50    CM.Control.implicit_anchors.
51    
52    ----------------------------------------------------------------------
53    Name: Matthias Blume
54    Date: 2000/06/16 17:30:00 JST
55    Tag: blume-20000616-anchorenv
56    Description:
57    
58    This patch implements the long anticipated (just kidding :) "anchor
59    environment" mechanism.  In the course of doing this, I also
60    re-implemented CM's internal "SrcPath" module from scratch.  The new
61    one should be more robust in certain boundary cases.  In any case, it
62    is a lot cleaner than its predecessor (IMHO).
63    
64    This time, although there is yet another boot file format change, I
65    kept the unpickler backward-compatible.  As a result, no new bootfiles
66    are necessary and bootstrapping is straightforward.  (You cannot read
67    new bootfiles into an old system, but the other way around is no
68    problem.)
69    
70    Visible changes:
71    
72    ** 0. Implicit path anchors (without the leading $-symbol) are no
73    longer recognized at all. This means that such path names are not
74    illegal either.  For example, the name basis.cm simply refers to a
75    local file called "basis.cm" (i.e, the name is an ordinary path
76    relative to .cm-files directory).  Or, to put it differently, only
77    names that start with $ are anchored paths.
78    
79    ** 1. The $<singlearc> abbreviation for $/<singlearc> has finally
80    vanished.
81    
82    John (Reppy) had critizised this as soon as I originally proposed and
83    implemented it, but at that time I did not really deeply believe
84    him. :) Now I came full-circle because I need the $<singlearc> syntax
85    in another place where it cannot be seen as an abbreviation for
86    $/<singlearc>.  To avoid the confusion, $<singlearc> now means what it
87    seems to mean (i.e., it "expands" into the corresponding anchor
88    value).
89    
90    However, when paths are used as members in CM description files, it
91    continues to be true that there must be at least another arc after the
92    anchor.  This is now enforced separately during semantic analysis
93    (i.e., from a lexical/syntactical point of view, the notation is ok.)
94    
95    ** 2. The "cm" class now accepts an option "bind".  The option's value
96    is a sub-option list of precisely two items -- one labeled "anchor"
97    and the other one labeled "value".  As you might expect, "anchor" is
98    used to specify an anchor name to be bound, and "value" specifies what
99    the anchor is being bound to.
100    
101    The value must be a directory name and can be given in either standard
102    syntax (including the possibility that it is itself an anchored path)
103    or native syntax.
104    
105    Examples:
106    
107       foo.cm (bind:(anchor:bar value:$mystuff/bar))
108       lib.cm (bind:(anchor:a value:"H:\\x\\y\\z"))  (* only works under windows *)
109    
110    and so on.
111    
112    The meaning of this is that the .cm-file will be processed with an
113    augmented anchor environment where the given anchor(s) is/are bound to
114    the given values(s).
115    
116    The rationale for having this feature is this: Suppose you are trying
117    to use two different (already stable) libraries a.cm and b.cm (that
118    you perhaps didn't write yourself).  Further, suppose each of these
119    two libraries internally uses its own auxiliary library $aux/lib.cm.
120    Normally you would now have a problem because the anchor "lib" can not
121    be bound to more than one value globally.  Therefore, the project that
122    uses both a.cm and b.cm must locally redirect the anchor to some other
123    place:
124    
125       a.cm (bind:(anchor:lib value:/usr/lib/smlnj/a-stuff))
126       b.cm (bind:(anchor:lib value:/usr/lib/smlnj/b-stuff))
127    
128    This hard-wires $lib/aux.cm to /usr/lib/smlnj/a-stuff/aux.cm or
129    /usr/lib/smlnj/b-stuff/aux.cm, respectively.
130    
131    Hard-wiring path names is a bit inflexible (and CM will verbosely warn
132    you when you do so at the time of CM.stabilize).  Therefore, you can
133    also use an anchored path as the value:
134    
135      a.cm (bind:(anchor:lib value:$a-lib))
136      b.cm (bind:(anchor:lib value:$b-lib))
137    
138    Now you can globally configure (using the usual CM.Anchor.anchor or
139    pathconfig machinery) bindings for "a-lib" and "b-lib".  Since "lib"
140    itself is always locally bound, setting it globally is no longer
141    meaningful or necessary (but it does not hurt either).  In fact, "lib"
142    can still be used as a global anchor for separate purposes.  As a
143    matter of fact, one can locally define "lib" in terms of a global
144    "lib":
145    
146      a.cm (bind:(anchor:lib value:$lib/a))
147      b.cm (bind:(anchor:lib value:$lib/b))
148    
149    ** 3: The encoding of path names has changed.  This affects the way
150    path names are shown in CM's progress report and also the internal
151    protocol encoding used for parallel make.
152    
153    The encoding now uses one or more ':'-separated segments.  Each
154    segments corresponds to a file that has been specified relative to the
155    file given by its preceding segment.  The first segment is either
156    relative to the CWD, absolute, or anchored.  Each segment itself is
157    basically a Unix pathname; all segments but the first are relative.
158    
159    Example:
160    
161       $foo/bar/baz.cm:a/b/c.sml
162    
163    This path denotes the file bar/a/b/c.sml relative to the directory
164    denoted by anchor "foo".  Notice that the encoding also includes
165    baz.cm which is the .cm-file that listed a/b/c.sml.  As usual, such
166    paths are resolved relative to the .cm-files directory, so baz.cm must
167    be ignored to get the "real" pathname.
168    
169    To make this fact more obvious, CM puts the names of such "virtual
170    arcs" into parentheses when they appear in progress reports. (No
171    parentheses will appear in the internal protocol encoding.)  Thus,
172    what you really see is:
173    
174      $foo/bar/(baz.cm):a/b/c.sml
175    
176    I find this notation to be much more informative than before.
177    
178    Another new feature of the encoding is that special characters
179    including parentheses, colons, (back)slashes, and white space are
180    written as \ddd (where ddd is the decimal encoding of the character).
181    
182    *** The CM manual still needs to be updated.
183    
184    ----------------------------------------------------------------------
185    Name: Allen Leung
186    Date: 2000/06/15 00:38:00
187    Tag: leunga-20000615-x86-peephole
188    
189    x86 Peephole fix by Fermin.  Affects c-- and moby only.
190    
191    ----------------------------------------------------------------------
192    Name: Matthias Blume
193    Date: 2000/06/12 11:40:00
194    Tag: blume-20000612-parmakefix
195    Description:
196    
197    More cleanup after changing the file naming scheme: This time I
198    repaired the parallel make mechanism for CMB.make which I broke earlier.
199    
200    ----------------------------------------------------------------------
201    Name: Allen Leung
202    Date: 2000/06/09 01:25:00
203    Tag: leunga-20000609-various
204    
205    None of these things should affect normal SML/NJ operations
206    
207    1. Peephole improvements provided by Fermin (c--)
208    2. New annotation DEFUSE for adding extra dependence (moby)
209    3. New X86 LOCK instructions (moby)
210    4. New machine description language for reservation tables (scheduling)
211    5. Fixes to various optimization/analysis modules (branch chaining, dominator
212       trees etc.)
213    6. I've changed the CM files so that they can work with versions
214       110.0.6, 110.25 and 110.28
215    
216    ----------------------------------------------------------------------
217    Name: Matthias Blume
218    Date: 2000/06/09 12:40:00
219    Tag: blume-20000609-log
220    Description:
221    
222    - Removed all(?) remaining RCS Log entries from sources.
223    
224    - Fixed bug in ml-yacc and ml-lex sources (use explicit anchors for
225      anchored paths).
226    
227    ----------------------------------------------------------------------
228    Name: Matthias Blume
229    Date: 2000/06/07 17:00:00 JST
230    Tag: blume-20000607-no-implicit-anchors
231    Description:
232    
233    1. This update changes the default setting for
234    CM.Control.implicit_anchors from true to false.  This means that
235    implicit anchors are no longer permitted by default.  I also tried to
236    make sure that nothing else still relies on implicit anchors.
237    (This is the next step on the schedule towards a CM that does not even
238    have the notion of implicit anchors anymore.)
239    
240    2. More CM manual updates.
241    
242    3. I managed to track down and fix the pickling bug I mentioned last
243    time.  Because of the previously existing workaround, this entails no
244    immediate practical changes.
245    
246    ----------------------------------------------------------------------
247    Name: Matthias Blume
248    Date: 2000/06/06 11:15:00 JST
249    Tag: blume-20000606-lazierpickle
250    Description:
251    
252    !!!! NEW BOOT FILES !!!!
253    
254    * The main purpose of this update is to make library pickles lazier in
255    order to reduce the initial space penalty for autoloading a library.
256    As a result, it is now possible to have $smlnj/compiler.cm
257    pre-registered.  This should take care of the many complaints or
258    inquiries about missing structure Compiler.  This required changes to
259    CM's internal data structures and small tweaks to some algorithms.
260    
261    As a neat additional effect, it is no longer necessary (for the sake
262    of lean heap image files) to distinguish between a "minimal" CM and a
263    "full" CM.  Now, there is only one CM (i.e., the "full" version:
264    $smlnj/cm.cm aka $smlnj/cm/full.cm), and it is always available at the
265    interactive top level. ($smlnj/cm/minimal.cm is gone.)
266    
267    To make the life of compiler-hackers easier, "makeml" now also
268    pre-registers $smlnj/cmb.cm (aka $smlnj/cmb/current.cm).  In other
269    words, after you bootstrap a new sml for the first time, you will not
270    have to autoload $smlnj/cmb.cm again afterwards.  (The first time
271    around you will still have to do it, though.)
272    
273    * A second change consists of major updates to the CM manual.  There
274    are now several appendices with summary information and also a full
275    specification of the CM description file syntax.
276    
277    * In directory src/system I added the script "allcross".  This script
278    invokes sml and cross-compiles the compiler for all supported
279    architectures.  (Useful when providing a new set of boot files.)
280    
281    * There seems to be a latent bug in my "lazy pickles" mechanism.  I
282    added a small tweak to pickle-util.sml to work around this problem,
283    but it is not a proper fix yet.  I will investigate further.  (The
284    effect of the bug was an inflation of library pickle size.)
285    
286    * Version number increased to 110.28.1 (to avoid compatibility problems).
287    
288    ----------------------------------------------------------------------
289    Name: Allen Leung
290    Date: 2000/05/25 17:28 EDT
291    Tag: leunga-20000525-ra
292    Description:
293    
294      Fixed a bug in freezing phase of the register allocator.
295    
296    ----------------------------------------------------------------------
297    Name: Allen Leung
298    Date: 2000/05/15 22:53 EDT
299    Tag: leunga-20000515-alpha-x86-ra
300    Description:
301    
302      1. Alpha
303    
304          Slight cleanup.  Removed the instruction SGNXL
305    
306      2. X86
307    
308          Added the following instructions to the instruction set:
309    
310            ROLx, RORx,
311            BTx, BTSx, BTLx, BTRx,
312            XCHGx, and variants with the LOCK prefix
313    
314      3. Register Allocation
315    
316          The module ra-rewrite-with-renaming has been improved.
317    
318      These have no effect on SML/NJ.
319    
320    ----------------------------------------------------------------------
321    Name: Matthias Blume
322    Date: 2000/05/15 16:20:00 JST
323    Tag: blume-20000515-lightrebuild
324    Description:
325    
326    1. I added an alternative to "-rebuild" to "makeml".  The difference is
327       that prior to calling CMB.make' the CM-variable "LIGHT" will be
328       defined.  In effect, the command will not build any cross-compiler
329       backends and therefore finish more quickly.
330    
331       The "fixpt" script also takes a "-light" switch to be able to use
332       this new facility while compiling for a fixpoint.
333    
334    2. I replaced all mentions of anchored paths in group owner specifications
335       with simple relative paths (usually starting with "..").
336       The rationale is that a library's internal workings should not be
337       compromised by the lack of some anchor.  (An anchor is necessary
338       for someone who wants to refer to the library by an anchored path,
339       but it should not be necessary to build the same library in the first
340       place.)
341    
342    3. I changed the way CM's tool mechanism determines the shell command
343       string used for things like ml-yacc etc. so that it does not break
344       when CM.Control.implicit_anchors is turned off.
345    
346    ----------------------------------------------------------------------
347    Name: Matthias Blume
348    Date: 2000/05/12 18:20:00 JST
349    Tag: blume-20000512-ml-build
350    Description:
351    
352    Fixed a bug in config/_ml-build that prevented ml-yacc and ml-lex from
353    getting installed properly (by config/install.sh).
354    
355    ----------------------------------------------------------------------
356    Name: Matthias Blume
357    Date: 2000/05/12 17:30:00 JST
358    Tag: blume-20000512-anchors
359    Description:
360    
361    !!! NEW BOOT FILES !!!
362    
363    This change is in preparation of fading out support for "implicitly
364    anchored path names".  I went through all sources and used the
365    explicit (and relatively new) $-notation.  See system/README and the
366    CM manual for more info on this.
367    
368    I also modified the anchoring scheme for some things such as "smlnj",
369    "MLRISC", "cm", etc. to take advantage of the fact that explicit
370    anchors are more expressive: anchor name and first arc do not have to
371    coincide.  This entails the following user-visible change:
372    
373    You have to write $smlnj/foo/bar instead of smlnj/foo/bar.  In
374    particular, when you fire up sml with a command-line argument, say,
375    e.g.:
376    
377       sml '$smlnj/cmb.cm'
378    
379    At the ML toplevel prompt:
380    
381       CM.autoload "$smlnj/cmb.cm";
382    
383    There is also a new controller in CM.Control that can be used to turn
384    off all remaining support for implicit anchors by saying:
385    
386        CM.autoload "$smlnj/
387        #set CM.Control.implicit_anchors false;
388    
389    This causes CM to reject implicitly anchored paths.  This is (for the
390    time being) less permissive than the "final" version where there will
391    be no more such implicit anchors and relative paths will be just that:
392    relative.
393    
394    The next step (version after next version?) will be to make the
395    default for CM.Control.implicit_anchors false.  After the dust has
396    settled, I can then produce the "final" version of this...
397    
398    Note: Since bootstrapping is a bit tricky, I provided new boot files.
399    
400    ----------------------------------------------------------------------
401    Name: Matthias Blume
402    Date: 2000/05/11 16:30:00 JST
403    Tag: blume-20000511-sources
404    Description:
405    
406    The main change is that I added function CM.sources as a generalized
407    version of the earlier CM.makedepend.  This entails the following
408    additional changes:
409    
410      - CM.makedepend has been dropped.
411    
412      - CM manual has been updated.
413    
414      - TOOLS signature and API have been changed.
415    
416    ----------------------------------------------------------------------
417    Name: Allen Leung
418    Date: 2000/05/10 21:17 EDT
419    Tag: leunga-20000510-moby-c--ssa
420    Description:
421    
422      Various bug fixes and new features for C--, Moby and MLRISC optimizations.
423    None of these affect SML/NJ.
424    
425    1. Register Allocation
426    
427        a. A new ra spilling module (ra/ra-spill-with-renaming) is implemented.
428           This module tries to remove local (i.e. basic block level) redundancies
429           during spilling.
430    
431        b. A new framework for performing region based register allocation.
432           Not yet entirely functional.
433    
434    2. X86
435    
436       a. DefUse for POP was missing the stack pointer [found by Lal]
437       b. Reload for CALL was incorrect in X86Spill [found by John]
438       c. Various fixes in X86Spill so that it can be used correctly for
439          the new spilling module.
440    
441    3. SSA/IR
442    
443       a. New module ir/dj-dataflow.sml implements elimination based
444          data flow analysis.
445    
446    4. MLRiscGen
447    
448       a. Fix for gc type annotation
449    
450    5. MDGen
451    
452       Various fixes for machine description -> ml code translation.  For ssa
453       only.
454    
455    ----------------------------------------------------------------------
456    Name: Allen Leung
457    Date: 2000/05/08 22:17 EDT
458    Tag: leunga-20000508-labexp
459    Description:
460    
461      Fermin has found a few assembly problems with constant expressions
462      generated in LabelExp.  Mostly, the problems involve extra parentheses,
463      which choke on dumb assemblers.  This is his fix.
464    
465    ----------------------------------------------------------------------
466    Name: Dave MacQueen
467    Date: 2000/04/09 14:00 EDT
468    Tag: dbm-20000502-Version_110_28
469    Description:
470    
471    1. Updated src/compiler/TopLevel/main/version.sml to version 110.28
472    
473    2. Updated config/version to 110.28
474    
475    3. Updated config/srcarchiveurl
476    
477    3. New boot files!
478       ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.28/
479    
480    ----------------------------------------------------------------------
481    Name: Matthias Blume
482    Date: 2000/05/01 19:05:00 JST
483    Tag: blume-20000501-noweb
484    Description:
485    
486    A new noweb tool has been added.  The existing system is entirely
487    unaffected by this, but some CM users have asked for renewed noweb
488    support.  Everything is documented in the CM manual.
489    
490    New (plugin) libraries:
491    
492       noweb-tool.cm
493       nw-ext.cm
494    
495    ----------------------------------------------------------------------
496    Name: Dave MacQueen
497    Date: 2000/04/30 12:40PM EDT
498    Tag: dbm-20000430-bug_fixes
499    Description:
500    
501    1. Fix for bug 1498
502       smlnj/src/system/Basis/Implementation/Unsafe/object.sig
503       smlnj/src/system/Basis/Implementation/Unsafe/object.sml
504         added toRealArray function
505       smlnj/src/compiler/MiscUtil/print/ppobj.sml
506         added check for tag Obj.RealArray to array printing case in ppObj
507    
508    2. Fix for bug 1510
509       smlnj/src/compiler/Semant/types/typesutil.sml
510         fixed definition of dummyargs (used by equalTycon) so that
511         dummy args are distinct types
512    
513    ----------------------------------------------------------------------
514    Name: Matthias Blume
515    Date: 2000/04/30 01:00:00 JST
516    Tag: blume-20000430-versions
517    Description:
518    
519    1. CM version numbering added.  This is an implementation of Lal's
520       proposal for adding version numbers and version checking to .cm
521       files.  Lal said that his proposal was just that -- a proposal.
522       For the time being I went ahead and implemented it so that people
523       can comment on it.  Everything is completely backward-compatible
524       (except for the stable library format, i.e., new bootfiles!).
525    
526       As usual, see the CM manual for details.
527    
528    2. An alternative syntax for anchored paths has been implemented.
529       Dave has recently voiced the same concerns that I had when I did
530       this, so there should be some support.  My take is that eventually
531       I will let support for the current syntax (where anchors are
532       "implicit") fade out in favor of the new, explicit syntax.
533       In order to be backward-compatible, both old and new syntax are
534       currently supported.
535    
536       Again, see the CM manual for details.
537    
538    3. Parallel make is trying to be slightly smarter:  When the master
539       process finds a "bottleneck", i.e., when there is only one
540       compilation unit that can be compiled and everybody else is
541       waiting on it, then it will simply compile it directly instead
542       of clumsily telling one of the slaves to do it.
543    
544    4. Support for "unsharing" added.  This is necessary in order to be
545       able to have two different versions of the same library running
546       at the same time (e.g., for trying out a new MLRISC while still
547       having the old MLRISC linked into the current compiler, etc.)
548       See the CM manual.
549    
550    5. Simple "makedepend" functionality added for generating Makefile
551       dependency information.  (This is rather crude at the moment.
552       Expect some changes here in the future.)
553    
554    6. ".fun" added as a recognized suffix for ML files. Also documented
555       explicitly in the manual that the fallback behavior (unknown suffix
556       -> ML file) is not an official feature!
557    
558    7. Small changes to the pickler for stable libraries.
559    
560    8. Several internal changes to CM (for cleanup/improvement).
561    
562    
563    !!!! NEW BINFILES !!!!
564    
565    ----------------------------------------------------------------------
566    Name: Matthias Blume
567    Date: 2000/04/28 17:30:00 JST
568    Tag: blume-20000428-pathconfig
569    Description:
570    
571    1. I changed config/install.sh to remove duplicate entries from the
572       lib/pathconfig file at the end.  Moreover, the final version of
573       lib/pathconfig is sorted alphabetically.  The same (sorting) is done
574       in src/system/installml.
575    
576    2. The config/install.sh script now consistently uses relative
577       pathnames in lib/pathconfig whenever the anchor is in the lib
578       directory.  (So far this was true for the libraries that come
579       pre-compiled and bundled as part of the bootfiles but not for
580       libraries that are compiled by the script itself.)
581    
582    ----------------------------------------------------------------------
583    Name: Matthias Blume
584    Date: 2000/04/26 13:10:00 JST
585    Tag: blume-20000426-fun_suffix
586    Description:
587    
588    Added ".fun" as a recognized file name suffix (for ML code).
589    
590    ----------------------------------------------------------------------
591    Name: Allen Leung
592    Date: 2000/04/25 17:00:00 EST
593    Tag: leunga-20000425-alpha-ra
594    Description:
595    
596    1. Alpha
597    
598        PSEUDOARITH was missing in AlphaRewrite.  This causes an endless loop
599    in C--.
600    
601    2. RA
602    
603       Added a flag "ra-dump-size" to print out the size of the flowgraph
604       and the interference graph.
605    
606    ----------------------------------------------------------------------
607    Name: Dave MacQueen
608    Date: 2000/04/25/
609    Tag: dbm-20000425-mlyacc_doc_examples
610    Description:
611      Updated mlyacc.tex sections 5 and 7 for SML '97 and CM.
612      Updated all three examples in src/ml-yacc/examples to run
613      under 110.* using CM.make.
614    
615    ----------------------------------------------------------------------
616    Name: Allen Leung
617    Date: 2000/04/20 23:04:00 EST
618    Tag: leunga-20000420-ssa-c---stuff
619    Description:
620    
621      This update synchronizes my repository with Yale's.  Most of these
622    changes, however, do not affect SML/NJ at all (the RA is an exception).
623    
624    1. Register Allocator
625    
626       a. An improvement in the interference graph construction:
627          Given a copy
628    
629                s <- t
630    
631          no interference edge between s and t is added for this definition of s.
632    
633       b. I've added two new spill heuristic modules that Fermin and I developed
634          (in the new library RA.cm). These are unused in SML/NJ but maybe
635          useful for others (Moby?)
636    
637    2. X86
638    
639       a. Various fixes in the backend provided by Fermin [C--] and Lal.
640    
641    3. Alpha
642    
643       a. Added the BSR instruction and code generation that goes with it [C--]
644       b. Other fixes too numerous to recount provided by Fermin [C--]
645    
646    4. Regmaps
647    
648       a. The regmaps are not initialized with the identity physical bindings
649          at creation time.  This is unneeded.
650    
651    5. MLRISC Optimizations
652    
653       a. The DJ-Graph module can now compute the iterated dominance frontiers
654          intersects with liveness incrementally in linear time! Woohoo!
655          This is now used in my new SSA construction algorithm.
656    
657       b. THe branch reorganization module is now smarter about linear chains of
658          basic blocks.
659    
660    
661    ----------------------------------------------------------------------
662    Name: Matthias Blume
663    Date: 2000/04/12 13:52:00 JST
664    Tag: blume_main_v110p27_1
665    Description:
666    
667    Changed install.sh script to handle archive files without version number
668    and to use "boot.<arch>-<os>" instead of "sml.boot.<arch>-<os>" for the
669    name of the boot file archive.
670    
671    ----------------------------------------------------------------------
672    Name: Dave MacQueen
673    Date: 2000/04/09 14:00 EDT
674    Tag: dbm-20000410-Version_110_27
675    Description:
676    
677    1. Updated src/compiler/TopLevel/main/version.sml to version 110.27
678    
679    2. Updated src/config/version to 110.27
680    
681    3. New boot files!
682    
683    ----------------------------------------------------------------------
684    Name: Allen Leung
685    Date: 2000/04/09 19:09:00 EST
686    Tag: leunga-20000409-misc
687    Description:
688    
689    1.  Yet another fix for x86 assembly for idivl, imull, mull and friends.
690    
691    2.  Miscellaneous improvements to MLRISC (unused in sml/nj)
692    
693    ----------------------------------------------------------------------
694    Name: Stefan
695    Date: 2000/04/07 10:00:00 EDT
696    Tag: monnier-20000406-branch-handling
697    Description:
698    
699    Improved handling of branches (mostly those generated from
700    polymorphic equality), removed switchoff and changed the
701    default optimization settings (more cpsopt and less flintopt).
702    
703    ----------------------------------------------------------------------
704    Name: Allen Leung
705    Date: 2000/04/06 01:30:00 EST
706    Tag: leunga-20000406-peephole-x86-SSA-2
707    Description:
708    
709       Forgot a few files.
710    
711    ----------------------------------------------------------------------
712    Name: Allen Leung
713    Date: 2000/04/06 00:36:00 EST
714    Tag: leunga-20000406-peephole-x86-SSA
715    Description:
716    
717    1.  New Peephole code
718    
719    2.  Minor improvement to X86 instruction selection
720    
721    3.  Various fixes to SSA and machine description -> code translator
722    
723    ----------------------------------------------------------------------
724    Name: Matthias Blume
725    Date: 2000/04/05 12:30:00 JST
726    Tag: blume_main_v110p26p2_3
727    Description:
728    
729    This update just merges three minor cosmetic updates to CM's sources
730    to get ready for the 110.27 code freeze on Friday.  No functionality
731    has changed.
732    
733    ----------------------------------------------------------------------
734    Name: Allen Leung
735    Date: 2000/04/04 19:39:00 EST
736    Tag: leunga-20000404-x86-asm
737    Description:
738    
739    1.  Fixed a problem in X86 assembly.
740    
741        Things like
742    
743           jmp %eax
744           jmp (%eax)
745    
746        should be output as
747    
748           jmp *%eax
749           jmp *(%eax)
750    
751    2.  Assembly output
752    
753          Added a new flag
754    
755              "asm-indent-copies" (default to false)
756    
757          When this flag is on, parallel copies will be indented an extra level.
758    
759    ----------------------------------------------------------------------
760    Name: Allen Leung
761    Date: 2000/04/04 03:18:00 EST
762    Tag: leunga-20000404-C--Moby
763    Description:
764    
765        All of these fixes are related to C--, Moby, and my own optimization
766        stuff; so they shouldn't affect SML/NJ.
767    
768    1.  X86
769    
770        Various fixes related floating point, and extensions.
771    
772    2.  Alpha
773    
774        Some extra patterns related to loads with signed/zero extension
775        provided by Fermin.
776    
777    3.  Assembly
778    
779        When generating assembly, resolve the value of client defined constants,
780        instead of generating symbolic values.  This is controlled by the
781        new flag "asm-resolve-constants", which is default to true.
782    
783    4.  Machine Descriptions
784    
785        a. The precedence parser was slightly broken when parsing infixr symbols.
786        b. The type generalizing code had the bound variables reversed, resulting
787           in a problem during arity raising.
788        c. Various fixes in machine descriptions.
789    
790    ----------------------------------------------------------------------
791    Name: Matthias Blume
792    Date: 2000/04/03 16:05:00 JST
793    Tag: blume_main_v110p26p2_2
794    Description:
795    
796    I eliminated coreEnv from compInfo.  Access to the "Core" structure is
797    now done via the ordinary static environment that is context to each
798    compilation unit.
799    
800    To this end, I arranged that instead of "structure Core" as "structure
801    _Core" is bound in the pervasive environment.  Core access is done via
802    _Core (which can never be accidentally rebound because _Core is not a
803    legal surface-syntax symbol).
804    
805    The current solution is much cleaner because the core environment is
806    now simply part of the pervasive environment which is part of every
807    compilation unit's context anyway.  In particular, this eliminates all
808    special-case handling that was necessary until now in order to deal
809    with dynamic and symbolic parts of the core environment.
810    
811    Remaining hackery (to bind the "magic" symbol _Core) is localized in the
812    compilation manager's bootstrap compiler (actually: in the "init group"
813    handling).  See the comments in src/system/smlnj/init/init.cmi for
814    more details.
815    
816    I also tried to track down all mentions of "Core" (as string argument
817    to Symbol.strSymbol) in the compiler and replaced them with a
818    reference to the new CoreSym.coreSym.  Seems cleaner since the actual
819    name appears in one place only.
820    
821    Binfile and bootfile format have not changed, but the switchover from
822    the old "init.cmi" to the new one is a bit tricky, so I supplied new
823    bootfiles anyway.
824    
825    ----------------------------------------------------------------------
826    Name: Allen Leung
827    Date: 2000/04/02 21:17:00 EST
828    Tag: leunga-20000402-mltree
829    Description:
830    
831       1. Renamed the constructor CALL in MLTREE by popular demand.
832       2. Added a bunch of files from my repository.  These are currently
833          used by other non-SMLNJ backends.
834    
835    ----------------------------------------------------------------------
836    Name: Allen Leung
837    Date: 2000/03/31 21:15:00 EST
838    Tag: leunga-20000331-aliasing
839    Description:
840    
841    This update contains a rewritten (and hopefully more correct) module
842    for extracting aliasing information from CPS.
843    
844       To turn on this feature:
845    
846            Compiler.Control.CG.memDisambiguate := true
847    
848       To pretty print the region information with assembly
849    
850           Compiler.Control.MLRISC.getFlag "asm-show-region" := true;
851    
852       To control how many levels of aliasing information are printed, use:
853    
854           Compiler.Control.MLRISC.getInt "points-to-show-level" := n
855    
856       The default of n is 3.
857    
858    ----------------------------------------------------------------------
859    Name: David MacQueen
860    Date: 2000/03/31 11:15:00 EST
861    Tag: dbm-20000331-runtime_fix
862    Description:
863    
864    This update contains:
865    
866    1. runtime/c-lib/c-libraries.c
867       includes added in revision 1.2 caused compilation errors on hppa-hpux
868    
869    2. fix for bug 1556
870       system/Basis/Implementation/NJ/internal-signals.sml
871    
872    ----------------------------------------------------------------------
873    Name: Matthias Blume
874    Date: 2000/03/31 18:00:00 JST
875    Tag: blume_main_v110p26p2_1
876    Description:
877    
878    This update contains:
879    
880    1. A small change to CM's handling of stable libraries:
881       CM now maintains one "global" modmap that is used for all stable
882       libraries.  The use of such a global modmap maximizes sharing and
883       minimizes the need for re-traversing parts of environments during
884       modmap construction.  (However, this has minor impact since modmap
885       construction seems to account for just one percent or less of total
886       compile time.)
887    
888    2. I added a "genmap" phase to the statistics.  This is where I got the
889       "one percent" number (see above).
890    
891    3. CM's new tool parameter mechanism just became _even_ better. :)
892       - The parser understands named parameters and recursive options.
893       - The "make" and "shell" tools use these new features.
894         (This makes it a lot easier to cascade these tools.)
895       - There is a small syntax change: named parameters use a
896    
897           <name> : ( <option> ... )            or
898           <name> : <string>
899    
900         syntax.  Previously, named parameters were implemented in an
901         ad-hoc fashion by each tool individually (by parsing strings)
902         and had the form
903    
904           <name>=<string>
905    
906       See the CM manual for a full description of these issues.
907    
908    ----------------------------------------------------------------------
909    Name: Matthias Blume
910    Date: 2000/03/30 18:00:00 JST
911    Tag: blume_main_v110p26p2_0
912    Description:
913    
914    !!!!! WARNING !!!!!!
915    !!  New binfiles  !!
916    !!!!!!!!!!!!!!!!!!!!
917    
918    This update contains:
919    
920    1. Moderate changes to CM:
921    
922       - Changes to CM's tools mechanism.  In particular, it is now possible
923       to have tools that accept additional "command line" parameters
924       (specified in the .cm file at each instance where the tool's class is
925       used).
926    
927       This was done to accommodate the new "make" and "shell" tools which
928       facilitate fairly seamless hookup to portions of code managed using
929       Makefiles or Shell scripts.
930    
931       There are no classes "shared" or "private" anymore.  Instead, the
932       sharing annotation is now a parameter to the "sml" class.
933    
934       There is a bit of generic machinery for implementing one's own
935       tools that accept command-line parameters.  However, I am not yet fully
936       satisfied with that part, so expect changes here in the future.
937    
938       All existing tools are described in the CM manual.
939    
940       - Slightly better error handling.  (CM now suppresses many followup
941       error messages that tended to be more annoying than helpful.)
942    
943    2. Major changes to the compiler's static environment data structures.
944    
945       - no CMStaticEnv anymore.
946            - no CMEnv, no "BareEnvironment" (actually, _only_ BareEnvironment,
947              but it is called Environment), no conversions between different
948              kinds of static environments
949    
950       - There is still a notion of a "modmap", but such modmaps are generated
951         on demand at the time when they are needed.  This sounds slow, but I
952         sped up the code that generates modmaps enough for this not to lead to
953         a slowdown of the compiler (at least I didn't detect any).
954    
955       - To facilitate rapid modmap generation, static environments now
956         contain an (optional) "modtree" structure.  Modtree annotations are
957         constructed by the unpickler during unpickling.  (This means that
958         the elaborator does not have to worry about modtrees at all.)
959         Modtrees have the advantage that they are compositional in the same
960         way as the environment data structure itself is compositional.
961         As a result, modtrees never hang on to parts of an environment that
962         has already been rendered "stale" by filtering or rebinding.
963    
964       - I went through many, many trials and errors before arriving at the
965         current solution.  (The initial idea of "linkpaths" did not work.)
966         But the result of all this is that I have touched a lot of files that
967         depend on the "modules" and "types" data structures (most of the
968         elaborator). There were a lot of changes during my "linkpath" trials
969         that could have been reverted to their original state but weren't.
970         Please, don't be too harsh on me for messing with this code a bit more
971         than what was strictly necessary...  (I _did_ resist the tempation
972         of doing any "global reformatting" to avoid an untimely death at
973         Dave's hands. :)
974    
975       - One positive aspect of the previous point:  At least I made sure that
976         all files that I touched now compile without warnings (other than
977         "polyEqual").
978    
979       - compiler now tends to run "leaner" (i.e., ties up less memory in
980         redundant modmaps)
981    
982    ----------------------------------------------------------------------
983    Name: Allen Leung
984    Date: 2000/03/29 18:00:00
985    Tag: leunga-20000327-mlriscGen_hppa_alpha_x86
986    Boot files (optional): ftp://react-ilp.cs.nyu.edu/leunga/110.26.1-sml.boot.x86-unix-20000330.tar.gz
987    Description:
988    
989       This update contains *MAJOR* changes to the way code is generated from CPS
990    in the module mlriscGen, and in various backend modules.
991    
992    CHANGES
993    =======
994    
995    1. MLRiscGen: forward propagation fix.
996    
997       There was a bug in forward propagation introduced at about the same time
998       as the MLRISC x86 backend, which prohibits coalescing to be
999       performed effectively in loops.
1000    
1001       Effect: speed up of loops in RISC architectures.
1002               By itself, this actually slowed down certain benchmarks on the x86.
1003    
1004    2. MLRiscGen:  forward propagating addresses from consing.
1005    
1006       I've changed the way consing code is generated.  Basically I separated
1007       out the initialization part:
1008    
1009            store tag,   offset(allocptr)
1010            store elem1, offset+4(allocptr)
1011            store elem2, offset+8(allocptr)
1012            ...
1013            store elemn, offset+4n(allocptr)
1014    
1015       and the address computation part:
1016    
1017            celladdr <- offset+4+alloctpr
1018    
1019       and move the address computation part
1020    
1021       Effect:  register pressure is generally lower as a result.  This
1022                makes compilation of certain expressions much faster, such as
1023                long lists with non-trivial elements.
1024    
1025                 [(0,0), (0,0), .... (0,0)]
1026    
1027    3. MLRiscGen: base pointer elimination.
1028    
1029        As part of the linkage mechanism, we generate the sequence:
1030    
1031         L:  ...  <- start of the code fragment
1032    
1033         L1:
1034             base pointer <- linkreg - L1 + L
1035    
1036         The base pointer was then used for computing relocatable addresses
1037       in the code fragment.  Frequently (such as in lots of continuations)
1038       this is not needed.  We now eliminate this sequence whenever possible.
1039    
1040         For compile time efficiency, I'm using a very stupid local heuristic.
1041       But in general, this should be done as a control flow analysis.
1042    
1043       Effect:  Smaller code size.  Speed up of most programs.
1044    
1045    4. Hppa back end
1046    
1047         Long jumps in span dependence resolution used to depend on the existence
1048      of the base pointer.
1049    
1050         A jump to a long label L was expanded into the following sequence:
1051    
1052          LDIL %hi(L-8192), %r29
1053          LDO  %lo(L-8192)(%r29), %r29
1054          ADD  %r29, baseptr, %r29
1055          BV,n %r0(%r29)
1056    
1057         In the presence of change (3) above, this will not work.  I've changed
1058       it so that the following sequence of instructions are generated, which
1059       doesn't mention the base pointer at all:
1060    
1061             BL,n  L', %r29           /* branch and link, L' + 4 -> %r29 */
1062        L':  ADDIL L-(L'+4), %r29     /* Compute address of L */
1063             BV,n  %r0(%r29)          /* Jump */
1064    
1065    5. Alpha back end
1066    
1067          New alpha instructions LDB/LDW have been added, as per Fermin's
1068       suggestions.   This is unrelated to all other changes.
1069    
1070    6. X86 back end
1071    
1072         I've changed andl to testl in the floating point test sequence
1073         whenever appropriate.  The Intel optimization guide states that
1074         testl is preferable to andl.
1075    
1076    7. RA (x86 only)
1077    
1078         I've improved the spill propagation algorithm, using an approximation
1079       of maximal weighted independent sets.   This seems to be necessary to
1080       alleviate the negative effect in light of the slow down in (1).
1081    
1082         I'll write down the algorithm one of these days.
1083    
1084    8. MLRiscGen: frequencies
1085    
1086         I've added an annotation that states that all call gc blocks have zero
1087       execution frequencies.  This improves register allocation on the x86.
1088    
1089    BENCHMARKS
1090    ==========
1091    
1092       I've only perform the comparison on 110.25.
1093    
1094       The platforms are:
1095    
1096        HPPA  A four processor HP machine (E9000) with 5G of memory.
1097        X86   A 300Hhz Pentium II with 128M of memory, and
1098        SPARC An Ultra sparc 2 with 512M of memory.
1099    
1100       I used the following parameters for the SML benchmarks:
1101    
1102                 @SMLalloc
1103         HPPA    256k
1104         SPARC   512k
1105         X86     256k
1106    
1107    COMPILATION TIME
1108    ----------------
1109       Here are the numbers comparing the compilation times of the compilers.
1110       I've only compared 110.25 compiling the new sources versus
1111       a fixpoint version of the new compiler compiling the same.
1112    
1113                     110.25                                  New
1114               Total  Time in RA  Spill+Reload   Total  Time In RA Spill+Reload
1115         HPPA   627s    116s        2684+3584     599s    95s       1003+1879
1116         SPARC  892s    173s        2891+3870     708s    116s      1004+1880
1117         X86    999s    315s       94006+130691   987s    296s    108877+141957
1118    
1119                   110.25         New
1120                Code Size      Code Size
1121         HPPA   8596736         8561421
1122         SPARC  8974299         8785143
1123         X86    9029180         8716783
1124    
1125       So in summary, things are at least as good as before.   Dramatic
1126       reduction in compilation is obtained on the Sparc; I can't explain it,
1127       but it is reproducible.  Perhaps someone should try to reproduce this
1128       on their own machines.
1129    
1130    SML BENCHMARKS
1131    --------------
1132    
1133        On the average, all benchmarks perform at least as well as before.
1134    
1135          HPPA         Compilation Time     Spill+Reload      Run Time
1136                     110.25  New            110.25    New   110.25  New
1137    
1138          barnesHut  3.158  3.015  4.75%    1+1       0+0   2.980  2.922   2.00%
1139              boyer  6.152  5.708  7.77%    0+0       0+0   0.218  0.213   2.34%
1140       count-graphs  1.168  1.120  4.32%    0+0       0+0  22.705 23.073  -1.60%
1141                fft  0.877  0.792 10.74%    1+3       1+3   0.602  0.587   2.56%
1142        knuthBendix  3.180  2.857 11.32%    0+0       0+0   0.675  0.662   2.02%
1143             lexgen  6.190  5.290 17.01%    0+0       0+0   0.913  0.788  15.86%
1144               life  0.803  0.703 14.22%   25+25      0+0   0.153  0.140   9.52%
1145              logic  2.048  2.007  2.08%    6+6       1+1   4.133  4.008   3.12%
1146         mandelbrot  0.077  0.080 -4.17%    0+0       0+0   0.765  0.712   7.49%
1147             mlyacc 22.932 20.937  9.53%  154+181    32+57  0.468  0.430   8.91%
1148            nucleic  5.183  5.060  2.44%    2+2       0+0   0.125  0.120   4.17%
1149      ratio-regions  3.357  3.142  6.84%    0+0       0+0  116.225 113.173 2.70%
1150                ray  1.283  1.290 -0.52%    0+0       0+0   2.887  2.855   1.11%
1151             simple  6.307  6.032  4.56%   28+30      5+7   3.705  3.658   1.28%
1152                tsp  0.888  0.862  3.09%    0+0       0+0   7.040  6.893   2.13%
1153               vliw 24.378 23.455  3.94%  106+127    25+45  2.758  2.707   1.91%
1154      --------------------------------------------------------------------------
1155       Average                     6.12%                                   4.09%
1156    
1157          SPARC        Compilation Time     Spill+Reload      Run Time
1158                     110.25  New            110.25    New   110.25  New
1159    
1160          barnesHut  3.778  3.592  5.20%    2+2       0+0   3.648  3.453    5.65%
1161              boyer  6.632  6.110  8.54%    0+0       0+0   0.258  0.242    6.90%
1162       count-graphs  1.435  1.325  8.30%    0+0       0+0  33.672 34.737   -3.07%
1163                fft  0.980  0.940  4.26%    3+9       2+6   0.838  0.827    1.41%
1164        knuthBendix  3.590  3.138 14.39%    0+0       0+0   0.962  0.967   -0.52%
1165             lexgen  6.593  6.072  8.59%    1+1       0+0   1.077  1.078   -0.15%
1166               life  0.972  0.868 11.90%   26+26      0+0   0.143  0.140    2.38%
1167              logic  2.525  2.387  5.80%    7+7       1+1   5.625  5.158    9.05%
1168         mandelbrot  0.090  0.093 -3.57%    0+0       0+0   0.855  0.728   17.39%
1169             mlyacc 26.732 23.827 12.19%  162+189    32+57  0.550  0.560   -1.79%
1170            nucleic  6.233  6.197  0.59%    3+3       0+0   0.163  0.173   -5.77%
1171      ratio-regions  3.780  3.507  7.79%    0+0       0+0 133.993 131.035   2.26%
1172                ray  1.595  1.550  2.90%    1+1       0+0   3.440  3.418    0.63%
1173             simple  6.972  6.487  7.48%   29+32      5+7   3.523  3.525   -0.05%
1174                tsp  1.115  1.063  4.86%    0+0       0+0   7.393  7.265    1.77%
1175               vliw 27.765 24.818 11.87%  110+135    25+45  2.265  2.135    6.09%
1176      ----------------------------------------------------------------------------
1177       Average                     6.94%                                    2.64%
1178    
1179          X86          Compilation Time     Spill+Reload      Run Time
1180                     110.25  New            110.25    New   110.25  New
1181    
1182          barnesHut  5.530  5.420  2.03%  593+893   597+915   3.532  3.440   2.66%
1183              boyer  8.768  7.747 13.19%  493+199   301+289   0.327  0.297  10.11%
1184       count-graphs  2.040  2.010  1.49%  298+394   315+457  26.578 28.660  -7.26%
1185                fft  1.327  1.302  1.92%  112+209   115+210   1.055  0.962   9.71%
1186        knuthBendix  5.218  5.475 -4.69%  451+598   510+650   0.928  0.932  -0.36%
1187             lexgen  9.970  9.623  3.60% 1014+841  1157+885   0.947  0.928   1.97%
1188               life  1.183  1.183  0.00%  162+182   145+148   0.127  0.103  22.58%
1189              logic  3.285  3.512 -6.45%  514+684   591+836   5.682  5.577   1.88%
1190         mandelbrot  0.147  0.143  2.33%   38+41     33+54    0.703  0.690   1.93%
1191             mlyacc 35.457 32.763  8.22% 3496+4564 3611+4860  0.552  0.550   0.30%
1192            nucleic  7.100  6.888  3.07%  239+168   201+158   0.175  0.173   0.96%
1193      ratio-regions  6.388  6.843 -6.65% 1182+257   981+300  120.142 120.345 -0.17%
1194                ray  2.332  2.338 -0.29%  346+398   402+494   3.593  3.540   1.51%
1195             simple  9.912  9.903  0.08% 1475+941  1579+1168  3.057  3.178  -3.83%
1196                tsp  1.623  1.532  5.98%  266+200   250+211   8.045  7.878   2.12%
1197               vliw 33.947 35.470 -4.29% 2629+2774 2877+3171  2.072  1.890   9.61%
1198      ----------------------------------------------------------------------------
1199       Average                     1.22%                                     3.36%
1200    
1201    ----------------------------------------------------------------------
1202    Name: Allen Leung
1203    Date: 2000/03/23 16:25:00
1204    Tag: leunga-20000323-fix_x86_alpha
1205    Description:
1206    
1207    1. X86 fixes/changes
1208    
1209       a.  The old code generated for SETcc was completely wrong.
1210           The Intel optimization guide is VERY misleading.
1211    
1212    2. ALPHA fixes/changes
1213    
1214       a.  Added the instructions LDBU, LDWU, STB, STW as per Fermin's suggestion.
1215       b.  Added a new mode byteWordLoadStores to the functor parameter to Alpha()
1216       c.  Added reassociation code for address computation.
1217    
1218    ----------------------------------------------------------------------
1219    Name: Allen Leung
1220    Date: 2000/03/22 01:23:00
1221    Tag: leunga-20000322-fix_x86_hppa_ra
1222    Description:
1223    
1224    1. X86 fixes/changes
1225    
1226       a.  x86Rewrite bug with MUL3 (found by Lal)
1227       b.  Added the instructions FSTS, FSTL
1228    
1229    2. PA-RISC fixes/changes
1230    
1231       a.  B label should not be a delay slot candidate!  Why did this work?
1232       b.  ADDT(32, REG(32, r), LI n) now generates one instruction instead of two,
1233           as it should be.
1234       c.  The assembly syntax for fstds and fstdd was wrong.
1235       d.  Added the composite instruction COMICLR/LDO, which is the immediate
1236           operand variant of COMCLR/LDO.
1237    
1238    3. Generic MLRISC
1239    
1240       a.  shuffle.sml rewritten to be slightly more efficient
1241       b.  DIV bug in mltree-simplify fixed (found by Fermin)
1242    
1243    4. Register Allocator
1244    
1245       a.  I now release the interference graph earlier during spilling.
1246           May improve memory usage.
1247    
1248    ----------------------------------------------------------------------
1249    Name: Matthias Blume
1250    Date: 2000/03/14 14:15:32
1251    Tag: blume_main_v110p26p1_2
1252    Description:
1253    
1254    1. Tools.registerStdShellCmdTool (from smlnj/cm/tool.cm) takes an
1255    additional argument called "template" which is an optional string that
1256    specifies the layout of the tool command line.  See the CM manual for
1257    explanation.
1258    
1259    2. A special-purpose tool can be "registered" by simply dropping the
1260    corresponding <...>-tool.cm (and/or <...>-ext.cm) into the same
1261    directory where the .cm file lives that uses this tool.  (The
1262    behavior/misfeature until now was to look for the tool description
1263    files in the current working directory.)  As before, tool description
1264    files could also be anchored -- in which case they can live anywhere
1265    they like.  Following the recent e-mail discussion, this change should
1266    make it easier to have special-purpose tools that are shipped together
1267    with the sources of the program that uses them.
1268    
1269    ----------------------------------------------------------------------
1270    Name: Matthias Blume
1271    Date: 2000/03/10 07:48:34
1272    Tag: blume_main_v110p26p1_1
1273    Description:
1274    
1275    I added a re-written version of Dave's fixpt script to src/system.
1276    Changes relative to the original version:
1277      - sh-ified (not everybody has ksh)
1278      - automatically figures out which architecture it runs on
1279      - uses ./makeml a bit more cleverly
1280      - never invokes ./installml (and, thus, does not clobber your
1281        good and working installation of sml in case something goes wrong)
1282      - accepts max iteration count using option "-iter <n>"
1283      - accepts a "base" name using option "-base <base>"
1284    
1285    It does not build any extraneous heap images but directly rebuilds
1286    bin- and boot-hierarchies using makeml's "-rebuild" switch. Finally,
1287    it can incorporate existing bin- and boot- hierarchies.  For example,
1288    suppose the base is set to "sml" (which is the default).  Then it
1289    successively builds
1290    
1291            sml.bin.<arch>-unix and sml.boot.<arch>-unix
1292    then    sml1.bin.<arch>-unix and sml1.boot.<arch>-unix
1293    then    sml2.bin.<arch>-unix and sml2.boot.<arch>-unix
1294    ...
1295    then    sml<n>.bin.<arch>-unix and sml<n>.boot.<arch>-unix
1296    
1297    and so on.  If any of these already exist, it will just use what's
1298    there.  In particular, many people will have the initial set of bin
1299    and boot files around, so this saves time for at least one full
1300    rebuild.  Having sets of the form <base><k>.{bin,boot}.<arch>-unix for
1301    <k>=1,2,... is normally not a good idea when invoking fixpt.  However,
1302    they might be the result of an earlier partial run of fixpt (which
1303    perhaps got accidentally killed).  In this case, fixpt will quickly
1304    move through what exists before continuing where it left off earlier,
1305    and, thus, saves a lot of time.
1306    
1307    ----------------------------------------------------------------------
1308  Name: Allen Leung  Name: Allen Leung
1309  Date: 00/03/10 02:20:00  Date: 00/03/10 02:20:00
1310  Tag: leunga-20000310-fix_x86_asm_ra  Tag: leunga-20000310-fix_x86_asm_ra
# Line 57  Line 1350 
1350    it from that remote directory.    it from that remote directory.
1351    This should simplify installation further:  For machines that have    This should simplify installation further:  For machines that have
1352    access to the internet, just fetch <version>-config.tgz, unpack it,    access to the internet, just fetch <version>-config.tgz, unpack it,
1353    edit config/targets, and go (run config/install.sh).  The scipt will    edit config/targets, and go (run config/install.sh).  The script will
1354    fetch everything else that it might need all by itself.    fetch everything else that it might need all by itself.
1355    
1356    For CVS users, this mechanism is not relevant for source archives, but    For CVS users, this mechanism is not relevant for source archives, but

Legend:
Removed from v.576  
changed lines
  Added in v.673

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0