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 590, Sat Apr 1 02:24:08 2000 UTC revision 670, Sun Jun 18 13:10:57 2000 UTC
# Line 11  Line 11 
11  Date:  Date:
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    ----------------------------------------------------------------------
15    Name: Matthias Blume
16    Date: 2000/06/18 22:00:10 JST
17    Tag: blume-20000618-implicit-anchors-really-gone
18    Description:
19    
20    I updates the previous HISTORY entry where I forgot to mention that
21    implicit anchors are no longer with us.
22    
23    The current update also gets rid of the (now useless) controller
24    CM.Control.implicit_anchors.
25    
26    ----------------------------------------------------------------------
27    Name: Matthias Blume
28    Date: 2000/06/16 17:30:00 JST
29    Tag: blume-20000616-anchorenv
30    Description:
31    
32    This patch implements the long anticipated (just kidding :) "anchor
33    environment" mechanism.  In the course of doing this, I also
34    re-implemented CM's internal "SrcPath" module from scratch.  The new
35    one should be more robust in certain boundary cases.  In any case, it
36    is a lot cleaner than its predecessor (IMHO).
37    
38    This time, although there is yet another boot file format change, I
39    kept the unpickler backward-compatible.  As a result, no new bootfiles
40    are necessary and bootstrapping is straightforward.  (You cannot read
41    new bootfiles into an old system, but the other way around is no
42    problem.)
43    
44    Visible changes:
45    
46    ** 0. Implicit path anchors (without the leading $-symbol) are no
47    longer recognized at all. This means that such path names are not
48    illegal either.  For example, the name basis.cm simply refers to a
49    local file called "basis.cm" (i.e, the name is an ordinary path
50    relative to .cm-files directory).  Or, to put it differently, only
51    names that start with $ are anchored paths.
52    
53    ** 1. The $<singlearc> abbreviation for $/<singlearc> has finally
54    vanished.
55    
56    John (Reppy) had critizised this as soon as I originally proposed and
57    implemented it, but at that time I did not really deeply believe
58    him. :) Now I came full-circle because I need the $<singlearc> syntax
59    in another place where it cannot be seen as an abbreviation for
60    $/<singlearc>.  To avoid the confusion, $<singlearc> now means what it
61    seems to mean (i.e., it "expands" into the corresponding anchor
62    value).
63    
64    However, when paths are used as members in CM description files, it
65    continues to be true that there must be at least another arc after the
66    anchor.  This is now enforced separately during semantic analysis
67    (i.e., from a lexical/syntactical point of view, the notation is ok.)
68    
69    ** 2. The "cm" class now accepts an option "bind".  The option's value
70    is a sub-option list of precisely two items -- one labeled "anchor"
71    and the other one labeled "value".  As you might expect, "anchor" is
72    used to specify an anchor name to be bound, and "value" specifies what
73    the anchor is being bound to.
74    
75    The value must be a directory name and can be given in either standard
76    syntax (including the possibility that it is itself an anchored path)
77    or native syntax.
78    
79    Examples:
80    
81       foo.cm (bind:(anchor:bar value:$mystuff/bar))
82       lib.cm (bind:(anchor:a value:"H:\\x\\y\\z"))  (* only works under windows *)
83    
84    and so on.
85    
86    The meaning of this is that the .cm-file will be processed with an
87    augmented anchor environment where the given anchor(s) is/are bound to
88    the given values(s).
89    
90    The rationale for having this feature is this: Suppose you are trying
91    to use two different (already stable) libraries a.cm and b.cm (that
92    you perhaps didn't write yourself).  Further, suppose each of these
93    two libraries internally uses its own auxiliary library $aux/lib.cm.
94    Normally you would now have a problem because the anchor "lib" can not
95    be bound to more than one value globally.  Therefore, the project that
96    uses both a.cm and b.cm must locally redirect the anchor to some other
97    place:
98    
99       a.cm (bind:(anchor:lib value:/usr/lib/smlnj/a-stuff))
100       b.cm (bind:(anchor:lib value:/usr/lib/smlnj/b-stuff))
101    
102    This hard-wires $lib/aux.cm to /usr/lib/smlnj/a-stuff/aux.cm or
103    /usr/lib/smlnj/b-stuff/aux.cm, respectively.
104    
105    Hard-wiring path names is a bit inflexible (and CM will verbosely warn
106    you when you do so at the time of CM.stabilize).  Therefore, you can
107    also use an anchored path as the value:
108    
109      a.cm (bind:(anchor:lib value:$a-lib))
110      b.cm (bind:(anchor:lib value:$b-lib))
111    
112    Now you can globally configure (using the usual CM.Anchor.anchor or
113    pathconfig machinery) bindings for "a-lib" and "b-lib".  Since "lib"
114    itself is always locally bound, setting it globally is no longer
115    meaningful or necessary (but it does not hurt either).  In fact, "lib"
116    can still be used as a global anchor for separate purposes.  As a
117    matter of fact, one can locally define "lib" in terms of a global
118    "lib":
119    
120      a.cm (bind:(anchor:lib value:$lib/a))
121      b.cm (bind:(anchor:lib value:$lib/b))
122    
123    ** 3: The encoding of path names has changed.  This affects the way
124    path names are shown in CM's progress report and also the internal
125    protocol encoding used for parallel make.
126    
127    The encoding now uses one or more ':'-separated segments.  Each
128    segments corresponds to a file that has been specified relative to the
129    file given by its preceding segment.  The first segment is either
130    relative to the CWD, absolute, or anchored.  Each segment itself is
131    basically a Unix pathname; all segments but the first are relative.
132    
133    Example:
134    
135       $foo/bar/baz.cm:a/b/c.sml
136    
137    This path denotes the file bar/a/b/c.sml relative to the directory
138    denoted by anchor "foo".  Notice that the encoding also includes
139    baz.cm which is the .cm-file that listed a/b/c.sml.  As usual, such
140    paths are resolved relative to the .cm-files directory, so baz.cm must
141    be ignored to get the "real" pathname.
142    
143    To make this fact more obvious, CM puts the names of such "virtual
144    arcs" into parentheses when they appear in progress reports. (No
145    parentheses will appear in the internal protocol encoding.)  Thus,
146    what you really see is:
147    
148      $foo/bar/(baz.cm):a/b/c.sml
149    
150    I find this notation to be much more informative than before.
151    
152    Another new feature of the encoding is that special characters
153    including parentheses, colons, (back)slashes, and white space are
154    written as \ddd (where ddd is the decimal encoding of the character).
155    
156    *** The CM manual still needs to be updated.
157    
158    ----------------------------------------------------------------------
159    Name: Allen Leung
160    Date: 2000/06/15 00:38:00
161    Tag: leunga-20000615-x86-peephole
162    
163    x86 Peephole fix by Fermin.  Affects c-- and moby only.
164    
165    ----------------------------------------------------------------------
166    Name: Matthias Blume
167    Date: 2000/06/12 11:40:00
168    Tag: blume-20000612-parmakefix
169    Description:
170    
171    More cleanup after changing the file naming scheme: This time I
172    repaired the parallel make mechanism for CMB.make which I broke earlier.
173    
174    ----------------------------------------------------------------------
175    Name: Allen Leung
176    Date: 2000/06/09 01:25:00
177    Tag: leunga-20000609-various
178    
179    None of these things should affect normal SML/NJ operations
180    
181    1. Peephole improvements provided by Fermin (c--)
182    2. New annotation DEFUSE for adding extra dependence (moby)
183    3. New X86 LOCK instructions (moby)
184    4. New machine description language for reservation tables (scheduling)
185    5. Fixes to various optimization/analysis modules (branch chaining, dominator
186       trees etc.)
187    6. I've changed the CM files so that they can work with versions
188       110.0.6, 110.25 and 110.28
189    
190    ----------------------------------------------------------------------
191    Name: Matthias Blume
192    Date: 2000/06/09 12:40:00
193    Tag: blume-20000609-log
194    Description:
195    
196    - Removed all(?) remaining RCS Log entries from sources.
197    
198    - Fixed bug in ml-yacc and ml-lex sources (use explicit anchors for
199      anchored paths).
200    
201    ----------------------------------------------------------------------
202    Name: Matthias Blume
203    Date: 2000/06/07 17:00:00 JST
204    Tag: blume-20000607-no-implicit-anchors
205    Description:
206    
207    1. This update changes the default setting for
208    CM.Control.implicit_anchors from true to false.  This means that
209    implicit anchors are no longer permitted by default.  I also tried to
210    make sure that nothing else still relies on implicit anchors.
211    (This is the next step on the schedule towards a CM that does not even
212    have the notion of implicit anchors anymore.)
213    
214    2. More CM manual updates.
215    
216    3. I managed to track down and fix the pickling bug I mentioned last
217    time.  Because of the previously existing workaround, this entails no
218    immediate practical changes.
219    
220    ----------------------------------------------------------------------
221    Name: Matthias Blume
222    Date: 2000/06/06 11:15:00 JST
223    Tag: blume-20000606-lazierpickle
224    Description:
225    
226    !!!! NEW BOOT FILES !!!!
227    
228    * The main purpose of this update is to make library pickles lazier in
229    order to reduce the initial space penalty for autoloading a library.
230    As a result, it is now possible to have $smlnj/compiler.cm
231    pre-registered.  This should take care of the many complaints or
232    inquiries about missing structure Compiler.  This required changes to
233    CM's internal data structures and small tweaks to some algorithms.
234    
235    As a neat additional effect, it is no longer necessary (for the sake
236    of lean heap image files) to distinguish between a "minimal" CM and a
237    "full" CM.  Now, there is only one CM (i.e., the "full" version:
238    $smlnj/cm.cm aka $smlnj/cm/full.cm), and it is always available at the
239    interactive top level. ($smlnj/cm/minimal.cm is gone.)
240    
241    To make the life of compiler-hackers easier, "makeml" now also
242    pre-registers $smlnj/cmb.cm (aka $smlnj/cmb/current.cm).  In other
243    words, after you bootstrap a new sml for the first time, you will not
244    have to autoload $smlnj/cmb.cm again afterwards.  (The first time
245    around you will still have to do it, though.)
246    
247    * A second change consists of major updates to the CM manual.  There
248    are now several appendices with summary information and also a full
249    specification of the CM description file syntax.
250    
251    * In directory src/system I added the script "allcross".  This script
252    invokes sml and cross-compiles the compiler for all supported
253    architectures.  (Useful when providing a new set of boot files.)
254    
255    * There seems to be a latent bug in my "lazy pickles" mechanism.  I
256    added a small tweak to pickle-util.sml to work around this problem,
257    but it is not a proper fix yet.  I will investigate further.  (The
258    effect of the bug was an inflation of library pickle size.)
259    
260    * Version number increased to 110.28.1 (to avoid compatibility problems).
261    
262    ----------------------------------------------------------------------
263    Name: Allen Leung
264    Date: 2000/05/25 17:28 EDT
265    Tag: leunga-20000525-ra
266    Description:
267    
268      Fixed a bug in freezing phase of the register allocator.
269    
270    ----------------------------------------------------------------------
271    Name: Allen Leung
272    Date: 2000/05/15 22:53 EDT
273    Tag: leunga-20000515-alpha-x86-ra
274    Description:
275    
276      1. Alpha
277    
278          Slight cleanup.  Removed the instruction SGNXL
279    
280      2. X86
281    
282          Added the following instructions to the instruction set:
283    
284            ROLx, RORx,
285            BTx, BTSx, BTLx, BTRx,
286            XCHGx, and variants with the LOCK prefix
287    
288      3. Register Allocation
289    
290          The module ra-rewrite-with-renaming has been improved.
291    
292      These have no effect on SML/NJ.
293    
294    ----------------------------------------------------------------------
295    Name: Matthias Blume
296    Date: 2000/05/15 16:20:00 JST
297    Tag: blume-20000515-lightrebuild
298    Description:
299    
300    1. I added an alternative to "-rebuild" to "makeml".  The difference is
301       that prior to calling CMB.make' the CM-variable "LIGHT" will be
302       defined.  In effect, the command will not build any cross-compiler
303       backends and therefore finish more quickly.
304    
305       The "fixpt" script also takes a "-light" switch to be able to use
306       this new facility while compiling for a fixpoint.
307    
308    2. I replaced all mentions of anchored paths in group owner specifications
309       with simple relative paths (usually starting with "..").
310       The rationale is that a library's internal workings should not be
311       compromised by the lack of some anchor.  (An anchor is necessary
312       for someone who wants to refer to the library by an anchored path,
313       but it should not be necessary to build the same library in the first
314       place.)
315    
316    3. I changed the way CM's tool mechanism determines the shell command
317       string used for things like ml-yacc etc. so that it does not break
318       when CM.Control.implicit_anchors is turned off.
319    
320    ----------------------------------------------------------------------
321    Name: Matthias Blume
322    Date: 2000/05/12 18:20:00 JST
323    Tag: blume-20000512-ml-build
324    Description:
325    
326    Fixed a bug in config/_ml-build that prevented ml-yacc and ml-lex from
327    getting installed properly (by config/install.sh).
328    
329    ----------------------------------------------------------------------
330    Name: Matthias Blume
331    Date: 2000/05/12 17:30:00 JST
332    Tag: blume-20000512-anchors
333    Description:
334    
335    !!! NEW BOOT FILES !!!
336    
337    This change is in preparation of fading out support for "implicitly
338    anchored path names".  I went through all sources and used the
339    explicit (and relatively new) $-notation.  See system/README and the
340    CM manual for more info on this.
341    
342    I also modified the anchoring scheme for some things such as "smlnj",
343    "MLRISC", "cm", etc. to take advantage of the fact that explicit
344    anchors are more expressive: anchor name and first arc do not have to
345    coincide.  This entails the following user-visible change:
346    
347    You have to write $smlnj/foo/bar instead of smlnj/foo/bar.  In
348    particular, when you fire up sml with a command-line argument, say,
349    e.g.:
350    
351       sml '$smlnj/cmb.cm'
352    
353    At the ML toplevel prompt:
354    
355       CM.autoload "$smlnj/cmb.cm";
356    
357    There is also a new controller in CM.Control that can be used to turn
358    off all remaining support for implicit anchors by saying:
359    
360        CM.autoload "$smlnj/
361        #set CM.Control.implicit_anchors false;
362    
363    This causes CM to reject implicitly anchored paths.  This is (for the
364    time being) less permissive than the "final" version where there will
365    be no more such implicit anchors and relative paths will be just that:
366    relative.
367    
368    The next step (version after next version?) will be to make the
369    default for CM.Control.implicit_anchors false.  After the dust has
370    settled, I can then produce the "final" version of this...
371    
372    Note: Since bootstrapping is a bit tricky, I provided new boot files.
373    
374    ----------------------------------------------------------------------
375    Name: Matthias Blume
376    Date: 2000/05/11 16:30:00 JST
377    Tag: blume-20000511-sources
378    Description:
379    
380    The main change is that I added function CM.sources as a generalized
381    version of the earlier CM.makedepend.  This entails the following
382    additional changes:
383    
384      - CM.makedepend has been dropped.
385    
386      - CM manual has been updated.
387    
388      - TOOLS signature and API have been changed.
389    
390    ----------------------------------------------------------------------
391    Name: Allen Leung
392    Date: 2000/05/10 21:17 EDT
393    Tag: leunga-20000510-moby-c--ssa
394    Description:
395    
396      Various bug fixes and new features for C--, Moby and MLRISC optimizations.
397    None of these affect SML/NJ.
398    
399    1. Register Allocation
400    
401        a. A new ra spilling module (ra/ra-spill-with-renaming) is implemented.
402           This module tries to remove local (i.e. basic block level) redundancies
403           during spilling.
404    
405        b. A new framework for performing region based register allocation.
406           Not yet entirely functional.
407    
408    2. X86
409    
410       a. DefUse for POP was missing the stack pointer [found by Lal]
411       b. Reload for CALL was incorrect in X86Spill [found by John]
412       c. Various fixes in X86Spill so that it can be used correctly for
413          the new spilling module.
414    
415    3. SSA/IR
416    
417       a. New module ir/dj-dataflow.sml implements elimination based
418          data flow analysis.
419    
420    4. MLRiscGen
421    
422       a. Fix for gc type annotation
423    
424    5. MDGen
425    
426       Various fixes for machine description -> ml code translation.  For ssa
427       only.
428    
429    ----------------------------------------------------------------------
430    Name: Allen Leung
431    Date: 2000/05/08 22:17 EDT
432    Tag: leunga-20000508-labexp
433    Description:
434    
435      Fermin has found a few assembly problems with constant expressions
436      generated in LabelExp.  Mostly, the problems involve extra parentheses,
437      which choke on dumb assemblers.  This is his fix.
438    
439    ----------------------------------------------------------------------
440    Name: Dave MacQueen
441    Date: 2000/04/09 14:00 EDT
442    Tag: dbm-20000502-Version_110_28
443    Description:
444    
445    1. Updated src/compiler/TopLevel/main/version.sml to version 110.28
446    
447    2. Updated config/version to 110.28
448    
449    3. Updated config/srcarchiveurl
450    
451    3. New boot files!
452       ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.28/
453    
454    ----------------------------------------------------------------------
455    Name: Matthias Blume
456    Date: 2000/05/01 19:05:00 JST
457    Tag: blume-20000501-noweb
458    Description:
459    
460    A new noweb tool has been added.  The existing system is entirely
461    unaffected by this, but some CM users have asked for renewed noweb
462    support.  Everything is documented in the CM manual.
463    
464    New (plugin) libraries:
465    
466       noweb-tool.cm
467       nw-ext.cm
468    
469    ----------------------------------------------------------------------
470    Name: Dave MacQueen
471    Date: 2000/04/30 12:40PM EDT
472    Tag: dbm-20000430-bug_fixes
473    Description:
474    
475    1. Fix for bug 1498
476       smlnj/src/system/Basis/Implementation/Unsafe/object.sig
477       smlnj/src/system/Basis/Implementation/Unsafe/object.sml
478         added toRealArray function
479       smlnj/src/compiler/MiscUtil/print/ppobj.sml
480         added check for tag Obj.RealArray to array printing case in ppObj
481    
482    2. Fix for bug 1510
483       smlnj/src/compiler/Semant/types/typesutil.sml
484         fixed definition of dummyargs (used by equalTycon) so that
485         dummy args are distinct types
486    
487    ----------------------------------------------------------------------
488    Name: Matthias Blume
489    Date: 2000/04/30 01:00:00 JST
490    Tag: blume-20000430-versions
491    Description:
492    
493    1. CM version numbering added.  This is an implementation of Lal's
494       proposal for adding version numbers and version checking to .cm
495       files.  Lal said that his proposal was just that -- a proposal.
496       For the time being I went ahead and implemented it so that people
497       can comment on it.  Everything is completely backward-compatible
498       (except for the stable library format, i.e., new bootfiles!).
499    
500       As usual, see the CM manual for details.
501    
502    2. An alternative syntax for anchored paths has been implemented.
503       Dave has recently voiced the same concerns that I had when I did
504       this, so there should be some support.  My take is that eventually
505       I will let support for the current syntax (where anchors are
506       "implicit") fade out in favor of the new, explicit syntax.
507       In order to be backward-compatible, both old and new syntax are
508       currently supported.
509    
510       Again, see the CM manual for details.
511    
512    3. Parallel make is trying to be slightly smarter:  When the master
513       process finds a "bottleneck", i.e., when there is only one
514       compilation unit that can be compiled and everybody else is
515       waiting on it, then it will simply compile it directly instead
516       of clumsily telling one of the slaves to do it.
517    
518    4. Support for "unsharing" added.  This is necessary in order to be
519       able to have two different versions of the same library running
520       at the same time (e.g., for trying out a new MLRISC while still
521       having the old MLRISC linked into the current compiler, etc.)
522       See the CM manual.
523    
524    5. Simple "makedepend" functionality added for generating Makefile
525       dependency information.  (This is rather crude at the moment.
526       Expect some changes here in the future.)
527    
528    6. ".fun" added as a recognized suffix for ML files. Also documented
529       explicitly in the manual that the fallback behavior (unknown suffix
530       -> ML file) is not an official feature!
531    
532    7. Small changes to the pickler for stable libraries.
533    
534    8. Several internal changes to CM (for cleanup/improvement).
535    
536    
537    !!!! NEW BINFILES !!!!
538    
539    ----------------------------------------------------------------------
540    Name: Matthias Blume
541    Date: 2000/04/28 17:30:00 JST
542    Tag: blume-20000428-pathconfig
543    Description:
544    
545    1. I changed config/install.sh to remove duplicate entries from the
546       lib/pathconfig file at the end.  Moreover, the final version of
547       lib/pathconfig is sorted alphabetically.  The same (sorting) is done
548       in src/system/installml.
549    
550    2. The config/install.sh script now consistently uses relative
551       pathnames in lib/pathconfig whenever the anchor is in the lib
552       directory.  (So far this was true for the libraries that come
553       pre-compiled and bundled as part of the bootfiles but not for
554       libraries that are compiled by the script itself.)
555    
556    ----------------------------------------------------------------------
557    Name: Matthias Blume
558    Date: 2000/04/26 13:10:00 JST
559    Tag: blume-20000426-fun_suffix
560    Description:
561    
562    Added ".fun" as a recognized file name suffix (for ML code).
563    
564    ----------------------------------------------------------------------
565    Name: Allen Leung
566    Date: 2000/04/25 17:00:00 EST
567    Tag: leunga-20000425-alpha-ra
568    Description:
569    
570    1. Alpha
571    
572        PSEUDOARITH was missing in AlphaRewrite.  This causes an endless loop
573    in C--.
574    
575    2. RA
576    
577       Added a flag "ra-dump-size" to print out the size of the flowgraph
578       and the interference graph.
579    
580    ----------------------------------------------------------------------
581    Name: Dave MacQueen
582    Date: 2000/04/25/
583    Tag: dbm-20000425-mlyacc_doc_examples
584    Description:
585      Updated mlyacc.tex sections 5 and 7 for SML '97 and CM.
586      Updated all three examples in src/ml-yacc/examples to run
587      under 110.* using CM.make.
588    
589    ----------------------------------------------------------------------
590    Name: Allen Leung
591    Date: 2000/04/20 23:04:00 EST
592    Tag: leunga-20000420-ssa-c---stuff
593    Description:
594    
595      This update synchronizes my repository with Yale's.  Most of these
596    changes, however, do not affect SML/NJ at all (the RA is an exception).
597    
598    1. Register Allocator
599    
600       a. An improvement in the interference graph construction:
601          Given a copy
602    
603                s <- t
604    
605          no interference edge between s and t is added for this definition of s.
606    
607       b. I've added two new spill heuristic modules that Fermin and I developed
608          (in the new library RA.cm). These are unused in SML/NJ but maybe
609          useful for others (Moby?)
610    
611    2. X86
612    
613       a. Various fixes in the backend provided by Fermin [C--] and Lal.
614    
615    3. Alpha
616    
617       a. Added the BSR instruction and code generation that goes with it [C--]
618       b. Other fixes too numerous to recount provided by Fermin [C--]
619    
620    4. Regmaps
621    
622       a. The regmaps are not initialized with the identity physical bindings
623          at creation time.  This is unneeded.
624    
625    5. MLRISC Optimizations
626    
627       a. The DJ-Graph module can now compute the iterated dominance frontiers
628          intersects with liveness incrementally in linear time! Woohoo!
629          This is now used in my new SSA construction algorithm.
630    
631       b. THe branch reorganization module is now smarter about linear chains of
632          basic blocks.
633    
634    
635    ----------------------------------------------------------------------
636    Name: Matthias Blume
637    Date: 2000/04/12 13:52:00 JST
638    Tag: blume_main_v110p27_1
639    Description:
640    
641    Changed install.sh script to handle archive files without version number
642    and to use "boot.<arch>-<os>" instead of "sml.boot.<arch>-<os>" for the
643    name of the boot file archive.
644    
645    ----------------------------------------------------------------------
646    Name: Dave MacQueen
647    Date: 2000/04/09 14:00 EDT
648    Tag: dbm-20000410-Version_110_27
649    Description:
650    
651    1. Updated src/compiler/TopLevel/main/version.sml to version 110.27
652    
653    2. Updated src/config/version to 110.27
654    
655    3. New boot files!
656    
657    ----------------------------------------------------------------------
658    Name: Allen Leung
659    Date: 2000/04/09 19:09:00 EST
660    Tag: leunga-20000409-misc
661    Description:
662    
663    1.  Yet another fix for x86 assembly for idivl, imull, mull and friends.
664    
665    2.  Miscellaneous improvements to MLRISC (unused in sml/nj)
666    
667    ----------------------------------------------------------------------
668    Name: Stefan
669    Date: 2000/04/07 10:00:00 EDT
670    Tag: monnier-20000406-branch-handling
671    Description:
672    
673    Improved handling of branches (mostly those generated from
674    polymorphic equality), removed switchoff and changed the
675    default optimization settings (more cpsopt and less flintopt).
676    
677    ----------------------------------------------------------------------
678    Name: Allen Leung
679    Date: 2000/04/06 01:30:00 EST
680    Tag: leunga-20000406-peephole-x86-SSA-2
681    Description:
682    
683       Forgot a few files.
684    
685    ----------------------------------------------------------------------
686    Name: Allen Leung
687    Date: 2000/04/06 00:36:00 EST
688    Tag: leunga-20000406-peephole-x86-SSA
689    Description:
690    
691    1.  New Peephole code
692    
693    2.  Minor improvement to X86 instruction selection
694    
695    3.  Various fixes to SSA and machine description -> code translator
696    
697    ----------------------------------------------------------------------
698    Name: Matthias Blume
699    Date: 2000/04/05 12:30:00 JST
700    Tag: blume_main_v110p26p2_3
701    Description:
702    
703    This update just merges three minor cosmetic updates to CM's sources
704    to get ready for the 110.27 code freeze on Friday.  No functionality
705    has changed.
706    
707    ----------------------------------------------------------------------
708    Name: Allen Leung
709    Date: 2000/04/04 19:39:00 EST
710    Tag: leunga-20000404-x86-asm
711    Description:
712    
713    1.  Fixed a problem in X86 assembly.
714    
715        Things like
716    
717           jmp %eax
718           jmp (%eax)
719    
720        should be output as
721    
722           jmp *%eax
723           jmp *(%eax)
724    
725    2.  Assembly output
726    
727          Added a new flag
728    
729              "asm-indent-copies" (default to false)
730    
731          When this flag is on, parallel copies will be indented an extra level.
732    
733    ----------------------------------------------------------------------
734    Name: Allen Leung
735    Date: 2000/04/04 03:18:00 EST
736    Tag: leunga-20000404-C--Moby
737    Description:
738    
739        All of these fixes are related to C--, Moby, and my own optimization
740        stuff; so they shouldn't affect SML/NJ.
741    
742    1.  X86
743    
744        Various fixes related floating point, and extensions.
745    
746    2.  Alpha
747    
748        Some extra patterns related to loads with signed/zero extension
749        provided by Fermin.
750    
751    3.  Assembly
752    
753        When generating assembly, resolve the value of client defined constants,
754        instead of generating symbolic values.  This is controlled by the
755        new flag "asm-resolve-constants", which is default to true.
756    
757    4.  Machine Descriptions
758    
759        a. The precedence parser was slightly broken when parsing infixr symbols.
760        b. The type generalizing code had the bound variables reversed, resulting
761           in a problem during arity raising.
762        c. Various fixes in machine descriptions.
763    
764    ----------------------------------------------------------------------
765    Name: Matthias Blume
766    Date: 2000/04/03 16:05:00 JST
767    Tag: blume_main_v110p26p2_2
768    Description:
769    
770    I eliminated coreEnv from compInfo.  Access to the "Core" structure is
771    now done via the ordinary static environment that is context to each
772    compilation unit.
773    
774    To this end, I arranged that instead of "structure Core" as "structure
775    _Core" is bound in the pervasive environment.  Core access is done via
776    _Core (which can never be accidentally rebound because _Core is not a
777    legal surface-syntax symbol).
778    
779    The current solution is much cleaner because the core environment is
780    now simply part of the pervasive environment which is part of every
781    compilation unit's context anyway.  In particular, this eliminates all
782    special-case handling that was necessary until now in order to deal
783    with dynamic and symbolic parts of the core environment.
784    
785    Remaining hackery (to bind the "magic" symbol _Core) is localized in the
786    compilation manager's bootstrap compiler (actually: in the "init group"
787    handling).  See the comments in src/system/smlnj/init/init.cmi for
788    more details.
789    
790    I also tried to track down all mentions of "Core" (as string argument
791    to Symbol.strSymbol) in the compiler and replaced them with a
792    reference to the new CoreSym.coreSym.  Seems cleaner since the actual
793    name appears in one place only.
794    
795    Binfile and bootfile format have not changed, but the switchover from
796    the old "init.cmi" to the new one is a bit tricky, so I supplied new
797    bootfiles anyway.
798    
799    ----------------------------------------------------------------------
800    Name: Allen Leung
801    Date: 2000/04/02 21:17:00 EST
802    Tag: leunga-20000402-mltree
803    Description:
804    
805       1. Renamed the constructor CALL in MLTREE by popular demand.
806       2. Added a bunch of files from my repository.  These are currently
807          used by other non-SMLNJ backends.
808    
809  ----------------------------------------------------------------------  ----------------------------------------------------------------------
810  Name: Allen Leung  Name: Allen Leung
# Line 104  Line 898 
898     (specified in the .cm file at each instance where the tool's class is     (specified in the .cm file at each instance where the tool's class is
899     used).     used).
900    
901     This was done to accomodate the new "make" and "shell" tools which     This was done to accommodate the new "make" and "shell" tools which
902     facilitate fairly seemless hookup to portions of code managed using     facilitate fairly seamless hookup to portions of code managed using
903     Makefiles or Shell scripts.     Makefiles or Shell scripts.
904    
905     There are no classes "shared" or "private" anymore.  Instead, the     There are no classes "shared" or "private" anymore.  Instead, the
# Line 117  Line 911 
911    
912     All existing tools are described in the CM manual.     All existing tools are described in the CM manual.
913    
914     - Slightly better error handling.  (CM now surpresses many followup     - Slightly better error handling.  (CM now suppresses many followup
915     error messages that tended to be more annoying than helpful.)     error messages that tended to be more annoying than helpful.)
916    
917  2. Major changes to the compiler's static environment data structures.  2. Major changes to the compiler's static environment data structures.
# Line 251  Line 1045 
1045    
1046       I've changed andl to testl in the floating point test sequence       I've changed andl to testl in the floating point test sequence
1047       whenever appropriate.  The Intel optimization guide states that       whenever appropriate.  The Intel optimization guide states that
1048       testl is perferable to andl.       testl is preferable to andl.
1049    
1050  7. RA (x86 only)  7. RA (x86 only)
1051    
# Line 433  Line 1227 
1227    
1228  1. Tools.registerStdShellCmdTool (from smlnj/cm/tool.cm) takes an  1. Tools.registerStdShellCmdTool (from smlnj/cm/tool.cm) takes an
1229  additional argument called "template" which is an optional string that  additional argument called "template" which is an optional string that
1230  specifiel the layout of the tool command line.  See the CM manual for  specifies the layout of the tool command line.  See the CM manual for
1231  explanation.  explanation.
1232    
1233  2. A special-purpose tool can be "regisitered" by simply dropping the  2. A special-purpose tool can be "registered" by simply dropping the
1234  corresponding <...>-tool.cm (and/or <...>-ext.cm) into the same  corresponding <...>-tool.cm (and/or <...>-ext.cm) into the same
1235  directory where the .cm file lives that uses this tool.  (The  directory where the .cm file lives that uses this tool.  (The
1236  behavior/misfeature until now was to look for the tool description  behavior/misfeature until now was to look for the tool description
# Line 480  Line 1274 
1274  rebuild.  Having sets of the form <base><k>.{bin,boot}.<arch>-unix for  rebuild.  Having sets of the form <base><k>.{bin,boot}.<arch>-unix for
1275  <k>=1,2,... is normally not a good idea when invoking fixpt.  However,  <k>=1,2,... is normally not a good idea when invoking fixpt.  However,
1276  they might be the result of an earlier partial run of fixpt (which  they might be the result of an earlier partial run of fixpt (which
1277  perhaps got accidentially killed).  In this case, fixpt will quickly  perhaps got accidentally killed).  In this case, fixpt will quickly
1278  move through what exists before continuing where it left off earlier,  move through what exists before continuing where it left off earlier,
1279  and, thus, saves a lot of time.  and, thus, saves a lot of time.
1280    
# Line 530  Line 1324 
1324    it from that remote directory.    it from that remote directory.
1325    This should simplify installation further:  For machines that have    This should simplify installation further:  For machines that have
1326    access to the internet, just fetch <version>-config.tgz, unpack it,    access to the internet, just fetch <version>-config.tgz, unpack it,
1327    edit config/targets, and go (run config/install.sh).  The scipt will    edit config/targets, and go (run config/install.sh).  The script will
1328    fetch everything else that it might need all by itself.    fetch everything else that it might need all by itself.
1329    
1330    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.590  
changed lines
  Added in v.670

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