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 734, Sun Nov 19 05:27:41 2000 UTC revision 898, Mon Aug 13 17:44:08 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/08/13
18    Tag: blume-20010813-closures
19    Description:
20    
21    This fix was sent to us by Zhong Shao.  It is supposed to improve the
22    performance of certain loops by avoiding needless closure allocation.
23    
24    ----------------------------------------------------------------------
25    Name: Lal George
26    Date: 2001/07/31 10:03:23 EDT 2001
27    Tag: george-20010731-x86-fmalloc
28    Description: Fixed bug in x86 calls
29    
30        There was a bug where call instructions would mysteriously
31        vanish. The call instruction had to be one that returned
32        a floating point value.
33    
34    ----------------------------------------------------------------------
35    Name: Lal George
36    Date: 2001/07/19 16:36:29 EDT 2001
37    Tag: george-20010719-simple-cells
38    Description:
39    
40    I have dramatically simplified the interface for CELLS in MLRISC.
41    
42    In summary, the cells interface is broken up into three parts:
43    
44      1. CellsBasis : CELLS_BASIS
45    
46            CellsBasis is a top level structure and common for all
47            architectures.  it contains the definitions of basic datatypes
48            and utility  functions over these types.
49    
50      2. functor Cells() : CELLS
51    
52            Cells generates an interface for CELLS that incorporates the
53            specific resources on the target architecture, such as the
54            presence of special register classes, their number and size,
55            and various useful substructures.
56    
57      3. <ARCH>CELLS
58    
59            e.g. SparcCells: SPARCCELLS
60    
61            <ARCH>CELLS usually contains additional bindings for special
62            registers  on the architecture, such as:
63    
64                    val r0 : cell           (* register zero *)
65                    val y : cell            (* Y register *)
66                    val psr : cell          (* processor status register *)
67                    ...
68    
69            The structure returned by applying the Cells functor is opened
70            in this interface.
71    
72    The main implication of all this is that the datatypes for cells is
73    split between CellsBasis and CELLS -- a fairly simple change for user
74    code.
75    
76    In the old scheme the CELLS interface had a definitional binding of
77    the form:
78    
79            signature CELLS = sig
80    
81               structure CellsBasis = CellsBasis
82    
83               ...
84    
85            end
86    
87    With all the sharing constraints that goes on in MLRISC, this old
88    design  quickly leads to errors such as:
89    
90            "structure definition spec inside of sharing ... "
91    
92    
93    and appears to require an unacceptable amount of sharing and where
94    constraint hackery.
95    
96    I think this error message (the interaction of definitional specs and
97    sharing) requires more explanation on our web page.
98    
99    ----------------------------------------------------------------------
100    Name: Matthias Blume
101    Date: 2001/07/19 15:00:00 EDT
102    Tag: blume-20010719-libreorg
103    Description:
104    
105    This update puts together a fairly extensive but straightforward change
106    to the way the libraries that implement the interactive system are
107    organized:
108    
109       The biggest change is the elimination of structure Compiler.  As a
110       replacement for this structure, there is now a CM library
111       (known as $smlnj/compiler.cm or $smlnj/compiler/current.cm)
112       that exports all the substructures of the original structure Compiler
113       directly.  So instead of saying Compiler.Foo.bar one now simply
114       says Foo.bar.  (The CM libraries actually export a collection of
115       structures that is richer than the collection of substructures of
116       structure Compiler.)
117    
118       To make the transition smooth, there is a separate library called
119       $smlnj/compiler/compiler.cm which puts together and exports the
120       original structure Compiler (or at least something very close to it).
121    
122       There are five members of the original structure Compiler
123       that are not exported directly but which instead became members
124       of a new structure Backend (described by signature BACKEND).  These are:
125       structure Profile (: PROFILE), structure Compile (: COMPILE), structure
126       Interact (: INTERACT), structure Machine (: MACHINE), and val
127       architecture (: string).
128    
129       Structure Compiler.Version has become structure CompilerVersion.
130    
131       Cross-compilers for alpha32, hppa, ppc, sparc, and x86 are provided
132       by $smlnj/compiler/<arch>.cm where <arch> is alpha32, hppa, ppc, sparc,
133       or x86, respectively.
134       Each of these exports the same frontend structures that
135       $smlnj/compiler.cm exports.  But they do not have a structure Backend
136       and instead export some structure <Arch>Backend where <Arch> is Alpha32,
137       Hppa, PPC, Sparc, or X86, respectively.
138    
139       Library $smlnj/compiler/all.cm exports the union of the exports of
140       $smlnj/compiler/<arch>.cm
141    
142       There are no structures <Arch>Compiler anymore, use
143       $smlnj/compiler/<arch>.cm instead.
144    
145       Library host-compiler-0.cm is gone.  Instead, the internal library
146       that instantiates CM is now called cm0.cm.  Selection of the host
147       compiler (backend) is no longer done here but. (Responsibility for it
148       now lies with $smlnj/compiler/current.cm.  This seems to be more
149       logical.)
150    
151       Many individual files have been moved or renamed.  Some files have
152       been split into multiple files, and some "dead" files have been deleted.
153    
154    Aside from these changes to library organization, there are also changes
155    to the way the code itself is organized:
156    
157       Structure Binfile has been re-implemented in such a way that it no
158       longer needs any knowledge of the compiler.  It exclusively deals
159       with the details of binfile layout.  It no longer invokes the
160       compiler (for the purpose of creating new prospective binfile
161       content), and it no longer has any knowledge of how to interpret
162       pickles.
163    
164       Structure Compile (: COMPILE) has been stripped down to the bare
165       essentials of compilation.  It no longer deals with linking/execution.
166       The interface has been cleaned up considerably.
167    
168       Utility routines for dealing with linking and execution have been
169       moved into their own substructures.
170    
171       (The ultimate goal of these changes is to provide a light-weight
172       binfile loader/linker (at least for, e.g., stable libraries) that
173       does not require CM or the compiler to be present.)
174    
175    CM documentation has been updated to reflect the changes to library
176    organization.
177    
178    ----------------------------------------------------------------------
179    Name: Matthias Blume
180    Date: 2001/07/10 17:30:00 EDT
181    Tag: Release_110_34
182    Description:
183    
184    Minor tweak to 110.34 (re-tagged):
185    
186      - README.html file added to CVS repository
187      - runtime compiles properly under FreeBSD 3.X and 4.X
188    
189    ----------------------------------------------------------------------
190    Name: Matthias Blume
191    Date: 2001/07/10 17:30:00 EDT
192    Tag: Release_110_34
193    Description:
194    
195    New version number (110.34). New bootfiles.
196    
197    ----------------------------------------------------------------------
198    Name: Matthias Blume
199    Date: 2001/07/09 16:00:00 EDT
200    Tag: blume-20010709-more-varargs
201    Description:
202    
203    I changed the handling of varargs in ml-nlffigen again:
204    The ellipsis ... will now simply be ignored (with an accompanying warning).
205    
206    The immediate effect is that you can actually call a varargs function
207    from ML -- but you can't actually supply any arguments beyond the ones
208    specified explicitly.  (For example, you can call printf with its format
209    string, but you cannot pass additional arguments.)
210    
211    This behavior is only marginally more useful than the one before, but
212    it has the advantage that a function or, more importantly, a function
213    type never gets dropped on the floor, thus avoiding follow-up problems with
214    other types that refer to the offending one.
215    
216    ----------------------------------------------------------------------
217    Name: Matthias Blume
218    Date: 2001/07/09 11:25:00 EDT
219    Tag: blume-20010709-varargs
220    Description:
221    
222    1. ckit-lib.cm now exports structure Error
223    2. ml-nlffigen reports occurences of "..." (i.e., varargs function types)
224       with a warning accompanied by a source location.  Moreover, it
225       merely skips the offending function or type and proceeds with the
226       rest of its work.u  As a result, one can safely feed C code containing
227       "..." to ml-nlffigen.
228    3. There are some internal improvements to CM, providing slightly
229       more general string substitutions in the tools subsystem.
230    
231    ----------------------------------------------------------------------
232    Name: Matthias Blume
233    Date: 2001/06/27 15:10:00 EDT
234    Tag: blume-20010627-concur
235    Description:
236    
237    Fixed a small bug in CM's handling of parallel compilation.
238    (You could observe the bug by Control-C-interrupting an ordinary
239    CMB.make or CM.stabilize and then attaching some compile servers.
240    The result was that all of a sudden the previously interrupted
241    compilation would continue on its own.  This was because of
242    an over-optimization: CM did not bother to clean out certain queues
243    when no servers were attached "anyway", resulting in the contents
244    of these queues to grab control when new servers did get attached.)
245    
246    There is also another minor update to the CM manual.
247    
248    ----------------------------------------------------------------------
249    Name: Matthias Blume
250    Date: 2001/06/26 16:15:00 EDT
251    Tag: blume-20010626-cmdoc
252    Description:
253    
254    Minor typo fixed in CM manual (syntax diagram for libraries).
255    
256    ----------------------------------------------------------------------
257    Name: Matthias Blume
258    Date: 2001/06/25 22:55:00 EDT
259    Tag: blume-20010625-x86pc
260    Description:
261    
262    Fixed a nasty bug in the X86 assembly code that caused signal
263    handlers to fail (crash) randomly.
264    
265    ----------------------------------------------------------------------
266    Name: Matthias Blume
267    Date: 2001/06/25 12:05:00 EDT
268    Tag: blume-20010625-nlffigen
269    Description:
270    
271    This update fixes a number of minor bugs in ml-nlffigen as reported by
272    Nick Carter <nbc@andrew.cmu.edu>.
273    
274      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
275      2. Default names for generated files are now derived from the name of
276         the C file *without its directory*.  In particular, this causes generated
277         files to be placed locally even if the C file is in some system directory.
278      3. Default names for generated signatures and structures are also derived
279         from the C file name without its directory.  This avoids silly things
280         like "structure GL/GL".
281         (Other silly names are still possible because ml-nlffigen does not do
282          a thorough check of whether generated names are legal ML identifiers.
283          When in doubt, use command line arguments to force particular names.)
284    
285    ----------------------------------------------------------------------
286    Name: Matthias Blume
287    Date: 2001/06/21 12:25:00 EDT
288    Tag: blume-20010621-eXene
289    Description:
290    
291    eXene now compiles and (sort of) works again.
292    
293    The library name (for version > 110.33) is $/eXene.cm.
294    
295    I also added an new example in src/eXene/examples/nbody.  See the
296    README file there for details.
297    
298    ----------------------------------------------------------------------
299    Name: Matthias Blume
300    Date: 2001/06/20 16:40:00 EDT
301    Tag: blume-20010620-cml
302    Description:
303    
304    CML now compiles and works again.
305    
306    Libraries (for version > 110.33):
307    
308      $cml/cml.cm            Main CML library.
309      $cml/basis.cm          CML's version of $/basis.cm.
310      $cml/cml-internal.cm   Internal helper library.
311      $cml/core-cml.cm       Internal helper library.
312      $cml-lib/trace-cml.cm  Tracing facility.
313      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
314    
315    The installer (config/install.sh) has been taught how to properly
316    install this stuff.
317    
318    ----------------------------------------------------------------------
319    Name: Matthias Blume
320    Date: 2001/06/19 17:55:00 EDT
321    Tag: blume-20010619-instantiate
322    Description:
323    
324    This un-breaks the fix for bug 1432.
325    (The bug was originally fixed in 110.9 but I broke it again some
326    time after that.)
327    
328    ----------------------------------------------------------------------
329    Name: Matthias Blume
330    Date: 2001/06/19 17:25:00 EDT
331    Tag: blume-20010619-signals
332    Description:
333    
334    This should (hopefully) fix the long-standing signal handling bug.
335    (The runtime system was constructing a continuation record with an
336    incorrect descriptor which would cause the GC to drop data on the floor...)
337    
338    ----------------------------------------------------------------------
339    Name: Matthias Blume
340    Date: 2001/06/15 15:05:00 EDT
341    Tag: blume-20010615-moresparc
342    Description:
343    
344    Here is a short late-hour update related to Sparc c-calls:
345    
346     -- made handling of double-word arguments a bit smarter
347    
348     -- instruction selection phase tries to collapse certain clumsily
349        constructed ML-Trees; typical example:
350    
351            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
352    
353        This currently has no further impact on SML/NJ since mlriscGen does
354        not seem to generate such patterns in the first place, and c-calls
355        (which did generate them in the beginning) has meanwhile been fixed
356        so as to avoid them as well.
357    
358    ----------------------------------------------------------------------
359    Name: Matthias Blume
360    Date: 2001/06/15 15:05:00 EDT
361    Tag: blume-20010615-sparc
362    Description:
363    
364    The purpose of this update is to provide an implementation of NLFFI
365    on Sparc machines.
366    
367    Here are the changes in detail:
368    
369       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
370       the Sparc implementation of the c-calls API.
371       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
372       for accessing the ML frame.  Thus, we have a real frame pointer and
373       can freely modify %sp without need for an omit-frame-ptr phase.
374       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
375       this case.
376       * ml-nlffigen has been taught to produce code for different architectures
377       and calling conventions.
378       * In a way similar to what was done in the x86 case, the Sparc
379       backend uses its own specific extension to mltree.  (For example,
380       it needs to be able to generate UNIMP instructions which are part
381       of the calling convention.)
382       * ml-nlffi-lib was reorganized to make it more modular (in particular,
383       to make it easier to plug in new machine- and os-dependent parts).
384    
385    There are some other fairly unrelated bug fixes and cleanups as well:
386    
387       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
388       that they properly share their libraries with existing SML/NJ libraries.
389       * I fixed a minor cosmetic bug in CM, supressing certain spurious
390       follow-up error messages.
391       * Updates to CM/CMB documentation.
392    
393    TODO items:
394    
395       * MLRISC should use a different register as its asmTemp on the Sparc.
396         (The current %o2 is a really bad choice because it is part of the
397         calling conventions, so things might interfere in unexpected ways.)
398    
399    ----------------------------------------------------------------------
400    Name: Matthias Blume
401    Date: 2001/06/07
402    Tag: blume-20010607-calls
403    Description:
404    
405    A number of internal changes related to C calls and calling conventions:
406    
407    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
408       number of bytes popped implicitly (by the callee).  In most cases
409       this field is 0 but on x86/win32 it is some non-zero value.  This
410       is information provided for the benefit of the "omit-frameptr" pass.
411    2. The CALL instruction on the x86 carries a similar "pops" field.
412       The instruction selection phase copies its value from the ML-Tree
413       CALL statement.
414    3. On all other architectures, the instruction selection phase checks
415       whether "pops=0" and complains if not.
416    4. The c-calls implementation for x86 now accepts two calling conventions:
417       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
418       up after the call and pops is set to 0.  For "stdcall", the caller
419       does nothing, leaving the cleanup to the callee; pops is set to
420       the number of bytes that were pushed onto the stack.
421    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
422       distinguish between "ccall" and "stdcall".
423    6. The UNIMP instruction has been added to the supported Sparc instruction
424       set. (This is needed for implementing the official C calling convention
425       on this architecture.)
426    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
427       work with the latest CM.
428    
429    ----------------------------------------------------------------------
430    Name: Matthias Blume
431    Date: 2001/06/05 15:10:00 EDT
432    Tag: blume-20010605-cm-index
433    Description:
434    
435    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
436    
437    1. CM can now generate "index files".  These are human-readable files
438       that list on a per-.cm-file basis each toplevel symbol defined or
439       imported.  The location of the index file for
440       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
441       To enable index-file generation, set CM.Control.generate_index to true
442       or export an environment-symbol: export CM_GENERATE_INDEX=true.
443    
444       The CM manual has been updated accordingly.
445    
446    2. I made some slight modifications to the c-calls API in MLRISC.
447    
448         a) There is now a callback to support saving/restoring of
449            dedicated but caller-save registers around the actual call
450            instruction.
451         b) One can optionally specify a comment-annotation for the
452            call instruction.
453    
454    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
455       (For example, the comment annotation shows the C prototype of
456        the function being called.)
457    
458    ----------------------------------------------------------------------
459    Name: Matthias Blume
460    Date: 2001/06/01 13:30:00 EDT
461    Tag: blume-20010601-nlffi-cleanup
462    Description:
463    
464    This is mostly a cleanup of MLFFI stuff:
465    
466       - some signature files have been put into a more exposed place
467       - the ugly 'f type parameter is gone (simplifies types tremendously!)
468       - ml-nlffigen changed accordingly
469       - tutorial updated
470    
471    Other changes:
472    
473       - author's affiliation in CM manual(s) updated
474       - some more recognized keywords added to Allen's sml.sty
475    
476    ----------------------------------------------------------------------
477    Name: Matthias Blume
478    Date: 2001/05/25 15:30:00 EDT
479    Tag: blume-20010525-iptr
480    Description:
481    
482      - put the official 110.33-README (as it appears on the ftp server) under
483        CVS
484      - fixed a small bug related to incomplete pointer types in
485        ml-nlffigen
486      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
487        (it does not need the 'f type parameter)
488    
489    ----------------------------------------------------------------------
490    Name: Matthias Blume
491    Date: 2001/05/23 14:30:00 EDT
492    Tag: Release_110_33
493    Description:
494    
495    New version number (110.33).  New bootfiles.
496    
497    ----------------------------------------------------------------------
498    Name: Matthias Blume
499    Date: 2001/05/22 18:06:00 EDT
500    Tag: blume-20010522-targets
501    Description:
502    
503    Made install.sh use file config/targets.customized if it exists, falling
504    back to config/targets if it doesn't.  This way one can have a customized
505    version of the targets file without touching the "real thing", thus
506    eliminating the constant fear of accidentally checking something bogus
507    back into the CVS repository...  (File config/targets.customized must
508    not be added to the repository!)
509    
510    ----------------------------------------------------------------------
511    Name: Matthias Blume
512    Date: 2001/05/22 16:30:00 EDT
513    Tag: blume-20010522-minitut
514    Description:
515    
516    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
517       struct returns.
518    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
519       incomplete, preliminary documentation for NLFFI.
520    
521    ----------------------------------------------------------------------
522    Name: Matthias Blume
523    Date: 2001/05/14 11:30:00 EDT
524    Tag: blume-20010514-script
525    Description:
526    
527    Some bugs in install script fixed.
528    
529    In addition to that I also made a slight change to the NLFFI API:
530    Functors generated by ml-nlffigen now take the dynamic library as a
531    straight functor argument, not as a suspended one.  (The original
532    functor code used to force the suspension right away anyway, so there
533    was nothing gained by this complication of the interface.)
534    
535    ----------------------------------------------------------------------
536    Name: Matthias Blume
537    Date: 2001/05/11 14:35:00 EDT
538    Tag: blume-20010511-ml-nlffi
539    Description:
540    
541    I finally took the plunge and added my new FFI code to the main
542    repository.  For x86-linux it is now ready for prime-time.
543    
544    There are two new subdirectories of "src":
545    
546      - ml-nlffi-lib:
547           The utility library for programs using the FFI interface.
548           Here is the implementation of $/c.cm and its associated low-level
549           partners $/c-int.cm and $/memory.cm.
550      - ml-nlffigen:
551           A stand-alone program for generating ML glue code from C source
552           code.
553    
554    Building ml-nlffigen requires $/ckit-lib.cm.
555    
556    The config/install.sh script has been updates to do the Right Thing
557    (hopefully).
558    
559    Notice that the source tree for the C-Kit will not be put under "src"
560    but directly under the installation root directory.  (This is the
561    structure that currently exists on the CVS server when you check out
562    module "sml".)  Fortunately, config/install.sh knows about this oddity.
563    
564    Bugs: No documentation yet.
565    
566    ----------------------------------------------------------------------
567    Name: Matthias Blume
568    Date: 2001/05/09 16:35:00 EDT
569    Tag: blume-20010509-cpscontract
570    Description:
571    
572    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
573    wrapper/unwrapper elimination did not decrement usage counts and some
574    dead variables got overlooked by the dead-up logic.)
575    
576    ----------------------------------------------------------------------
577    Name: Lal George
578    Date: 2001/05/08  17:26:09 EDT
579    Tag: george-20010508-omit-frameptr
580    Description:
581    
582    Changes to implement the omit-frame-pointer optimization to support
583    raw C calls. For now, there is only support on the Intel x86, but
584    other architectures will follow as more experience is gained with this.
585    
586    
587    ----------------------------------------------------------------------
588    Name: Matthias Blume
589    Date: 2001/05/07 14:40:00 EDT
590    Tag: blume-20010507-proxies
591    Description:
592    
593    I made into "proxy libraries" all libraries that qualify for such a
594    change.  (A qualifying library is a library that has another library or
595    groups as its sole member and repeats that member's export list
596    verbatim.  A proxy library avoids this repetition by omitting its export
597    list, effectively inheriting the list that its (only) member exports.
598    See the CM manual for more explanation.)
599    The main effect is that explicit export lists for these libraries
600    do not have to be kepts in sync, making maintenance a bit easier.
601    
602    I also added copyright notices to many .cm-files.
603    
604    Last but not least, I made a new set of bootfiles.
605    
606    ----------------------------------------------------------------------
607    Name: Matthias Blume
608    Date: 2001/05/04 17:00:00 EDT
609    Tag: blume-20010504-cm-lsplit
610    Description:
611    
612    0. John merged pending changes to $/smlnj-lib.cm
613    
614    1. Allen's previous change accidentally backed out of one of Lal's
615       earlier changes.  I undid this mistake (re-introducing Lal's change).
616    
617    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
618       within the compiler where applicable.  There is some code simplification
619       because of that.
620    
621    3. The "split" phase (in FLINT) is now part of the default list of phases.
622       Compiler.Control.LambdaSplitting.* can be used to globally control the
623       lambda-splitting (cross-module-inlining) engine.  In addition to that,
624       it can now also be controlled on a per-source basis: CM has been taught
625       a new tool parameter applicable to ML source files.
626    
627       - To turn lambda-splitting off completely:
628            local open Compiler.Control.LambdaSplitting in
629                val _ = set Off
630            end
631       - To make "no lambda-splitting" the global default (but allow per-source
632         overriding); this is the initial setting:
633            local open Compiler.Control.LambdaSplitting in
634                val _ = set (Default NONE)
635            end
636       - To make "lambda-splitting with aggressiveness a" the global default
637         (and allow per-source overriding):
638            local open Compiler.Control.LambdaSplitting in
639                val _ = set (Default (SOME a))
640            end
641    
642       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
643         write (in the respective .cm-file):
644            a.sml (lambdasplitting:off)
645       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
646            a.sml (lambdasplitting:on)
647       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
648         <a> is a decimal non-negative integer):
649            a.sml (lambdasplitting:<a>)
650       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
651            a.sml (lambdasplitting:infinity)
652       - To use the global default for a.sml:
653            a.sml (lambdasplitting:default)
654         or simply
655            a.sml
656    
657    ----------------------------------------------------------------------
658    Name: Allen Leung
659    Date: 2001/05/04 01:57:00 EDT
660    Tag: leunga-20010504-sync
661    Description:
662    
663      MLRISC features.
664    
665      1. Fix to CMPXCHG instructions.
666      2. Changed RA interface to allow annotations in callbacks.
667      3. Added a new method to the stream interface to allow annotations updates.
668    
669    ----------------------------------------------------------------------
670    Name: Matthias Blume
671    Date: 2001/05/01 11:45:00 EDT
672    Tag: blume-20010501-pcedittmp
673    Description:
674    
675    Changed install.sh to use the current working directory instead of
676    /usr/tmp for a temporary file (pcedittmp).  The previous choice
677    of /usr/tmp caused trouble with MacOS X because of file premission
678    problems.
679    
680    ----------------------------------------------------------------------
681    Name: Matthias Blume
682    Date: 2001/04/20 11:10:00 EDT
683    Tag: blume-20010420-inMLflag
684    Description:
685    
686     - added vp_limitPtrMask to vproc-state.h
687       (for use by the raw-C-calls mechanism to implement proper interrupt
688        handling)
689     - made the ML compiler aware of various data-structure offsets so it
690       can generate code for accessing the vp_inML flag and vp_limitPtrMask
691     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
692       raw C-calls
693    
694    ----------------------------------------------------------------------
695    Name: Lal George
696    Date: 2001/04/20 09:15:28 EDT
697    Tag: george-20010420-macosX
698    Description:
699    
700     - Changes to port to Mac OS X; Darwin.
701    
702     - In the process I found that sqrt was broken on the PPC, because the
703       fsqrt instruction is not implemented.
704    
705    ----------------------------------------------------------------------
706    Name: Matthias Blume
707    Date: 2001/04/18 12:45:00 EDT
708    Tag: blume-20010418-ccalls
709    Description:
710    
711     - fixed two off-by-4 errors in the x86-specific c-calls implementation
712       (this bug prevented structure arguments containing pointers from being
713        passed correctly)
714     - changed the raw-C-call code in mlriscGen.sml in such a way that
715       structure arguments are represented as a pointer to the beginning
716       of the structure (instead of having a series of synthesized arguments,
717       one for each structure member)
718    
719     - made makeml script's verbosity level configurable via environment
720       variable (MAKEML_VERBOSITY)
721    
722     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
723       in rawmem-x86.sml; we are now using the real thing
724    
725    ----------------------------------------------------------------------
726    Name: Matthias Blume
727    Date: 2001/03/22 16:25:00 EST
728    Tag: blume-20010322-bootfiles
729    Description:
730    
731    Created a new set of bootfiles (for your automatic installation convenience).
732    
733    ----------------------------------------------------------------------
734    Name: Matthias Blume
735    Date: 2001/03/22 15:10:00 EST
736    Tag: blume-20010322-rawmem-parcm
737    Description:
738    
739    1. All "raw memory access" primitives for the new FFI are implemented now
740       (at least on the x86).
741    2. Some further cleanup of CM's parallel make mechanism.
742    
743    ----------------------------------------------------------------------
744    Name: Matthias Blume
745    Date: 2001/03/19 17:53:00 EST
746    Tag: blume-20010319-parallel
747    Description:
748    
749    Parallel make (using compile servers) now works again.
750    
751    To this end, CM.stabilize and CMB.make have been modified to work in
752    two passes when compile servers are attached:
753       1. Compile everything, do not perform stabilization; this pass
754          uses compile servers
755       2. Stabilize everything; this pass does not use compile servers
756    If there are no compile servers, the two passes are combined into one
757    (as before).  Splitting the passes increases the inherent parallelism
758    in the dependency graph because the entire graph including all
759    libraries is available at the same time.  This, in turn, improves
760    server utilization.  The downside is that the master process will
761    have to do some extra work after compilation is done (because for
762    technical reasons it must re-read all the binfiles during stabilization).
763    
764    ----------------------------------------------------------------------
765    Name: Matthias Blume
766    Date: 2001/03/16 12:22:00 EST
767    Tag: blume-20010316-bootfiles
768    Description:
769    
770    Created a new set of bootfiles (for your automatic installation convenience).
771    
772    ----------------------------------------------------------------------
773    Name: Matthias Blume
774    Date: 2001/03/16 11:00:00 EST
775    Tag: blume-20010316-MLTREE-fixup
776    Description:
777    
778    This is a minor fixup for an (untagged) earlier commit by Allen.
779    (A file was missing).
780    
781    ----------------------------------------------------------------------
782    Name: Allen Leung
783    Date: Mon Mar  5 18:54:57 EST 2001
784    Tag: leunga-20010305-cut-support
785    
786    1. New support for alternative control-flow in MLTREE.
787       Currently we support
788    
789          FLOW_TO(CALL ...., [k1,...,kn])
790    
791       This is needed for 'cuts to' in C-- and try/handle-like constructs
792       in Moby
793    
794       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
795    
796    2. Register Allocator
797    
798       Changes in interface [from Fermin, John]
799    
800    3. Alpha 8-bit SLL support [Fermin]
801    
802    4. All architectures
803    
804       A new module (ClusterExpandCopies) for expanding parallel copies.
805    
806    ----------------------------------------------------------------------
807    Name: Allen Leung
808    Date: 2001/02/27 23:07:00 EST
809    Tag: leunga-20010227-minor-stuff
810    
811    1. Alpha bug fix for CMOVNE
812    2. Handle mltree COND(..,FCMP ...,...)
813    3. Bug fix in simplifier
814    
815    ----------------------------------------------------------------------
816    Name: Matthias Blume
817    Date: 2001/01/30 17:50:00 EST
818    Tag: blume-20010130-sync
819    Description:
820    
821    This is just a minor update to sync my devel branch with the main brach.
822    The only visible change is the addition of some README files.
823    
824    ----------------------------------------------------------------------
825    Name: Matthias Blume
826    Date: 2001/01/12 23:30:00 JST
827    Tag: blume-20010112-bootfiles
828    Description:
829    
830    Made a new set of bootfiles that goes with the current state of the
831    repository.
832    
833    ----------------------------------------------------------------------
834    Name: Matthias Blume
835    Date: 2001/01/12 21:20:00 JST
836    Tag: blume-20010112-sync
837    Description:
838    
839    I am just flushing out some minor changes that had accumulated in
840    my private branch in order to sync with the main tree.  (This is
841    mainly because I had CVS trouble when trying to merge _into_ my
842    private branch.)
843    
844    Most people should be completely unaffected by this.
845    
846    ----------------------------------------------------------------------
847    Name: Allen Leung
848    Date: Thu Jan 11 21:03:00 EST 2001
849    Tag: leunga-20010111-labexp=mltree
850    Description:
851    
852    1.  Removed the type LabelExp and replace it by MLTree.
853    2.  Rewritten mltree-simplify with the pattern matcher tool.
854    3.  There were some bugs in alpha code generator which would break
855        64-bit code generation.
856    4.  Redo the tools to generate code with the
857    5.  The CM files in MLRISC (and in src/system/smlnj/MLRISC)
858        are now generated by perl scripts.
859    
860    ----------------------------------------------------------------------
861    Name: Matthias Blume
862    Date: 2001/01/10 21:55:00 JST
863    Tag: blume-20010110-rcc
864    Description:
865    
866    The RCC stuff now seems to work (but only on the x86).
867    This required hacking of the c-calls interface (and -implementation) in
868    MLRISC.
869    
870    Normal compiler users should be unaffected.
871    
872    ----------------------------------------------------------------------
873    Name: Matthias Blume
874    Date: 2001/01/09 01:20:00 JST
875    Tag: blume-20010109-rcc
876    Description:
877    
878    This is a fairly big patch, flushing out a large number of pending
879    changes that I made to my development copy over the last couple of days.
880    
881    Of practical relevance at this moment is a workaround for a pickling
882    bug that Allen ran into the other day.  The cause of the bug itself is
883    still unknown and it might be hard to fix it properly, but the
884    workaround has some merits of its own (namely somewhat reducing pickling
885    overhead for certain libraries).  Therefore, I think this solution should
886    be satisfactory at this time.
887    
888    The rest of the changes (i.e., the vast majority) has to do with my
889    ongoing efforts of providing direct support for C function calls from
890    ML.  At the moment there is a new primop "RAW_CCALL", typing magic
891    in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new
892    case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to
893    translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to
894    handle RCC.
895    
896    The last part (the changes to mlriscGen.sml) are still known to be
897    wrong on the x86 and not implemented on all other architectures.  But
898    the infrastructure is in place. I had to change a few functor
899    signatures in the backend to be able to route the CCalls interface
900    from MLRISC there, and I had to specialize the mltree type (on the
901    x86) to include the necessary extensions. (The extensions themselves
902    were already there and redy to go in MLRISC/x86).
903    
904    Everything should be very happy as soon as someone helps me with
905    mlriscGen.sml...
906    
907    In any case, nothing of this should matter to anyone as long as the
908    new primop is not being used (which is going to be the case unless you
909    find it where I hid it :). The rest of the compiler is completely
910    unaffected.
911    
912    ----------------------------------------------------------------------
913    Name: Matthias Blume
914    Date: 2001/01/05 00:30:00 JST
915    Tag: blume-20010105-primops
916    Description:
917    
918    Added some experimental support for work that I am doing right now.
919    These changes mostly concern added primops, but there is also a new
920    experimental C library in the runtime system (but currently not enabled
921    anywhere except on Linux/X86).
922    
923    In the course of adding primops (and playing with them), I discovered that
924    Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly
925    broken.  (Zhong was very right he labeled this stuff as "major gross hack".)
926    To recover, I made type information in INL_PRIM mandatory and changed
927    prim.sml as well as built-in.sml accordingly.  The InLine structure now
928    has complete, correct type information (i.e., no bottom types).
929    
930    Since all these changes mean that we need new binfiles, I also bumped the
931    version number to 110.32.1.
932    
933    ----------------------------------------------------------------------
934    Name: Matthias Blume
935    Date: 2000/12/30 22:10:00 JST
936    Tag: blume-20001230-various
937    Description:
938    
939    Added proxy libraries for MLRISC and let MLRISC libraries refer
940    to each other using path anchors.  (See CM manual for explanation.)
941    
942    Updated CM documentation.
943    
944    Fixed some bugs in CM.
945    
946    Implemented "proxy" libraries (= syntactic sugar for CM).
947    
948    Added "-quiet" option to makeml and changed runtime system accordingly.
949    
950    Added cleanup handler for exportML to reset timers and compiler stats.
951    
952    ----------------------------------------------------------------------
953    Name: Lal George
954    Date: 2000/12/22 22:22:58 EST 2000
955    Tag: Release_110_32
956    Description:
957    
958            Infinite precision used throughout MLRISC.
959            see MLRISC/mltree/machine-int.sig
960    
961    ----------------------------------------------------------------------
962    Name: Matthias Blume
963    Date: 2000/12/22 23:16:00 JST
964    Tag: blume-20001222-warn
965    Description:
966    
967    Corrected wording and formatting of some CM warning message which I
968    broke in my previous patch.
969    
970    ----------------------------------------------------------------------
971    Name: Matthias Blume
972    Date: 2000/12/22 21:20:00 JST
973    Tag: blume-20001222-anchorenv
974    Description:
975    
976    Fixed CM's handling of anchor environments in connection with CMB.make.
977    
978    ----------------------------------------------------------------------
979    Name: Matthias Blume
980    Date: 2000/12/22 13:15:00 JST
981    Tag: blume-20001222-cleanup
982    Description:
983    
984    Removed src/cm/ffi which does not (and did not) belong here.
985    
986    ----------------------------------------------------------------------
987    Name: Matthias Blume
988    Date: 2000/12/21 23:55:00 JST
989    Tag: blume-20001221-exn
990    Description:
991    
992    Probably most important: CM no longer silently swallows all exceptions
993    in the compiler.
994    Plus: some other minor CM changes.  For example, CM now reports some
995    sizes for generated binfiles (code, data, envpickle, lambdapickle).
996    
997    ----------------------------------------------------------------------
998    Name: Matthias Blume
999    Date: 2000/12/15 00:01:05 JST
1000    Tag: blume-20001215-dirtool
1001    Description:
1002    
1003    - "dir" tool added.
1004    - improvements and cleanup to Tools structure
1005    - documentation updates
1006    
1007    ----------------------------------------------------------------------
1008    Name: Allen Leung
1009    Date: Thu Dec 14 03:45:24 EST 2000
1010    Description:
1011    Tag:  leunga-20001214-int-inf
1012    Description:
1013    
1014       In IntInf, added these standard functions, which are missing from our
1015    implementation:
1016    
1017        andb : int * int -> int
1018        xorb : int * int -> int
1019        orb  : int * int -> int
1020        notb : int -> int
1021         <<   : int * word -> int
1022        ~>>  : int * word -> int
1023    
1024       Not tested, I hope they are correct.
1025    
1026    ----------------------------------------------------------------------
1027    Name: Allen Leung
1028    Date: Fri Dec  8 19:23:26 EST 2000
1029    Description:
1030    Tag:  leunga-20001208-nowhere
1031    Description:
1032    
1033      Slight improvements to the 'nowhere' tool to handle OR-patterns,
1034    to generate better error messages etc.  Plus a brief manual.
1035    
1036    ----------------------------------------------------------------------
1037    Name: Lal George
1038    Date: 2000/12/08 09:54:02 EST 2000
1039    Tag: Release_110_31
1040    Description:
1041    
1042    - Version 110.31
1043    ----------------------------------------------------------------------
1044    Name: Allen Leung
1045    Date: Thu Dec  7 22:01:04 EST 2000
1046    Tag:  leunga-20001207-cell-monster-hack
1047    Description:
1048    
1049    Major MLRISC internal changes.  Affect all clients.
1050    Summary:
1051    
1052    1.  Type CELLS.cell = int is now replaced by a datatype.
1053        As a result, the old regmap is now gone.  Almost all interfaces
1054        in MLRISC change as a consequence.
1055    
1056    2.  A new brand version of machine description tool (v3.0) that generates
1057        modules expecting the new interface.  The old version is removed.
1058    
1059    3.  The RA interface has been further abstracted into two new functors.
1060        RISC_RA and X86RA.  These functors have much simpler interfaces.
1061        [See also directory MLRISC/demo.]
1062    
1063    4.  Some other new source->source code generation tools are available:
1064    
1065        a. MLRISC/Tools/RewriteGen -- generate rewriters from rules.
1066        b. MLRISC/Tools/WhereGen -- expands conditional pattern matching rules.
1067           I use this tool to generate the peephole optimizers---with the new
1068           cell type changes, peephole rules are becoming difficult to write
1069           without conditional pattern matching.
1070    
1071    5.  More Intmap -> IntHashTable change.  Previous changes by Matthias didn't
1072        cover the entire MLRISC source tree so many things broke.
1073    
1074    6.  CM files have been moved to the subdirectory MLRISC/cm.
1075        They are moved because there are a lot of them and they clutter up the
1076        root dir.
1077    
1078    7.  More detailed documentation to come...
1079    
1080        NOTE: To rebuild from 110.30 (ftp distribution), you'll have to do
1081        a makeml -rebuild first.  This is because of other other
1082        changes that Matthias has made (see below).
1083    
1084    
1085    ----------------------------------------------------------------------
1086    Name: Matthias Blume
1087    Date: 2000/11/30 23:12:00 JST
1088    Tag: blume-20001130-filereorg
1089    Description:
1090    
1091    Some manual updates and some file reorganizations in CM.
1092    
1093    ----------------------------------------------------------------------
1094    Name: Matthias Blume
1095    Date: 2000/11/24 17:45:00 JST
1096    Tag: blume-20001124-link
1097    Description:
1098    
1099    Drastically improved link traversal code for the case that the dynamic
1100    value was already loaded at bootstrap time.  As a result, CM and CMB
1101    now both load blazingly fast -- even on a very slow machine.  Also,
1102    memory consumption has been further reduced by this.
1103    
1104    Warning: The format of the PIDMAP file has changed.  THerefore, to
1105    bootstrap you have to do this:
1106    
1107    1. Run CMB.make
1108    2. Make a symbolic link for the boot directory:
1109         ln -s sml.boot.ARCH-OS xxx
1110    3. "Rebuild" the boot directory:
1111         ./makeml -boot xxx -rebuild sml ; rm xxx
1112    4. Boot normally:
1113          ./makeml
1114    
1115    ----------------------------------------------------------------------
1116    Name: Matthias Blume
1117    Date: 2000/11/21 21:20:00 JST
1118    Tag: blume-20001121-tools
1119    Description:
1120    
1121    Continued hacking on autoloading problem -- with success this time.
1122    Also changed tool-plugin mechanism.  See new CM manual.
1123    
1124    ----------------------------------------------------------------------
1125    Name: Matthias Blume
1126  Date: 2000/11/19 14:30:00 JST  Date: 2000/11/19 14:30:00 JST
1127  Tag:  blume-20001119-autoload  Tag:  blume-20001119-autoload
1128  Description:  Description:

Legend:
Removed from v.734  
changed lines
  Added in v.898

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