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 812, Fri Apr 20 15:07:30 2001 UTC revision 1029, Fri Jan 18 21:42:35 2002 UTC
# Line 8  Line 8 
8  The form of an entry should be:  The form of an entry should be:
9    
10  Name:  Name:
11  Date:  Date: yyyy/mm/dd
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2002/01/18
18    Tag: blume-20020118-more-ffifiddle
19    Description:
20    
21    Today's FFI fiddling:
22    
23      - Provided a structure CGetSet with "convenient" versions of C.Get.* and
24        C.Set.* that use concrete (MLRep.*) arguments and results instead
25        of abstract ones.
26    
27      - Provided word-style bit operations etc. for "int" representation
28        types in MLRep.S<Foo>Bitops where <Foo> ranges over Char, Int, Short,
29        and Long.
30    
31    ----------------------------------------------------------------------
32    Name: Matthias Blume
33    Date: 2002/01/18
34    Tag: blume-20020118-use-x86-fp
35    Description:
36    
37    Now that x86-fast-fp seems to be working, I turned it back on again
38    by default.  (Seems to work fine now, even with the FFI.)
39    
40    Other than that, I added some documentation about the FFI to
41    src/ml-nlffigen/README and updated the FFI test examples in
42    src/ml-nlffi-lib/Tests/*.
43    
44    ----------------------------------------------------------------------
45    Name: Allen Leung
46    Date: 2002/01/17
47    Tag: leunga-20020117-x86-fast-fp-call
48    Description:
49    
50       1. Fixed a problem with handling return fp values when x86's fast fp
51          mode is turned on.
52    
53       2. Minor pretty printing fix for cellset.  Print %st(0) as %st(0) instead
54          of %f32.
55    
56       3. Added a constructor INT32lit to the ast of MLRISC tools.
57    
58    ----------------------------------------------------------------------
59    Name: Matthias Blume
60    Date: 2002/01/16
61    Tag: blume-20020116-ffifiddle
62    Description:
63    
64    More fiddling with the FFI interface:
65    
66     - Make constness 'c instead of rw wherever possible.  This eliminates
67       the need for certain explicit coercions.  (However, due to ML's
68       value polymorphism, there will still be many cases where explicit
69       coercions are necessary.  Phantom types are not the whole answer
70       to modeling a subtyping relationship in ML.)
71    
72     - ro/rw coersions for pointers added.  (Avoids the detour through */&.)
73    
74     - "printf" test example added to src/ml-nlffi-lib/Tests.  (Demonstrates
75       clumsy workaround for varargs problem.)
76    
77    ----------------------------------------------------------------------
78    Name: Lal George
79    Date: 2002/01/15
80    Tag: <none>
81    Description:
82    
83    1. Since COPY instructions are no longer native to the architecture,
84       a generic functor can be used to implement the expandCopies function.
85    
86    2. Allowed EXPORT and IMPORT pseudo-op declarations to appear inside a
87       TEXT segment.
88    
89    ----------------------------------------------------------------------
90    Name: Matthias Blume
91    Date: 2002/01/15
92    Tag: blume-20020115-ffiupdates
93    Description:
94    
95    1. Fix for bug resulting in single-precision float values being returned
96       incorrectly from FFI calls.
97    
98    2. Small modifications to C FFI API:
99    
100        - memory-allocation routines return straight objects (no options)
101          and raise an exception in out-of-memory situations
102        - unsafe extensions to cast between function pointers and pointers
103          from/to ints
104        - added structure C_Debug as an alternative to structure C where
105          pointer-dereferencing (|*| and |*!) always check for null-pointers
106        - added open_lib' to DynLinkage;  open_lib' works like open_lib
107          but also takes a (possibly empty) list of existing library handles
108          that the current library depends on
109    
110    ----------------------------------------------------------------------
111    Name: Matthias Blume
112    Date: 2002/01/10
113    Tag: blume-20020110-newffigen
114    Description:
115    
116    1. Updates to portable graph code.
117    
118    2. Major update to ml-nlffigen and ml-nlffi-lib.  Things are much
119       more scalable now so that even huge interfaces such as the one
120       for GTK compile in finite time and space. :-)
121       See src/ml-nlffigen/README for details on what's new.
122    
123    ----------------------------------------------------------------------
124    Name: Lal George
125    Date: 2001/01/09 14:31:35 EST 2002
126    Tag: george-20011206-rm-native-copy
127    Description:
128    
129            Removed the native COPY and FCOPY instructions
130            from all the architectures and replaced it with the
131            explicit COPY instruction from the previous commit.
132    
133            It is now possible to simplify many of the optimizations
134            modules that manipulate copies. This has not been
135            done in this change.
136    
137    ----------------------------------------------------------------------
138    Name: Lal George
139    Date: 2001/12/06 16:50:13 EST 2001
140    Tag: george-20011206-mlrisc-instruction
141    Description:
142    
143    Changed the representation of instructions from being fully abstract
144    to being partially concrete. That is to say:
145    
146      from
147            type instruction
148    
149      to
150            type instr                              (* machine instruction *)
151    
152            datatype instruction =
153                LIVE of {regs: C.cellset, spilled: C.cellset}
154              | KILL of {regs: C.cellset, spilled: C.cellset}
155              | COPYXXX of {k: CB.cellkind, dst: CB.cell list, src: CB.cell list}
156              | ANNOTATION of {i: instruction, a: Annotations.annotation}
157              | INSTR of instr
158    
159    This makes the handling of certain special instructions that appear on
160    all architectures easier and uniform.
161    
162    LIVE and KILL say that a list of registers are live or killed at the
163    program point where they appear. No spill code is generated when an
164    element of the 'regs' field is spilled, but the register is moved to
165    the 'spilled' (which is present, more for debugging than anything else).
166    
167    LIVE replaces the (now deprecated) DEFFREG instruction on the alpha.
168    We used to generate:
169    
170            DEFFREG f1
171            f1 := f2 + f3
172            trapb
173    
174    but now generate:
175    
176            f1 := f2 + f3
177            trapb
178            LIVE {regs=[f1,f2,f3], spilled=[]}
179    
180    Furthermore, the DEFFREG (hack) required that all floating point instruction
181    use all registers mentioned in the instruction. Therefore f1 := f2 + f3,
182    defines f1 and uses [f1,f2,f3]! This hack is no longer required resulting
183    in a cleaner alpha implementation. (Hopefully, intel will not get rid of
184    this architecture).
185    
186    COPYXXX is intended to replace the parallel COPY and FCOPY  available on
187    all the architectures. This will result in further simplification of the
188    register allocator that must be aware of them for coalescing purposes, and
189    will also simplify certain aspects of the machine description that provides
190    callbacks related to parallel copies.
191    
192    ANNOTATION should be obvious, and now INSTR represents the honest to God
193    machine instruction set!
194    
195    The <arch>/instructions/<arch>Instr.sml files define certain utility
196    functions for making porting easier -- essentially converting upper case
197    to lower case. All machine instructions (of type instr) are in upper case,
198    and the lower case form generates an MLRISC instruction. For example on
199    the alpha we have:
200    
201      datatype instr =
202         LDA of {r:cell, b:cell, d:operand}
203       | ...
204    
205      val lda : {r:cell, b:cell, d:operand} -> instruction
206        ...
207    
208    where lda is just (INSTR o LDA), etc.
209    
210    ----------------------------------------------------------------------
211    Name: Matthias Blume
212    Date: 2001/11/22 21:40:00 EST
213    Tag: Release_110_37
214    Description:
215    
216    Release 110.37.  This time for real.
217    
218    ----------------------------------------------------------------------
219    Name: Matthias Blume
220    Date: 2001/11/21 16:35:00 EST
221    Tag: blume-20011121-foot-in-mouth
222    Description:
223    
224    Removed the "Release_110_37" tag because of a serious bug.
225    This will be re-tagged once the bug is fixed.
226    
227    ----------------------------------------------------------------------
228    Name: Matthias Blume
229    Date: 2001/11/21 16:14:00 EST
230    Tag: blume-20011121-forgottenfile
231    Description:
232    
233    Forgot to add a file.  (Just a .tex-file -- part of
234    the CM manual source.)
235    
236    ----------------------------------------------------------------------
237    Name: Matthias Blume
238    Date: 2001/11/21 16:10:00 EST
239    Tag: blume-20011121-invalid_110_37
240    Description:
241    
242    Note: I removed the original tag "Release_110_37" from this commit
243          because we found a serious bug in all non-x86 backends.
244          - Matthias
245    
246    1. Modifications to the SML/NJ code generator and to the runtime system
247       so that code object name strings are directly inserted into code
248       objects at code generation time.  The only business the runtime system
249       has with this is now to read the name strings on occasions.
250       (The encoding of the name string has also changed somewhat.)
251    
252    2. CM now implements a simple "set calculus" for specifying export lists.
253       In particular, it is now possible to refer to the export lists of
254       other libraries/groups/sources and form unions as well as differences.
255       See the latest CM manual for details.
256    
257    3. An separate notion of "proxy" libraries has again be eliminated from
258       CM's model.  (Proxy libraries are now simply a special case of using
259       the export list calculus.)
260    
261    4. Some of the existing libraries now take advantage of the new set
262       calculus.
263       (Notice that not all libraries have been converted because some
264       of the existing .cm-files are supposed to be backward compatible
265       with 110.0.x.)
266    
267    5. Some cleanup in stand-alone programs.  (Don't use "exnMessage" -- use
268       "General.exnMessage"!  The former relies on a certain hook to be
269       initialized, and that often does not happen in the stand-alone case.)
270    
271    ----------------------------------------------------------------------
272    Name: Lal George
273    Date: 2001/11/21  13:56:18 EST
274    Tag: george-2001121-pseudo-ops
275    Description:
276    
277      Implemented a complete redesign of MLRISC pseudo-ops. Now there
278      ought to never be any question of incompatabilities with
279      pseudo-op syntax expected by host assemblers.
280    
281      For now, only modules supporting GAS syntax are implemented
282      but more should follow, such as MASM, and vendor assembler
283      syntax, e.g. IBM as, Sun as, etc.
284    
285    ----------------------------------------------------------------------
286    Name: Matthias Blume
287    Date: 2001/11/14 11:52:00 EST
288    Tag: blume-20011114-srcname
289    Description:
290    
291    1. Routed the name of the current source file to mlriscgen where it
292       should be directly emitted into the code object.  (This last part
293       is yet to be done.)
294    
295    2. Some cleanup of the pgraph code to make it match the proposal that
296       I put out the other day.  (The proposal notwithstanding, things are
297       still in flux here.)
298    
299    ----------------------------------------------------------------------
300    Name: Lal George
301    Date: 2001/11/14 09:44:04 EST
302    Tag:
303    Description:
304    
305      Fix for a backpatching bug reported by Allen.
306    
307      Because the boundary between short and long span-dependent
308      instructions is +/- 128, there are an astounding number of
309      span-dependent instructions whose size is over estimated.
310    
311      Allen came up with the idea of letting the size of span
312      dependent instructions be non-monotonic, for a maxIter
313      number of times, after which the size must be monotonically
314      increasing.
315    
316      This table shows the number of span-dependent instructions
317      whose size was over-estimated as a function of maxIter, for the
318      file Parse/parse/ml.grm.sml:
319    
320         maxIter            # of instructions:
321            10                      687
322            20                      438
323            30                      198
324            40                        0
325    
326      In compiling the compiler, there is no significant difference in
327      compilation speed between maxIter=10 and maxIter=40. Actually,
328      my measurements showed that maxIter=40 was a tad faster than
329      maxIter=10! Also 96% of the  files in the compiler reach a fix
330      point within 13 iterations, so fixing maxIter at 40, while high,
331      is okay.
332    
333    ----------------------------------------------------------------------
334    Name: Matthias Blume
335    Date: 2001/10/31 15:25:00 EST
336    Tag: blume-20011031-pgraph
337    Description:
338    
339    CKIT:
340    * Changed the "Function" constructor of type Ast.ctype to carry optional
341      argument identifiers.
342    * Changed the return type of TypeUtil.getFunction accordingly.
343    * Type equality ignores the argument names.
344    * TypeUtil.composite tries to preserve argument names but gives up quickly
345      if there is a mismatch.
346    
347    installation script:
348    * attempts to use "curl" if available (unless "wget" is available as well)
349    
350    CM:
351    * has an experimental implementation of "portable graphs" which I will
352      soon propose as an implementation-independent library format
353    * there are also new libraries $/pgraph.cm and $/pgraph-util.cm
354    
355    NLFFI-LIB:
356    * some cleanup (all cosmetic)
357    
358    NLFFIGEN:
359    * temporarily disabled the mechanism that suppresses ML output for
360      C definitions whose identifiers start with an underscore character
361    * generate val bindings for enum constants
362    * user can request that only one style (light or heavy) is being used;
363      default is to use both (command-line arguments: -heavy and -light)
364    * fixed bug in handling of function types involving incomplete pointers
365    * generate ML entry points that take record arguments (i.e., using
366      named arguments) for C functions that have a prototype with named
367      arguments
368      (see changes to CKIT)
369    
370    ----------------------------------------------------------------------
371    Name: Allen Leung
372    Date: 2001/10/27 20:34:00 EDT
373    Tag: leunga-20011027-x86-fast-fp-call
374    Description:
375    
376       Fixed the bug described in blume-20010920-slowfp.
377    
378       The fix involves
379          1. generating FCOPYs in FSTP in ia32-svid
380          2. marking a CALL with the appropriate annotation
381    
382    ----------------------------------------------------------------------
383    Name: Matthias Blume
384    Date: 2001/10/16 11:32:00 EDT
385    Tag: blume-20011016-netbsd
386    Description:
387    
388    Underscore patch from Chris Richards (fixing problem with compiling
389    runtime system under recent NetBSD).
390    
391    ----------------------------------------------------------------------
392    Name: Allen Leung
393    Date: 2001/10/12 17:18:32 EDT 2001
394    Tag: leung-20011012-x86-printflowgraph
395    Description:
396    
397    X86RA now uses a valid (instead of dummy) PrintFlowgraph module.
398    
399    ----------------------------------------------------------------------
400    Name: Lal George
401    Date: 2001/10/11 23:51:34 EDT
402    Tag: george-20011011-too-many-instrs
403    Description:
404    
405    The representation of a program point never expected to see more
406    than 65536 instructions in a basic block!
407    
408    ----------------------------------------------------------------------
409    Name: Lal George
410    Date: 2001/10/09 09:41:37 EDT
411    Tag: george-20011008-mlrisc-labels
412    Description:
413    
414    Changed the machine description files to support printing of
415    local and global labels in assembly code, based on host assembler
416    conventions.
417    
418    ----------------------------------------------------------------------
419    Name: Matthias Blume
420    Date: 2001/09/25 15:25:00 EDT
421    Tag: blume-20010925-exninfo
422    Description:
423    
424    I provided a non-hook implementation of exnName (at the toplevel) and
425    made the "dummy" implementation of exnMessage (at the toplevel) more
426    useful: if nothing gets "hooked in", then at least you are going to
427    see the exception name and a message indicating why you don't see more.
428    
429    [For the time being, programs that need exnMessage and want to use
430    ml-build should either use General.exnMessage (strongly recommended) or
431    refer to structure General at some other point so that CM sees a
432    static dependency.]
433    
434    [Similar remarks go for "print" and "use":  If you want to use their
435    functionality in stand-alone programs generated by ml-build, then use
436    TextIO.output and Backend.Interact.useFile (from $smlnj/compiler.cm).]
437    
438    ----------------------------------------------------------------------
439    Name: Matthias Blume
440    Date: 2001/09/20 17:28:00 EDT
441    Tag: blume-20010920-slowfp
442    Description:
443    
444    Allen says that x86-fast-fp is not safe yet, so I turned it off again...
445    
446    ----------------------------------------------------------------------
447    Name: Matthias Blume
448    Date: 2001/09/20 17:20:00 EDT
449    Tag: blume-20010920-canonicalpaths
450    Description:
451    
452    0. Updated the BOOT file (something that I forgot to do earlier).
453    
454    1. Small internal change to CM so that it avoids "/../" in filenames
455       as much as possible (but only where it is safe).
456    
457    2. Changed config/_run-sml (resulting in a changed bin/.run-sml) so
458       that arguments that contain delimiters are passed through correctly.
459       This change also means that all "special" arguments of the form
460       @SMLxxx... must come first.
461    
462    3. Changed install script to put relative anchor names for tool commands
463       into pathconfig.
464    
465    ----------------------------------------------------------------------
466    Name: Matthias Blume
467    >>>>>>> 1.169
468    Date: 2001/09/18 15:35:00 EDT
469    Tag: blume-20010918-readme11036
470    Description:
471    
472    Added README files.
473    
474    ----------------------------------------------------------------------
475    Name: Matthias Blume
476    Date: 2001/09/18 11:45:00 EDT
477    Tag: Release_110_36 (retag)
478    Description:
479    
480    Fixed mistake in config/preloads. Retagged as 110.36.
481    
482    ----------------------------------------------------------------------
483    Name: Matthias Blume
484    Date: 2001/09/18 09:40:00 EDT
485    Tag: Release_110_36_orig (tag changed)
486    Description:
487    
488    New version (110.36).  New bootfiles.
489    
490    ----------------------------------------------------------------------
491    Name: Matthias Blume
492    Date: 2001/09/14 16:15:00 EDT
493    Tag: blume-20010914-x86fastfp
494    Description:
495    
496    John committed some changes that Allen made, in particular a (hopefully)
497    correctly working version of the x86-fp module.
498    
499    I changed the default setting of the Control.MLRISC.getFlag "x86-fast-fp"
500    flag to "true".  Everything seems to compile to a fixpoint ok, and
501    "mandelbrot" speeds up by about 15%.
502    
503    ----------------------------------------------------------------------
504    Name: Matthias Blume
505    Date: 2001/09/13 11:20:00 EDT
506    Tag: blume-20010913-minimal
507    Description:
508    
509    1. Stefan Monnier's patch to fix a miscompilation problem that
510       was brought to light by John Reppy's work on Moby.
511    
512    2. Implemented a minimal "structure Compiler" that contains just
513       "version" and "architecture".  The minimal version will be
514       available when the full version is not.  This is for backward-
515       compatibility with code that wants to test Compiler.version.
516    
517    ----------------------------------------------------------------------
518    Name: Matthias Blume
519    Date: 2001/08/28 14:03:00 EDT
520    Tag: blume-20010828-ml-lex
521    Description:
522    
523    Fix for bug 1581, received from Neophytos Michael.
524    
525    ----------------------------------------------------------------------
526    Name: Matthias Blume
527    Date: 2001/08/27 11:20:00 EDT
528    Tag: blume-20010827-readme11035
529    Description:
530    
531    Fleshed out the README file for 110.35.
532    
533    ----------------------------------------------------------------------
534    Name: Matthias Blume
535    Date: 2001/08/24 17:10:00 EDT
536    Tag: Release_110_35
537    Description:
538    
539    New version number (110.35).  New bootfiles.
540    
541    ----------------------------------------------------------------------
542    Name: Lal George
543    Date: 2001/08/24 13:47:18 EDT 2001
544    Tag: george-20010824-MLRISC-graphs
545    Description:
546    
547     removed clusters from MLRISC completely and replaced with graphs.
548    
549    ----------------------------------------------------------------------
550    Name: Matthias Blume
551    Date: 2001/08/23 17:50:00 EDT
552    Tag: blume-20010823-toplevel
553    Description:
554    
555    - some reorganization of the code that implements various kinds of
556      environments in the compiler (static, dynamic, symbolic, combined)
557    - re-implemented the EnvRef module so that evalStream works properly
558      (if the stream contains references to "use", "CM.make", etc.)
559    - cleaned up evalloop.sml and interact.sml (but they need more cleaning)
560    
561    ----------------------------------------------------------------------
562    Name: Matthias Blume
563    Date: 2001/08/20 15:50 EDT
564    Tag: blume20010820-slipup
565    Description:
566    
567    I forgot to commit a few files.  Here they are...
568    
569    ----------------------------------------------------------------------
570    Name: Matthias Blume
571    Date: 2001/08/20 15:35:00 EDT
572    Tag: blume-20010820-debugprof
573    Description:
574    
575    !!!! NEW BOOTFILES !!!!
576    
577    This is another round of reorganizing the compiler sources.  This
578    time the main goal was to factor out all the "instrumentation"
579    passes (for profiling and backtracing) into their own library.
580    The difficulty was to do it in such a way that it does not depend
581    on elaborate.cm but only on elabdata.cm.
582    
583    Therefore there have been further changes to both elaborate.cm and
584    elabdata.cm -- more "generic" things have been moved from the former
585    to the latter.  As a result, I was forced to split the assignment
586    of numbers indicating "primtyc"s into two portions: SML-generic and
587    SML/NJ-specific.  Since it would have been awkward to maintain,
588    I bit the bullet and actually _changed_ the mapping between these
589    numbers and primtycs.  The bottom line of this is that you need
590    a new set of bin- and bootfiles.
591    
592    I have built new bootfiles for all architectures, so doing a fresh
593    checkout and config/install.sh should be all you need.
594    
595    The newly created library's name is
596    
597        $smlnj/viscomp/debugprof.cm
598    
599    and its sources live under
600    
601        src/compiler/DebugProf
602    
603    ----------------------------------------------------------------------
604    Name: Matthias Blume
605    Date: 2001/08/15 17:15:00 EDT
606    Tag: blume-20010815-compreorg
607    Description:
608    
609    This is a first cut at reorganizing the CM libraries that make up the
610    core of the compiler.  The idea is to separate out pieces that could
611    be used independently by tools, e.g., the parser, the typechecker, etc.
612    
613    The current status is a step in this direction, but it is not quite
614    satisfactory yet.  Expect more changes in the future.
615    
616    Here is the current (new) organization...
617    
618        What used to be $smlnj/viscomp/core.cm is now divided into
619        six CM libraries:
620    
621             $smlnj/viscomp/basics.cm
622                           /parser.cm
623                           /elabdata.cm
624                           /elaborate.cm
625                           /execute.cm
626                           /core.cm
627    
628        The CM files for these libraries live under src/system/smlnj/viscomp.
629        All these libraries are proxy libraries that contain precisely
630        one CM library component.  Here are the locations of the components
631        (all within the src/compiler tree):
632    
633             Basics/basics.cm
634             Parse/parser.cm
635             ElabData/elabdata.cm
636             Elaborator/elaborate.cm
637             Execution/execute.cm
638             core.cm
639    
640         [This organization is the same that has been used already
641         for a while for the architecture-specific parts of the visible
642         compiler and for the old version of core.cm.]
643    
644         As you will notice, many source files have been moved from their
645         respective original locations to a new home in one of the above
646         subtrees.
647    
648         The division of labor between the new libraries is the following:
649    
650             basics.cm:
651                - Simple, basic definitions that pertain to many (or all) of
652                  the other libraries.
653             parser.cm:
654                - The SML parser, producing output of type Ast.dec.
655                - The type family for Ast is also defined and exported here.
656             elabdata.cm:
657                - The datatypes that describe input and output of the elaborator.
658                  This includes types, absyn, and static environments.
659             elaborator.cm:
660                - The SML/NJ type checker and elaborator.
661                  This maps an Ast.dec (with a given static environment) to
662                  an Absyn.dec (with a new static environment).
663                - This libraries implements certain modules that used to be
664                  structures as functors (to remove dependencies on FLINT).
665             execute.cm:
666                - Everything having to do with executing binary code objects.
667                - Dynamic environments.
668             core.cm:
669                - SML/NJ-specific instantiations of the elaborator and MLRISC.
670                - Top-level modules.
671                - FLINT (this should eventually become its own library)
672    
673    Notes:
674    
675    I am not 100% happy with the way I separated the elaborator (and its
676    data structures) from FLINT.  Two instances of the same problem:
677    
678        1. Data structures contain certain fields that carry FLINT-specific
679           information.  I hacked around this using exn and the property list
680           module from smlnj-lib.  But the fact that there are middle-end
681           specific fields around at all is a bit annoying.
682    
683        2. The elaborator calculates certain FLINT-related information.  I tried
684           to make this as abstract as I could using functorization, but, again,
685           the fact that the elaborator has to perform calculations on behalf
686           of the middle-end at all is not nice.
687    
688        3. Having to used exn and property lists is unfortunate because it
689           weakens type checking.  The other alternative (parameterizing
690           nearly *everything*) is not appealing, though.
691    
692    I removed the "rebinding =" warning hack because due to the new organization
693    it was awkward to maintain it.  As a result, the compiler now issues some of
694    these warnings when compiling init.cmi during bootstrap compilation. On
695    the plus side, you also get a warning when you do, for example:
696       val op = = Int32.+
697    which was not the case up to now.
698    
699    I placed "assign" and "deref" into the _Core structure so that the
700    code that deals with the "lazy" keyword can find them there.  This
701    removes the need for having access to the primitive environment
702    during elaboration.
703    
704    ----------------------------------------------------------------------
705    Name: Matthias Blume
706    Date: 2001/08/13
707    Tag: blume-20010813-closures
708    Description:
709    
710    This fix was sent to us by Zhong Shao.  It is supposed to improve the
711    performance of certain loops by avoiding needless closure allocation.
712    
713    ----------------------------------------------------------------------
714    Name: Lal George
715    Date: 2001/07/31 10:03:23 EDT 2001
716    Tag: george-20010731-x86-fmalloc
717    Description: Fixed bug in x86 calls
718    
719        There was a bug where call instructions would mysteriously
720        vanish. The call instruction had to be one that returned
721        a floating point value.
722    
723    ----------------------------------------------------------------------
724    Name: Lal George
725    Date: 2001/07/19 16:36:29 EDT 2001
726    Tag: george-20010719-simple-cells
727    Description:
728    
729    I have dramatically simplified the interface for CELLS in MLRISC.
730    
731    In summary, the cells interface is broken up into three parts:
732    
733      1. CellsBasis : CELLS_BASIS
734    
735            CellsBasis is a top level structure and common for all
736            architectures.  it contains the definitions of basic datatypes
737            and utility  functions over these types.
738    
739      2. functor Cells() : CELLS
740    
741            Cells generates an interface for CELLS that incorporates the
742            specific resources on the target architecture, such as the
743            presence of special register classes, their number and size,
744            and various useful substructures.
745    
746      3. <ARCH>CELLS
747    
748            e.g. SparcCells: SPARCCELLS
749    
750            <ARCH>CELLS usually contains additional bindings for special
751            registers  on the architecture, such as:
752    
753                    val r0 : cell           (* register zero *)
754                    val y : cell            (* Y register *)
755                    val psr : cell          (* processor status register *)
756                    ...
757    
758            The structure returned by applying the Cells functor is opened
759            in this interface.
760    
761    The main implication of all this is that the datatypes for cells is
762    split between CellsBasis and CELLS -- a fairly simple change for user
763    code.
764    
765    In the old scheme the CELLS interface had a definitional binding of
766    the form:
767    
768            signature CELLS = sig
769    
770               structure CellsBasis = CellsBasis
771    
772               ...
773    
774            end
775    
776    With all the sharing constraints that goes on in MLRISC, this old
777    design  quickly leads to errors such as:
778    
779            "structure definition spec inside of sharing ... "
780    
781    
782    and appears to require an unacceptable amount of sharing and where
783    constraint hackery.
784    
785    I think this error message (the interaction of definitional specs and
786    sharing) requires more explanation on our web page.
787    
788    ----------------------------------------------------------------------
789    Name: Matthias Blume
790    Date: 2001/07/19 15:00:00 EDT
791    Tag: blume-20010719-libreorg
792    Description:
793    
794    This update puts together a fairly extensive but straightforward change
795    to the way the libraries that implement the interactive system are
796    organized:
797    
798       The biggest change is the elimination of structure Compiler.  As a
799       replacement for this structure, there is now a CM library
800       (known as $smlnj/compiler.cm or $smlnj/compiler/current.cm)
801       that exports all the substructures of the original structure Compiler
802       directly.  So instead of saying Compiler.Foo.bar one now simply
803       says Foo.bar.  (The CM libraries actually export a collection of
804       structures that is richer than the collection of substructures of
805       structure Compiler.)
806    
807       To make the transition smooth, there is a separate library called
808       $smlnj/compiler/compiler.cm which puts together and exports the
809       original structure Compiler (or at least something very close to it).
810    
811       There are five members of the original structure Compiler
812       that are not exported directly but which instead became members
813       of a new structure Backend (described by signature BACKEND).  These are:
814       structure Profile (: PROFILE), structure Compile (: COMPILE), structure
815       Interact (: INTERACT), structure Machine (: MACHINE), and val
816       architecture (: string).
817    
818       Structure Compiler.Version has become structure CompilerVersion.
819    
820       Cross-compilers for alpha32, hppa, ppc, sparc, and x86 are provided
821       by $smlnj/compiler/<arch>.cm where <arch> is alpha32, hppa, ppc, sparc,
822       or x86, respectively.
823       Each of these exports the same frontend structures that
824       $smlnj/compiler.cm exports.  But they do not have a structure Backend
825       and instead export some structure <Arch>Backend where <Arch> is Alpha32,
826       Hppa, PPC, Sparc, or X86, respectively.
827    
828       Library $smlnj/compiler/all.cm exports the union of the exports of
829       $smlnj/compiler/<arch>.cm
830    
831       There are no structures <Arch>Compiler anymore, use
832       $smlnj/compiler/<arch>.cm instead.
833    
834       Library host-compiler-0.cm is gone.  Instead, the internal library
835       that instantiates CM is now called cm0.cm.  Selection of the host
836       compiler (backend) is no longer done here but. (Responsibility for it
837       now lies with $smlnj/compiler/current.cm.  This seems to be more
838       logical.)
839    
840       Many individual files have been moved or renamed.  Some files have
841       been split into multiple files, and some "dead" files have been deleted.
842    
843    Aside from these changes to library organization, there are also changes
844    to the way the code itself is organized:
845    
846       Structure Binfile has been re-implemented in such a way that it no
847       longer needs any knowledge of the compiler.  It exclusively deals
848       with the details of binfile layout.  It no longer invokes the
849       compiler (for the purpose of creating new prospective binfile
850       content), and it no longer has any knowledge of how to interpret
851       pickles.
852    
853       Structure Compile (: COMPILE) has been stripped down to the bare
854       essentials of compilation.  It no longer deals with linking/execution.
855       The interface has been cleaned up considerably.
856    
857       Utility routines for dealing with linking and execution have been
858       moved into their own substructures.
859    
860       (The ultimate goal of these changes is to provide a light-weight
861       binfile loader/linker (at least for, e.g., stable libraries) that
862       does not require CM or the compiler to be present.)
863    
864    CM documentation has been updated to reflect the changes to library
865    organization.
866    
867    ----------------------------------------------------------------------
868    Name: Matthias Blume
869    Date: 2001/07/10 17:30:00 EDT
870    Tag: Release_110_34
871    Description:
872    
873    Minor tweak to 110.34 (re-tagged):
874    
875      - README.html file added to CVS repository
876      - runtime compiles properly under FreeBSD 3.X and 4.X
877    
878    ----------------------------------------------------------------------
879    Name: Matthias Blume
880    Date: 2001/07/10 17:30:00 EDT
881    Tag: Release_110_34
882    Description:
883    
884    New version number (110.34). New bootfiles.
885    
886    ----------------------------------------------------------------------
887    Name: Matthias Blume
888    Date: 2001/07/09 16:00:00 EDT
889    Tag: blume-20010709-more-varargs
890    Description:
891    
892    I changed the handling of varargs in ml-nlffigen again:
893    The ellipsis ... will now simply be ignored (with an accompanying warning).
894    
895    The immediate effect is that you can actually call a varargs function
896    from ML -- but you can't actually supply any arguments beyond the ones
897    specified explicitly.  (For example, you can call printf with its format
898    string, but you cannot pass additional arguments.)
899    
900    This behavior is only marginally more useful than the one before, but
901    it has the advantage that a function or, more importantly, a function
902    type never gets dropped on the floor, thus avoiding follow-up problems with
903    other types that refer to the offending one.
904    
905    ----------------------------------------------------------------------
906    Name: Matthias Blume
907    Date: 2001/07/09 11:25:00 EDT
908    Tag: blume-20010709-varargs
909    Description:
910    
911    1. ckit-lib.cm now exports structure Error
912    2. ml-nlffigen reports occurences of "..." (i.e., varargs function types)
913       with a warning accompanied by a source location.  Moreover, it
914       merely skips the offending function or type and proceeds with the
915       rest of its work.u  As a result, one can safely feed C code containing
916       "..." to ml-nlffigen.
917    3. There are some internal improvements to CM, providing slightly
918       more general string substitutions in the tools subsystem.
919    
920    ----------------------------------------------------------------------
921    Name: Matthias Blume
922    Date: 2001/06/27 15:10:00 EDT
923    Tag: blume-20010627-concur
924    Description:
925    
926    Fixed a small bug in CM's handling of parallel compilation.
927    (You could observe the bug by Control-C-interrupting an ordinary
928    CMB.make or CM.stabilize and then attaching some compile servers.
929    The result was that all of a sudden the previously interrupted
930    compilation would continue on its own.  This was because of
931    an over-optimization: CM did not bother to clean out certain queues
932    when no servers were attached "anyway", resulting in the contents
933    of these queues to grab control when new servers did get attached.)
934    
935    There is also another minor update to the CM manual.
936    
937    ----------------------------------------------------------------------
938    Name: Matthias Blume
939    Date: 2001/06/26 16:15:00 EDT
940    Tag: blume-20010626-cmdoc
941    Description:
942    
943    Minor typo fixed in CM manual (syntax diagram for libraries).
944    
945    ----------------------------------------------------------------------
946    Name: Matthias Blume
947    Date: 2001/06/25 22:55:00 EDT
948    Tag: blume-20010625-x86pc
949    Description:
950    
951    Fixed a nasty bug in the X86 assembly code that caused signal
952    handlers to fail (crash) randomly.
953    
954    ----------------------------------------------------------------------
955    Name: Matthias Blume
956    Date: 2001/06/25 12:05:00 EDT
957    Tag: blume-20010625-nlffigen
958    Description:
959    
960    This update fixes a number of minor bugs in ml-nlffigen as reported by
961    Nick Carter <nbc@andrew.cmu.edu>.
962    
963      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
964      2. Default names for generated files are now derived from the name of
965         the C file *without its directory*.  In particular, this causes generated
966         files to be placed locally even if the C file is in some system directory.
967      3. Default names for generated signatures and structures are also derived
968         from the C file name without its directory.  This avoids silly things
969         like "structure GL/GL".
970         (Other silly names are still possible because ml-nlffigen does not do
971          a thorough check of whether generated names are legal ML identifiers.
972          When in doubt, use command line arguments to force particular names.)
973    
974    ----------------------------------------------------------------------
975    Name: Matthias Blume
976    Date: 2001/06/21 12:25:00 EDT
977    Tag: blume-20010621-eXene
978    Description:
979    
980    eXene now compiles and (sort of) works again.
981    
982    The library name (for version > 110.33) is $/eXene.cm.
983    
984    I also added an new example in src/eXene/examples/nbody.  See the
985    README file there for details.
986    
987    ----------------------------------------------------------------------
988    Name: Matthias Blume
989    Date: 2001/06/20 16:40:00 EDT
990    Tag: blume-20010620-cml
991    Description:
992    
993    CML now compiles and works again.
994    
995    Libraries (for version > 110.33):
996    
997      $cml/cml.cm            Main CML library.
998      $cml/basis.cm          CML's version of $/basis.cm.
999      $cml/cml-internal.cm   Internal helper library.
1000      $cml/core-cml.cm       Internal helper library.
1001      $cml-lib/trace-cml.cm  Tracing facility.
1002      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
1003    
1004    The installer (config/install.sh) has been taught how to properly
1005    install this stuff.
1006    
1007    ----------------------------------------------------------------------
1008    Name: Matthias Blume
1009    Date: 2001/06/19 17:55:00 EDT
1010    Tag: blume-20010619-instantiate
1011    Description:
1012    
1013    This un-breaks the fix for bug 1432.
1014    (The bug was originally fixed in 110.9 but I broke it again some
1015    time after that.)
1016    
1017    ----------------------------------------------------------------------
1018    Name: Matthias Blume
1019    Date: 2001/06/19 17:25:00 EDT
1020    Tag: blume-20010619-signals
1021    Description:
1022    
1023    This should (hopefully) fix the long-standing signal handling bug.
1024    (The runtime system was constructing a continuation record with an
1025    incorrect descriptor which would cause the GC to drop data on the floor...)
1026    
1027    ----------------------------------------------------------------------
1028    Name: Matthias Blume
1029    Date: 2001/06/15 15:05:00 EDT
1030    Tag: blume-20010615-moresparc
1031    Description:
1032    
1033    Here is a short late-hour update related to Sparc c-calls:
1034    
1035     -- made handling of double-word arguments a bit smarter
1036    
1037     -- instruction selection phase tries to collapse certain clumsily
1038        constructed ML-Trees; typical example:
1039    
1040            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
1041    
1042        This currently has no further impact on SML/NJ since mlriscGen does
1043        not seem to generate such patterns in the first place, and c-calls
1044        (which did generate them in the beginning) has meanwhile been fixed
1045        so as to avoid them as well.
1046    
1047    ----------------------------------------------------------------------
1048    Name: Matthias Blume
1049    Date: 2001/06/15 15:05:00 EDT
1050    Tag: blume-20010615-sparc
1051    Description:
1052    
1053    The purpose of this update is to provide an implementation of NLFFI
1054    on Sparc machines.
1055    
1056    Here are the changes in detail:
1057    
1058       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
1059       the Sparc implementation of the c-calls API.
1060       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
1061       for accessing the ML frame.  Thus, we have a real frame pointer and
1062       can freely modify %sp without need for an omit-frame-ptr phase.
1063       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
1064       this case.
1065       * ml-nlffigen has been taught to produce code for different architectures
1066       and calling conventions.
1067       * In a way similar to what was done in the x86 case, the Sparc
1068       backend uses its own specific extension to mltree.  (For example,
1069       it needs to be able to generate UNIMP instructions which are part
1070       of the calling convention.)
1071       * ml-nlffi-lib was reorganized to make it more modular (in particular,
1072       to make it easier to plug in new machine- and os-dependent parts).
1073    
1074    There are some other fairly unrelated bug fixes and cleanups as well:
1075    
1076       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
1077       that they properly share their libraries with existing SML/NJ libraries.
1078       * I fixed a minor cosmetic bug in CM, supressing certain spurious
1079       follow-up error messages.
1080       * Updates to CM/CMB documentation.
1081    
1082    TODO items:
1083    
1084       * MLRISC should use a different register as its asmTemp on the Sparc.
1085         (The current %o2 is a really bad choice because it is part of the
1086         calling conventions, so things might interfere in unexpected ways.)
1087    
1088    ----------------------------------------------------------------------
1089    Name: Matthias Blume
1090    Date: 2001/06/07
1091    Tag: blume-20010607-calls
1092    Description:
1093    
1094    A number of internal changes related to C calls and calling conventions:
1095    
1096    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
1097       number of bytes popped implicitly (by the callee).  In most cases
1098       this field is 0 but on x86/win32 it is some non-zero value.  This
1099       is information provided for the benefit of the "omit-frameptr" pass.
1100    2. The CALL instruction on the x86 carries a similar "pops" field.
1101       The instruction selection phase copies its value from the ML-Tree
1102       CALL statement.
1103    3. On all other architectures, the instruction selection phase checks
1104       whether "pops=0" and complains if not.
1105    4. The c-calls implementation for x86 now accepts two calling conventions:
1106       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
1107       up after the call and pops is set to 0.  For "stdcall", the caller
1108       does nothing, leaving the cleanup to the callee; pops is set to
1109       the number of bytes that were pushed onto the stack.
1110    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
1111       distinguish between "ccall" and "stdcall".
1112    6. The UNIMP instruction has been added to the supported Sparc instruction
1113       set. (This is needed for implementing the official C calling convention
1114       on this architecture.)
1115    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
1116       work with the latest CM.
1117    
1118    ----------------------------------------------------------------------
1119    Name: Matthias Blume
1120    Date: 2001/06/05 15:10:00 EDT
1121    Tag: blume-20010605-cm-index
1122    Description:
1123    
1124    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
1125    
1126    1. CM can now generate "index files".  These are human-readable files
1127       that list on a per-.cm-file basis each toplevel symbol defined or
1128       imported.  The location of the index file for
1129       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
1130       To enable index-file generation, set CM.Control.generate_index to true
1131       or export an environment-symbol: export CM_GENERATE_INDEX=true.
1132    
1133       The CM manual has been updated accordingly.
1134    
1135    2. I made some slight modifications to the c-calls API in MLRISC.
1136    
1137         a) There is now a callback to support saving/restoring of
1138            dedicated but caller-save registers around the actual call
1139            instruction.
1140         b) One can optionally specify a comment-annotation for the
1141            call instruction.
1142    
1143    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
1144       (For example, the comment annotation shows the C prototype of
1145        the function being called.)
1146    
1147    ----------------------------------------------------------------------
1148    Name: Matthias Blume
1149    Date: 2001/06/01 13:30:00 EDT
1150    Tag: blume-20010601-nlffi-cleanup
1151    Description:
1152    
1153    This is mostly a cleanup of MLFFI stuff:
1154    
1155       - some signature files have been put into a more exposed place
1156       - the ugly 'f type parameter is gone (simplifies types tremendously!)
1157       - ml-nlffigen changed accordingly
1158       - tutorial updated
1159    
1160    Other changes:
1161    
1162       - author's affiliation in CM manual(s) updated
1163       - some more recognized keywords added to Allen's sml.sty
1164    
1165    ----------------------------------------------------------------------
1166    Name: Matthias Blume
1167    Date: 2001/05/25 15:30:00 EDT
1168    Tag: blume-20010525-iptr
1169    Description:
1170    
1171      - put the official 110.33-README (as it appears on the ftp server) under
1172        CVS
1173      - fixed a small bug related to incomplete pointer types in
1174        ml-nlffigen
1175      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
1176        (it does not need the 'f type parameter)
1177    
1178    ----------------------------------------------------------------------
1179    Name: Matthias Blume
1180    Date: 2001/05/23 14:30:00 EDT
1181    Tag: Release_110_33
1182    Description:
1183    
1184    New version number (110.33).  New bootfiles.
1185    
1186    ----------------------------------------------------------------------
1187    Name: Matthias Blume
1188    Date: 2001/05/22 18:06:00 EDT
1189    Tag: blume-20010522-targets
1190    Description:
1191    
1192    Made install.sh use file config/targets.customized if it exists, falling
1193    back to config/targets if it doesn't.  This way one can have a customized
1194    version of the targets file without touching the "real thing", thus
1195    eliminating the constant fear of accidentally checking something bogus
1196    back into the CVS repository...  (File config/targets.customized must
1197    not be added to the repository!)
1198    
1199    ----------------------------------------------------------------------
1200    Name: Matthias Blume
1201    Date: 2001/05/22 16:30:00 EDT
1202    Tag: blume-20010522-minitut
1203    Description:
1204    
1205    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
1206       struct returns.
1207    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
1208       incomplete, preliminary documentation for NLFFI.
1209    
1210    ----------------------------------------------------------------------
1211    Name: Matthias Blume
1212    Date: 2001/05/14 11:30:00 EDT
1213    Tag: blume-20010514-script
1214    Description:
1215    
1216    Some bugs in install script fixed.
1217    
1218    In addition to that I also made a slight change to the NLFFI API:
1219    Functors generated by ml-nlffigen now take the dynamic library as a
1220    straight functor argument, not as a suspended one.  (The original
1221    functor code used to force the suspension right away anyway, so there
1222    was nothing gained by this complication of the interface.)
1223    
1224    ----------------------------------------------------------------------
1225    Name: Matthias Blume
1226    Date: 2001/05/11 14:35:00 EDT
1227    Tag: blume-20010511-ml-nlffi
1228    Description:
1229    
1230    I finally took the plunge and added my new FFI code to the main
1231    repository.  For x86-linux it is now ready for prime-time.
1232    
1233    There are two new subdirectories of "src":
1234    
1235      - ml-nlffi-lib:
1236           The utility library for programs using the FFI interface.
1237           Here is the implementation of $/c.cm and its associated low-level
1238           partners $/c-int.cm and $/memory.cm.
1239      - ml-nlffigen:
1240           A stand-alone program for generating ML glue code from C source
1241           code.
1242    
1243    Building ml-nlffigen requires $/ckit-lib.cm.
1244    
1245    The config/install.sh script has been updates to do the Right Thing
1246    (hopefully).
1247    
1248    Notice that the source tree for the C-Kit will not be put under "src"
1249    but directly under the installation root directory.  (This is the
1250    structure that currently exists on the CVS server when you check out
1251    module "sml".)  Fortunately, config/install.sh knows about this oddity.
1252    
1253    Bugs: No documentation yet.
1254    
1255    ----------------------------------------------------------------------
1256    Name: Matthias Blume
1257    Date: 2001/05/09 16:35:00 EDT
1258    Tag: blume-20010509-cpscontract
1259    Description:
1260    
1261    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
1262    wrapper/unwrapper elimination did not decrement usage counts and some
1263    dead variables got overlooked by the dead-up logic.)
1264    
1265    ----------------------------------------------------------------------
1266    Name: Lal George
1267    Date: 2001/05/08  17:26:09 EDT
1268    Tag: george-20010508-omit-frameptr
1269    Description:
1270    
1271    Changes to implement the omit-frame-pointer optimization to support
1272    raw C calls. For now, there is only support on the Intel x86, but
1273    other architectures will follow as more experience is gained with this.
1274    
1275    
1276    ----------------------------------------------------------------------
1277    Name: Matthias Blume
1278    Date: 2001/05/07 14:40:00 EDT
1279    Tag: blume-20010507-proxies
1280    Description:
1281    
1282    I made into "proxy libraries" all libraries that qualify for such a
1283    change.  (A qualifying library is a library that has another library or
1284    groups as its sole member and repeats that member's export list
1285    verbatim.  A proxy library avoids this repetition by omitting its export
1286    list, effectively inheriting the list that its (only) member exports.
1287    See the CM manual for more explanation.)
1288    The main effect is that explicit export lists for these libraries
1289    do not have to be kepts in sync, making maintenance a bit easier.
1290    
1291    I also added copyright notices to many .cm-files.
1292    
1293    Last but not least, I made a new set of bootfiles.
1294    
1295    ----------------------------------------------------------------------
1296    Name: Matthias Blume
1297    Date: 2001/05/04 17:00:00 EDT
1298    Tag: blume-20010504-cm-lsplit
1299    Description:
1300    
1301    0. John merged pending changes to $/smlnj-lib.cm
1302    
1303    1. Allen's previous change accidentally backed out of one of Lal's
1304       earlier changes.  I undid this mistake (re-introducing Lal's change).
1305    
1306    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
1307       within the compiler where applicable.  There is some code simplification
1308       because of that.
1309    
1310    3. The "split" phase (in FLINT) is now part of the default list of phases.
1311       Compiler.Control.LambdaSplitting.* can be used to globally control the
1312       lambda-splitting (cross-module-inlining) engine.  In addition to that,
1313       it can now also be controlled on a per-source basis: CM has been taught
1314       a new tool parameter applicable to ML source files.
1315    
1316       - To turn lambda-splitting off completely:
1317            local open Compiler.Control.LambdaSplitting in
1318                val _ = set Off
1319            end
1320       - To make "no lambda-splitting" the global default (but allow per-source
1321         overriding); this is the initial setting:
1322            local open Compiler.Control.LambdaSplitting in
1323                val _ = set (Default NONE)
1324            end
1325       - To make "lambda-splitting with aggressiveness a" the global default
1326         (and allow per-source overriding):
1327            local open Compiler.Control.LambdaSplitting in
1328                val _ = set (Default (SOME a))
1329            end
1330    
1331       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
1332         write (in the respective .cm-file):
1333            a.sml (lambdasplitting:off)
1334       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
1335            a.sml (lambdasplitting:on)
1336       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
1337         <a> is a decimal non-negative integer):
1338            a.sml (lambdasplitting:<a>)
1339       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
1340            a.sml (lambdasplitting:infinity)
1341       - To use the global default for a.sml:
1342            a.sml (lambdasplitting:default)
1343         or simply
1344            a.sml
1345    
1346    ----------------------------------------------------------------------
1347    Name: Allen Leung
1348    Date: 2001/05/04 01:57:00 EDT
1349    Tag: leunga-20010504-sync
1350    Description:
1351    
1352      MLRISC features.
1353    
1354      1. Fix to CMPXCHG instructions.
1355      2. Changed RA interface to allow annotations in callbacks.
1356      3. Added a new method to the stream interface to allow annotations updates.
1357    
1358    ----------------------------------------------------------------------
1359    Name: Matthias Blume
1360    Date: 2001/05/01 11:45:00 EDT
1361    Tag: blume-20010501-pcedittmp
1362    Description:
1363    
1364    Changed install.sh to use the current working directory instead of
1365    /usr/tmp for a temporary file (pcedittmp).  The previous choice
1366    of /usr/tmp caused trouble with MacOS X because of file premission
1367    problems.
1368    
1369    ----------------------------------------------------------------------
1370    Name: Matthias Blume
1371  Date: 2001/04/20 11:10:00 EDT  Date: 2001/04/20 11:10:00 EDT
1372  Tag: blume-20010420-inMLflag  Tag: blume-20010420-inMLflag
1373  Description:  Description:
# Line 54  Line 1408 
1408   - made makeml script's verbosity level configurable via environment   - made makeml script's verbosity level configurable via environment
1409     variable (MAKEML_VERBOSITY)     variable (MAKEML_VERBOSITY)
1410    
1411   - eliminteded placeholder implementations for f32l, w16s, i16s, and f32s   - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
1412     in rawmem-x86.sml; we are now using the real thing     in rawmem-x86.sml; we are now using the real thing
1413    
1414  ----------------------------------------------------------------------  ----------------------------------------------------------------------
# Line 2087  Line 3441 
3441       elaborator). There were a lot of changes during my "linkpath" trials       elaborator). There were a lot of changes during my "linkpath" trials
3442       that could have been reverted to their original state but weren't.       that could have been reverted to their original state but weren't.
3443       Please, don't be too harsh on me for messing with this code a bit more       Please, don't be too harsh on me for messing with this code a bit more
3444       than what was strictly necessary...  (I _did_ resist the tempation       than what was strictly necessary...  (I _did_ resist the temptation
3445       of doing any "global reformatting" to avoid an untimely death at       of doing any "global reformatting" to avoid an untimely death at
3446       Dave's hands. :)       Dave's hands. :)
3447    

Legend:
Removed from v.812  
changed lines
  Added in v.1029

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