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 677, Mon Jun 26 00:56:56 2000 UTC revision 838, Tue Jun 5 19:10:21 2001 UTC
# Line 11  Line 11 
11  Date:  Date:
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    
15    ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2001/06/05 15:10:00 EDT
18    Tag: blume-20010605-cm-index
19    Description:
20    
21    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
22    
23    1. CM can now generate "index files".  These are human-readable files
24       that list on a per-.cm-file basis each toplevel symbol defined or
25       imported.  The location of the index file for
26       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
27       To enable index-file generation, set CM.Control.generate_index to true
28       or export an environment-symbol: export CM_GENERATE_INDEX=true.
29    
30       The CM manual has been updated accordingly.
31    
32    2. I made some slight modifications to the c-calls API in MLRISC.
33    
34         a) There is now a callback to support saving/restoring of
35            dedicated but caller-save registers around the actual call
36            instruction.
37         b) One can optionally specify a comment-annotation for the
38            call instruction.
39    
40    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
41       (For example, the comment annotation shows the C prototype of
42        the function being called.)
43    
44    ----------------------------------------------------------------------
45    Name: Matthias Blume
46    Date: 2001/06/01 13:30:00 EDT
47    Tag: blume-20010601-nlffi-cleanup
48    Description:
49    
50    This is mostly a cleanup of MLFFI stuff:
51    
52       - some signature files have been put into a more exposed place
53       - the ugly 'f type parameter is gone (simplifies types tremendously!)
54       - ml-nlffigen changed accordingly
55       - tutorial updated
56    
57    Other changes:
58    
59       - author's affiliation in CM manual(s) updated
60       - some more recognized keywords added to Allen's sml.sty
61    
62    ----------------------------------------------------------------------
63    Name: Matthias Blume
64    Date: 2001/05/25 15:30:00 EDT
65    Tag: blume-20010525-iptr
66    Description:
67    
68      - put the official 110.33-README (as it appears on the ftp server) under
69        CVS
70      - fixed a small bug related to incomplete pointer types in
71        ml-nlffigen
72      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
73        (it does not need the 'f type parameter)
74    
75    ----------------------------------------------------------------------
76    Name: Matthias Blume
77    Date: 2001/05/23 14:30:00 EDT
78    Tag: Release_110_33
79    Description:
80    
81    New version number (110.33).  New bootfiles.
82    
83    ----------------------------------------------------------------------
84    Name: Matthias Blume
85    Date: 2001/05/22 18:06:00 EDT
86    Tag: blume-20010522-targets
87    Description:
88    
89    Made install.sh use file config/targets.customized if it exists, falling
90    back to config/targets if it doesn't.  This way one can have a customized
91    version of the targets file without touching the "real thing", thus
92    eliminating the constant fear of accidentally checking something bogus
93    back into the CVS repository...  (File config/targets.customized must
94    not be added to the repository!)
95    
96    ----------------------------------------------------------------------
97    Name: Matthias Blume
98    Date: 2001/05/22 16:30:00 EDT
99    Tag: blume-20010522-minitut
100    Description:
101    
102    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
103       struct returns.
104    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
105       incomplete, preliminary documentation for NLFFI.
106    
107    ----------------------------------------------------------------------
108    Name: Matthias Blume
109    Date: 2001/05/14 11:30:00 EDT
110    Tag: blume-20010514-script
111    Description:
112    
113    Some bugs in install script fixed.
114    
115    In addition to that I also made a slight change to the NLFFI API:
116    Functors generated by ml-nlffigen now take the dynamic library as a
117    straight functor argument, not as a suspended one.  (The original
118    functor code used to force the suspension right away anyway, so there
119    was nothing gained by this complication of the interface.)
120    
121    ----------------------------------------------------------------------
122    Name: Matthias Blume
123    Date: 2001/05/11 14:35:00 EDT
124    Tag: blume-20010511-ml-nlffi
125    Description:
126    
127    I finally took the plunge and added my new FFI code to the main
128    repository.  For x86-linux it is now ready for prime-time.
129    
130    There are two new subdirectories of "src":
131    
132      - ml-nlffi-lib:
133           The utility library for programs using the FFI interface.
134           Here is the implementation of $/c.cm and its associated low-level
135           partners $/c-int.cm and $/memory.cm.
136      - ml-nlffigen:
137           A stand-alone program for generating ML glue code from C source
138           code.
139    
140    Building ml-nlffigen requires $/ckit-lib.cm.
141    
142    The config/install.sh script has been updates to do the Right Thing
143    (hopefully).
144    
145    Notice that the source tree for the C-Kit will not be put under "src"
146    but directly under the installation root directory.  (This is the
147    structure that currently exists on the CVS server when you check out
148    module "sml".)  Fortunately, config/install.sh knows about this oddity.
149    
150    Bugs: No documentation yet.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume
154    Date: 2001/05/09 16:35:00 EDT
155    Tag: blume-20010509-cpscontract
156    Description:
157    
158    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
159    wrapper/unwrapper elimination did not decrement usage counts and some
160    dead variables got overlooked by the dead-up logic.)
161    
162    ----------------------------------------------------------------------
163    Name: Lal George
164    Date: 2001/05/08  17:26:09 EDT
165    Tag: george-20010508-omit-frameptr
166    Description:
167    
168    Changes to implement the omit-frame-pointer optimization to support
169    raw C calls. For now, there is only support on the Intel x86, but
170    other architectures will follow as more experience is gained with this.
171    
172    
173    ----------------------------------------------------------------------
174    Name: Matthias Blume
175    Date: 2001/05/07 14:40:00 EDT
176    Tag: blume-20010507-proxies
177    Description:
178    
179    I made into "proxy libraries" all libraries that qualify for such a
180    change.  (A qualifying library is a library that has another library or
181    groups as its sole member and repeats that member's export list
182    verbatim.  A proxy library avoids this repetition by omitting its export
183    list, effectively inheriting the list that its (only) member exports.
184    See the CM manual for more explanation.)
185    The main effect is that explicit export lists for these libraries
186    do not have to be kepts in sync, making maintenance a bit easier.
187    
188    I also added copyright notices to many .cm-files.
189    
190    Last but not least, I made a new set of bootfiles.
191    
192    ----------------------------------------------------------------------
193    Name: Matthias Blume
194    Date: 2001/05/04 17:00:00 EDT
195    Tag: blume-20010504-cm-lsplit
196    Description:
197    
198    0. John merged pending changes to $/smlnj-lib.cm
199    
200    1. Allen's previous change accidentally backed out of one of Lal's
201       earlier changes.  I undid this mistake (re-introducing Lal's change).
202    
203    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
204       within the compiler where applicable.  There is some code simplification
205       because of that.
206    
207    3. The "split" phase (in FLINT) is now part of the default list of phases.
208       Compiler.Control.LambdaSplitting.* can be used to globally control the
209       lambda-splitting (cross-module-inlining) engine.  In addition to that,
210       it can now also be controlled on a per-source basis: CM has been taught
211       a new tool parameter applicable to ML source files.
212    
213       - To turn lambda-splitting off completely:
214            local open Compiler.Control.LambdaSplitting in
215                val _ = set Off
216            end
217       - To make "no lambda-splitting" the global default (but allow per-source
218         overriding); this is the initial setting:
219            local open Compiler.Control.LambdaSplitting in
220                val _ = set (Default NONE)
221            end
222       - To make "lambda-splitting with aggressiveness a" the global default
223         (and allow per-source overriding):
224            local open Compiler.Control.LambdaSplitting in
225                val _ = set (Default (SOME a))
226            end
227    
228       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
229         write (in the respective .cm-file):
230            a.sml (lambdasplitting:off)
231       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
232            a.sml (lambdasplitting:on)
233       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
234         <a> is a decimal non-negative integer):
235            a.sml (lambdasplitting:<a>)
236       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
237            a.sml (lambdasplitting:infinity)
238       - To use the global default for a.sml:
239            a.sml (lambdasplitting:default)
240         or simply
241            a.sml
242    
243    ----------------------------------------------------------------------
244    Name: Allen Leung
245    Date: 2001/05/04 01:57:00 EDT
246    Tag: leunga-20010504-sync
247    Description:
248    
249      MLRISC features.
250    
251      1. Fix to CMPXCHG instructions.
252      2. Changed RA interface to allow annotations in callbacks.
253      3. Added a new method to the stream interface to allow annotations updates.
254    
255    ----------------------------------------------------------------------
256    Name: Matthias Blume
257    Date: 2001/05/01 11:45:00 EDT
258    Tag: blume-20010501-pcedittmp
259    Description:
260    
261    Changed install.sh to use the current working directory instead of
262    /usr/tmp for a temporary file (pcedittmp).  The previous choice
263    of /usr/tmp caused trouble with MacOS X because of file premission
264    problems.
265    
266    ----------------------------------------------------------------------
267    Name: Matthias Blume
268    Date: 2001/04/20 11:10:00 EDT
269    Tag: blume-20010420-inMLflag
270    Description:
271    
272     - added vp_limitPtrMask to vproc-state.h
273       (for use by the raw-C-calls mechanism to implement proper interrupt
274        handling)
275     - made the ML compiler aware of various data-structure offsets so it
276       can generate code for accessing the vp_inML flag and vp_limitPtrMask
277     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
278       raw C-calls
279    
280    ----------------------------------------------------------------------
281    Name: Lal George
282    Date: 2001/04/20 09:15:28 EDT
283    Tag: george-20010420-macosX
284    Description:
285    
286     - Changes to port to Mac OS X; Darwin.
287    
288     - In the process I found that sqrt was broken on the PPC, because the
289       fsqrt instruction is not implemented.
290    
291    ----------------------------------------------------------------------
292    Name: Matthias Blume
293    Date: 2001/04/18 12:45:00 EDT
294    Tag: blume-20010418-ccalls
295    Description:
296    
297     - fixed two off-by-4 errors in the x86-specific c-calls implementation
298       (this bug prevented structure arguments containing pointers from being
299        passed correctly)
300     - changed the raw-C-call code in mlriscGen.sml in such a way that
301       structure arguments are represented as a pointer to the beginning
302       of the structure (instead of having a series of synthesized arguments,
303       one for each structure member)
304    
305     - made makeml script's verbosity level configurable via environment
306       variable (MAKEML_VERBOSITY)
307    
308     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
309       in rawmem-x86.sml; we are now using the real thing
310    
311    ----------------------------------------------------------------------
312    Name: Matthias Blume
313    Date: 2001/03/22 16:25:00 EST
314    Tag: blume-20010322-bootfiles
315    Description:
316    
317    Created a new set of bootfiles (for your automatic installation convenience).
318    
319    ----------------------------------------------------------------------
320    Name: Matthias Blume
321    Date: 2001/03/22 15:10:00 EST
322    Tag: blume-20010322-rawmem-parcm
323    Description:
324    
325    1. All "raw memory access" primitives for the new FFI are implemented now
326       (at least on the x86).
327    2. Some further cleanup of CM's parallel make mechanism.
328    
329    ----------------------------------------------------------------------
330    Name: Matthias Blume
331    Date: 2001/03/19 17:53:00 EST
332    Tag: blume-20010319-parallel
333    Description:
334    
335    Parallel make (using compile servers) now works again.
336    
337    To this end, CM.stabilize and CMB.make have been modified to work in
338    two passes when compile servers are attached:
339       1. Compile everything, do not perform stabilization; this pass
340          uses compile servers
341       2. Stabilize everything; this pass does not use compile servers
342    If there are no compile servers, the two passes are combined into one
343    (as before).  Splitting the passes increases the inherent parallelism
344    in the dependency graph because the entire graph including all
345    libraries is available at the same time.  This, in turn, improves
346    server utilization.  The downside is that the master process will
347    have to do some extra work after compilation is done (because for
348    technical reasons it must re-read all the binfiles during stabilization).
349    
350    ----------------------------------------------------------------------
351    Name: Matthias Blume
352    Date: 2001/03/16 12:22:00 EST
353    Tag: blume-20010316-bootfiles
354    Description:
355    
356    Created a new set of bootfiles (for your automatic installation convenience).
357    
358    ----------------------------------------------------------------------
359    Name: Matthias Blume
360    Date: 2001/03/16 11:00:00 EST
361    Tag: blume-20010316-MLTREE-fixup
362    Description:
363    
364    This is a minor fixup for an (untagged) earlier commit by Allen.
365    (A file was missing).
366    
367    ----------------------------------------------------------------------
368    Name: Allen Leung
369    Date: Mon Mar  5 18:54:57 EST 2001
370    Tag: leunga-20010305-cut-support
371    
372    1. New support for alternative control-flow in MLTREE.
373       Currently we support
374    
375          FLOW_TO(CALL ...., [k1,...,kn])
376    
377       This is needed for 'cuts to' in C-- and try/handle-like constructs
378       in Moby
379    
380       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
381    
382    2. Register Allocator
383    
384       Changes in interface [from Fermin, John]
385    
386    3. Alpha 8-bit SLL support [Fermin]
387    
388    4. All architectures
389    
390       A new module (ClusterExpandCopies) for expanding parallel copies.
391    
392    ----------------------------------------------------------------------
393    Name: Allen Leung
394    Date: 2001/02/27 23:07:00 EST
395    Tag: leunga-20010227-minor-stuff
396    
397    1. Alpha bug fix for CMOVNE
398    2. Handle mltree COND(..,FCMP ...,...)
399    3. Bug fix in simplifier
400    
401    ----------------------------------------------------------------------
402    Name: Matthias Blume
403    Date: 2001/01/30 17:50:00 EST
404    Tag: blume-20010130-sync
405    Description:
406    
407    This is just a minor update to sync my devel branch with the main brach.
408    The only visible change is the addition of some README files.
409    
410    ----------------------------------------------------------------------
411    Name: Matthias Blume
412    Date: 2001/01/12 23:30:00 JST
413    Tag: blume-20010112-bootfiles
414    Description:
415    
416    Made a new set of bootfiles that goes with the current state of the
417    repository.
418    
419    ----------------------------------------------------------------------
420    Name: Matthias Blume
421    Date: 2001/01/12 21:20:00 JST
422    Tag: blume-20010112-sync
423    Description:
424    
425    I am just flushing out some minor changes that had accumulated in
426    my private branch in order to sync with the main tree.  (This is
427    mainly because I had CVS trouble when trying to merge _into_ my
428    private branch.)
429    
430    Most people should be completely unaffected by this.
431    
432    ----------------------------------------------------------------------
433    Name: Allen Leung
434    Date: Thu Jan 11 21:03:00 EST 2001
435    Tag: leunga-20010111-labexp=mltree
436    Description:
437    
438    1.  Removed the type LabelExp and replace it by MLTree.
439    2.  Rewritten mltree-simplify with the pattern matcher tool.
440    3.  There were some bugs in alpha code generator which would break
441        64-bit code generation.
442    4.  Redo the tools to generate code with the
443    5.  The CM files in MLRISC (and in src/system/smlnj/MLRISC)
444        are now generated by perl scripts.
445    
446    ----------------------------------------------------------------------
447    Name: Matthias Blume
448    Date: 2001/01/10 21:55:00 JST
449    Tag: blume-20010110-rcc
450    Description:
451    
452    The RCC stuff now seems to work (but only on the x86).
453    This required hacking of the c-calls interface (and -implementation) in
454    MLRISC.
455    
456    Normal compiler users should be unaffected.
457    
458    ----------------------------------------------------------------------
459    Name: Matthias Blume
460    Date: 2001/01/09 01:20:00 JST
461    Tag: blume-20010109-rcc
462    Description:
463    
464    This is a fairly big patch, flushing out a large number of pending
465    changes that I made to my development copy over the last couple of days.
466    
467    Of practical relevance at this moment is a workaround for a pickling
468    bug that Allen ran into the other day.  The cause of the bug itself is
469    still unknown and it might be hard to fix it properly, but the
470    workaround has some merits of its own (namely somewhat reducing pickling
471    overhead for certain libraries).  Therefore, I think this solution should
472    be satisfactory at this time.
473    
474    The rest of the changes (i.e., the vast majority) has to do with my
475    ongoing efforts of providing direct support for C function calls from
476    ML.  At the moment there is a new primop "RAW_CCALL", typing magic
477    in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new
478    case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to
479    translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to
480    handle RCC.
481    
482    The last part (the changes to mlriscGen.sml) are still known to be
483    wrong on the x86 and not implemented on all other architectures.  But
484    the infrastructure is in place. I had to change a few functor
485    signatures in the backend to be able to route the CCalls interface
486    from MLRISC there, and I had to specialize the mltree type (on the
487    x86) to include the necessary extensions. (The extensions themselves
488    were already there and redy to go in MLRISC/x86).
489    
490    Everything should be very happy as soon as someone helps me with
491    mlriscGen.sml...
492    
493    In any case, nothing of this should matter to anyone as long as the
494    new primop is not being used (which is going to be the case unless you
495    find it where I hid it :). The rest of the compiler is completely
496    unaffected.
497    
498    ----------------------------------------------------------------------
499    Name: Matthias Blume
500    Date: 2001/01/05 00:30:00 JST
501    Tag: blume-20010105-primops
502    Description:
503    
504    Added some experimental support for work that I am doing right now.
505    These changes mostly concern added primops, but there is also a new
506    experimental C library in the runtime system (but currently not enabled
507    anywhere except on Linux/X86).
508    
509    In the course of adding primops (and playing with them), I discovered that
510    Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly
511    broken.  (Zhong was very right he labeled this stuff as "major gross hack".)
512    To recover, I made type information in INL_PRIM mandatory and changed
513    prim.sml as well as built-in.sml accordingly.  The InLine structure now
514    has complete, correct type information (i.e., no bottom types).
515    
516    Since all these changes mean that we need new binfiles, I also bumped the
517    version number to 110.32.1.
518    
519    ----------------------------------------------------------------------
520    Name: Matthias Blume
521    Date: 2000/12/30 22:10:00 JST
522    Tag: blume-20001230-various
523    Description:
524    
525    Added proxy libraries for MLRISC and let MLRISC libraries refer
526    to each other using path anchors.  (See CM manual for explanation.)
527    
528    Updated CM documentation.
529    
530    Fixed some bugs in CM.
531    
532    Implemented "proxy" libraries (= syntactic sugar for CM).
533    
534    Added "-quiet" option to makeml and changed runtime system accordingly.
535    
536    Added cleanup handler for exportML to reset timers and compiler stats.
537    
538    ----------------------------------------------------------------------
539    Name: Lal George
540    Date: 2000/12/22 22:22:58 EST 2000
541    Tag: Release_110_32
542    Description:
543    
544            Infinite precision used throughout MLRISC.
545            see MLRISC/mltree/machine-int.sig
546    
547    ----------------------------------------------------------------------
548    Name: Matthias Blume
549    Date: 2000/12/22 23:16:00 JST
550    Tag: blume-20001222-warn
551    Description:
552    
553    Corrected wording and formatting of some CM warning message which I
554    broke in my previous patch.
555    
556    ----------------------------------------------------------------------
557    Name: Matthias Blume
558    Date: 2000/12/22 21:20:00 JST
559    Tag: blume-20001222-anchorenv
560    Description:
561    
562    Fixed CM's handling of anchor environments in connection with CMB.make.
563    
564    ----------------------------------------------------------------------
565    Name: Matthias Blume
566    Date: 2000/12/22 13:15:00 JST
567    Tag: blume-20001222-cleanup
568    Description:
569    
570    Removed src/cm/ffi which does not (and did not) belong here.
571    
572    ----------------------------------------------------------------------
573    Name: Matthias Blume
574    Date: 2000/12/21 23:55:00 JST
575    Tag: blume-20001221-exn
576    Description:
577    
578    Probably most important: CM no longer silently swallows all exceptions
579    in the compiler.
580    Plus: some other minor CM changes.  For example, CM now reports some
581    sizes for generated binfiles (code, data, envpickle, lambdapickle).
582    
583    ----------------------------------------------------------------------
584    Name: Matthias Blume
585    Date: 2000/12/15 00:01:05 JST
586    Tag: blume-20001215-dirtool
587    Description:
588    
589    - "dir" tool added.
590    - improvements and cleanup to Tools structure
591    - documentation updates
592    
593    ----------------------------------------------------------------------
594    Name: Allen Leung
595    Date: Thu Dec 14 03:45:24 EST 2000
596    Description:
597    Tag:  leunga-20001214-int-inf
598    Description:
599    
600       In IntInf, added these standard functions, which are missing from our
601    implementation:
602    
603        andb : int * int -> int
604        xorb : int * int -> int
605        orb  : int * int -> int
606        notb : int -> int
607         <<   : int * word -> int
608        ~>>  : int * word -> int
609    
610       Not tested, I hope they are correct.
611    
612    ----------------------------------------------------------------------
613    Name: Allen Leung
614    Date: Fri Dec  8 19:23:26 EST 2000
615    Description:
616    Tag:  leunga-20001208-nowhere
617    Description:
618    
619      Slight improvements to the 'nowhere' tool to handle OR-patterns,
620    to generate better error messages etc.  Plus a brief manual.
621    
622    ----------------------------------------------------------------------
623    Name: Lal George
624    Date: 2000/12/08 09:54:02 EST 2000
625    Tag: Release_110_31
626    Description:
627    
628    - Version 110.31
629    ----------------------------------------------------------------------
630    Name: Allen Leung
631    Date: Thu Dec  7 22:01:04 EST 2000
632    Tag:  leunga-20001207-cell-monster-hack
633    Description:
634    
635    Major MLRISC internal changes.  Affect all clients.
636    Summary:
637    
638    1.  Type CELLS.cell = int is now replaced by a datatype.
639        As a result, the old regmap is now gone.  Almost all interfaces
640        in MLRISC change as a consequence.
641    
642    2.  A new brand version of machine description tool (v3.0) that generates
643        modules expecting the new interface.  The old version is removed.
644    
645    3.  The RA interface has been further abstracted into two new functors.
646        RISC_RA and X86RA.  These functors have much simpler interfaces.
647        [See also directory MLRISC/demo.]
648    
649    4.  Some other new source->source code generation tools are available:
650    
651        a. MLRISC/Tools/RewriteGen -- generate rewriters from rules.
652        b. MLRISC/Tools/WhereGen -- expands conditional pattern matching rules.
653           I use this tool to generate the peephole optimizers---with the new
654           cell type changes, peephole rules are becoming difficult to write
655           without conditional pattern matching.
656    
657    5.  More Intmap -> IntHashTable change.  Previous changes by Matthias didn't
658        cover the entire MLRISC source tree so many things broke.
659    
660    6.  CM files have been moved to the subdirectory MLRISC/cm.
661        They are moved because there are a lot of them and they clutter up the
662        root dir.
663    
664    7.  More detailed documentation to come...
665    
666        NOTE: To rebuild from 110.30 (ftp distribution), you'll have to do
667        a makeml -rebuild first.  This is because of other other
668        changes that Matthias has made (see below).
669    
670    
671    ----------------------------------------------------------------------
672    Name: Matthias Blume
673    Date: 2000/11/30 23:12:00 JST
674    Tag: blume-20001130-filereorg
675    Description:
676    
677    Some manual updates and some file reorganizations in CM.
678    
679    ----------------------------------------------------------------------
680    Name: Matthias Blume
681    Date: 2000/11/24 17:45:00 JST
682    Tag: blume-20001124-link
683    Description:
684    
685    Drastically improved link traversal code for the case that the dynamic
686    value was already loaded at bootstrap time.  As a result, CM and CMB
687    now both load blazingly fast -- even on a very slow machine.  Also,
688    memory consumption has been further reduced by this.
689    
690    Warning: The format of the PIDMAP file has changed.  THerefore, to
691    bootstrap you have to do this:
692    
693    1. Run CMB.make
694    2. Make a symbolic link for the boot directory:
695         ln -s sml.boot.ARCH-OS xxx
696    3. "Rebuild" the boot directory:
697         ./makeml -boot xxx -rebuild sml ; rm xxx
698    4. Boot normally:
699          ./makeml
700    
701    ----------------------------------------------------------------------
702    Name: Matthias Blume
703    Date: 2000/11/21 21:20:00 JST
704    Tag: blume-20001121-tools
705    Description:
706    
707    Continued hacking on autoloading problem -- with success this time.
708    Also changed tool-plugin mechanism.  See new CM manual.
709    
710    ----------------------------------------------------------------------
711    Name: Matthias Blume
712    Date: 2000/11/19 14:30:00 JST
713    Tag:  blume-20001119-autoload
714    Description:
715    
716    Some hacking to make autoloading faster.  Success for CMB, no success
717    so far for CM.  There is a reduced structure CM' that autoloads faster.
718    (This is a temporary, non-documented hack to be eliminated again when
719    the general problem is solved.)
720    
721    ----------------------------------------------------------------------
722    Name: Matthias Blume
723    Date: 2000/11/17 14:10:00 JST
724    Tag: blume-20001117-pickle-lib
725    Description:
726    
727    1. Eliminated comp-lib.cm
728    2. Made pickle-lib.cm
729    3. Eliminated all uses of intset.sml (from comp-lib.cm)
730    4. Replaced all uses of intmap.{sig,sml} (from comp-lib.cm) with
731       equivalent constructs from smlnj-lib.cm (INtHashTable).
732    5. Point 4. also goes for those uses of intmap.* in MLRISC.
733       Duplicated intmap modules thrown out.
734    6. Hunted down all duplicated SCC code and replaced it with
735       equivalent stuff (GraphSCCFn from smlnj-lib.cm).
736    7. Rewrote Feedback module.
737    8. Moved sortedlist.sml into viscomp-lib.cm.  Eventually it
738       should be thrown out and equivalent modules from smlnj-lib.cm
739       should be used (IntRedBlackSet, IntListSet, ...).
740    
741    Confirmed that compiler compiles to fixpoint.
742    
743    ----------------------------------------------------------------------
744    Name: Allen Leung
745    Date: 2000/11/10 18:00:00
746    Tag: leunga-20001110-new-x86-fp
747    
748    A new x86 floating point code generator has been added.
749    By default this is turned off.  To turn this on, do:
750    
751        CM.autoload "$smlnj/compiler.cm";
752        Compiler.Control.MLRISC.getFlag "x86-fast-fp" := true;
753    
754    Changes:
755    
756    1.  Changed FTAN to FPTAN so that the assembly output is correct.
757    2.  Changed the extension callback for FTANGENT to generate:
758    
759              fptan
760              fstp  %st(0)
761        instead of
762              fptan
763              fstpl ftempmem
764    
765    3.  Numerous assembly fixes for x86.
766    
767    5.  Cleaned up the machine code output module x86/x86MC.sml and added
768        support for a whole bunch of instructions and addressing modes:
769    
770          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st, %st(n)
771          faddp/fsubp/fsubrp/fmulp/fdivp/fdivrp  %st, %st(n)
772          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st(n), %st
773          fiadd/fisub/fisubr/fimul/fidiv/fidivr mem
774          fxch %st(n)
775          fld %st(n)
776          fst %st(n)
777          fst mem
778          fstp %st(n)
779          fucom %st(n)
780          fucomp %st(n)
781    
782        All these are now generated when the fast fp mode is turned on.
783    
784    6.  Removed the dedicated registers %st(0), ..., %st(7) from X86CpsRegs
785    
786    ----------------------------------------------------------------------
787    Name: Matthias Blume
788    Date: 2000/11/09 11:20:00 JST
789    Tag: blume-20001109-scc
790    Description:
791    
792    Eliminated some code duplication:
793    
794    1. Added "where" clause to GraphSCCFn in SML/NJ Library.
795       (Otherwise the functor is useless.)
796    2. Used GraphSCCFn where SCCUtilFun was used previously.
797    3. Got rid of SCCUtilFun (in comp-lib.cm).
798    
799    ----------------------------------------------------------------------
800    Name: Lal George
801    Date: 2000/11/06 09:02:21 EST 2000
802    Tag: Release_110_30
803    Description:
804    
805    - Version 110.30
806    ----------------------------------------------------------------------
807    Name: Matthias Blume
808    Date: 2000/11/04 14:45:00
809    Tag: blume-20001104-mlbuild
810    Description:
811    
812    - Made ml-build faster on startup.
813    - Documentation fixes.
814    
815    ----------------------------------------------------------------------
816    Name: Matthias Blume
817    Date: 2000/11/02 17:00:00 JST
818    Tag: blume-20001102-condcomp
819    Description:
820    
821    - Small tweaks to pickler -- new BOOTFILES!
822    - Version bumped to 110.29.2.
823    - Added conditional compilation facility to init.cmi (see comment there).
824    ----------------------------------------------------------------------
825    Name: Allen Leung
826    Date: 2000/10/23 19:31:00
827    Tag: leunga-20001023-demo-ra
828    
829    1. Minor RA changes that improves spilling on x86 (affects Moby and C-- only)
830    2. Test programs for the graph library updated
831    3. Some new MLRISC demo programs added
832    
833    ----------------------------------------------------------------------
834    Name: Matthias Blume
835    Date: 2000/08/31 22:15:00 JST
836    Tag: blume-20001017-errmsg
837    Description:
838    
839    More error message grief: Where there used to be no messages, there
840    now were some that had bogus error regions.  Fixed.
841    
842    ----------------------------------------------------------------------
843    Name: Matthias Blume
844    Date: 2000/08/31 17:30:00 JST
845    Tag: blume-20001017-v110p29p1
846    Description:
847    
848    I made a version 110.29.1 with new bootfiles.
849    
850    Changes:  Modified pickler/unpickler for faster and leaner unpickling.
851              CM documentation changes and a small bugfix in CM's error reporting.
852    
853    ----------------------------------------------------------------------
854    Name: Lal George
855    Date: 2000/09/27 14:42:35 EDT
856    Tag: george-20000927-nodestatus
857    Description:
858    
859    Changed the type of the nodestatus, so that:
860    
861            SPILLED(~1)             is now SPILLED
862            SPILLED(m) where m>=0   is now MEMREG(m)
863            SPILLED(s) where s<~1   is now SPILL_LOC(~s)
864    
865    ----------------------------------------------------------------------
866    Name: Matthias Blume
867    Date: 2000/09/07 14:45:00 JST
868    Tag: blume-20000907-cmerrmsg
869    Description:
870    
871    Small tweak to CM to avoid getting ML syntax error messages twice.
872    
873    ----------------------------------------------------------------------
874    Name: Matthias Blume
875    Date: 2000/08/31 18:00:00 JST
876    Tag: blume-20000831-cvsbootfiles
877    Description:
878    
879    New URL for boot files (because the 110.29 files on the BL server do
880    now work correctly with my updated install scripts for yacc and lex).
881    
882    ----------------------------------------------------------------------
883    Name: Matthias Blume
884    Date: 2000/08/08 12:33:00 JST
885    Tag: blume-20000808-manual
886    Description:
887    
888    Tiny update to CM manual.
889    
890    ----------------------------------------------------------------------
891    Name: Allen Leung
892    Date: 2000/08/7 19:31:00
893    Tag: leunga-20000807-a-whole-bunch-of-stuff
894    
895      Moby, C--, SSA, x86, machine descriptions etc.  Should only affect C--
896    and Mobdy.
897    
898    1.  x86
899    
900       a.  Fixes to peephole module by John and Dan.
901       b.  Assembly fix to SETcc by Allen.
902       c.  Fix to c-call by John.
903       d.  Fix to spilling by John.  (This one deals with the missing FSTPT case)
904       e.  Instruction selection optimization to SETcc as suggested by John.
905    
906           For example,
907    
908            MV(32, x, COND(32, CMP(32, LT, a, b), LI 1, LI 0))
909    
910           should generate:
911    
912            MOVL a, x
913            SUBL b, x
914            SHRL 31, x
915    
916    2.  IR stuff
917    
918         A bunch of new DJ-graph related algorithms added.  These
919         speed up SSA construction.
920    
921    3.  SSA + Scheduling
922    
923         Added code for SSA and scheduling to the repository
924    
925    ----------------------------------------------------------------------
926    Name: Lal George
927    Date: 2000/07/27 11:53:14 EDT
928    
929    Tag: lal-20000727-linux-ppc
930    Description:
931    
932     Made changes to support Linux PPC.
933     p.s. I have confirmation that the 110.29 boot files work fine.
934    
935    ----------------------------------------------------------------------
936    Name: Matthias Blume
937    Date: 2000/07/27 17:40:00 JST
938    Tag: blume-20000727-scripts
939    Description:
940    
941    !!!! WARNING !!!!
942    You must recompile the runtime system!
943    !!!! WARNING !!!!
944    
945    This is basically another round of script-enhancements:
946    
947    1. sml, ml-build, and ml-makedepend accept options -D and -U to define
948       and undefine CM preprocessor symbols.
949    
950    2. ml-build avoids generating a new heap image if it finds that the
951       existing one is still ok.  (The condition is that no ML file had to
952       be recompiled and all ML files are found to be older that the heap
953       file.)
954    
955       To make this work smoothly, I also hacked the runtime system as
956       well as SMLofNJ.SysInfo to get access to the heap image suffix
957       (.sparc-solaris, ...) that is currently being used.
958    
959       Moreover, the signature of CM.mk_standalone has changed.  See the
960       CM manual.
961    
962    3. ml-makedepend accepts additional options -n, -a, and -o.  (See the
963       CM manual for details.)
964    
965    4. More CM manual updates:
966        - all of the above has been documented.
967        - there is now a section describing the (CM-related) command line
968          arguments that are accepted by the "sml" command
969    
970    ----------------------------------------------------------------------
971    Name: Matthias Blume
972    Date: 2000/07/25 16:20:00 JST
973    Tag: blume-20000725-makedepend
974    Description:
975    
976    Added a script called ml-makedepend.  This can be used in makefiles
977    for Unix' make in a way very similar to the "makedepend" command for
978    C.
979    
980    The script internally uses function CM.sources.
981    
982    Synopsis:
983    
984        ml-makedepend [-f makefile] cmfile targetname
985    
986    The default for the makefile is "makefile" (or "Makefile" should
987    "makefile" not exist).
988    
989    ml-makedepend adds a cmfile/targetname-specific section to this
990    makefile (after removing the previous version of this section).  The
991    section contains a single dependency specification with targetname on
992    the LHS (targetname is an arbitrary name), and a list of files derived
993    from the cmfile on the RHS.  Some of the files on the RHS are
994    ARCH/OPSYS-specific.  Therefore, ml-makedepend inserts references to
995    "make" variables $(ARCH) and $(OPSYS) in place of the corresponding
996    path names.  The makefile writer is responsible for making sure that
997    these variables have correct at the time "make" is invoked.
998    
999    ----------------------------------------------------------------------
1000    Name: Matthias Blume
1001    Date: 2000/07/22 23:30:00 JST
1002    Tag: blume-20000722-urlupdate
1003    Description:
1004    
1005    Changed BOOT and config/srcarchiveurl to point to BL server:
1006    
1007        ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.29/
1008    
1009    ----------------------------------------------------------------------
1010    Name: Matthias Blume
1011    Date: 2000/07/18 18:00:00 JST
1012    Tag: blume-20000718-Version_110_29
1013    Description:
1014    
1015    1. Updated src/compiler/TopLevel/main/version.sml to version 110.29
1016    
1017    2. Updated config/version to 110.29
1018    
1019    3. Updated config/srcarchiveurl
1020    
1021    3. New boot files!
1022       ftp://ftp.cs.princeton.edu/pub/people/blume/sml/110.29-autofetch
1023    
1024    ----------------------------------------------------------------------
1025    Name: Matthias Blume
1026    Date: 2000/07/11 13:58:00 JST
1027    Tag: blume-20000711-doctypo
1028    Description:
1029    
1030    Fixed a few typos in CM manual.
1031    
1032    ----------------------------------------------------------------------
1033    Name: Allen Leung
1034    Date: 2000/06/15 00:38:00
1035    Tag: leunga-20000704-sparc-x86
1036    
1037    1. x86 peephole improvement sp += k; sp -= k => nop  [from John]
1038    2. fix to x86 RET bug [found by Dan Grossman]
1039    3. sparc assembly bug fix for ticc instructions [found by Fermin]
1040    
1041       Affects c-- and moby only
1042    
1043    ----------------------------------------------------------------------
1044    Name: Matthias Blume
1045    Date: 2000/07/04 15:26:00
1046    Tag: blume-20000704-trigger
1047    Description:
1048    
1049    1. Improvements to CM manual.
1050    2. SMLofNJ.Internals.BTrace.trigger reinstated as an alternative way
1051       of getting a back-trace.  The function, when called, raises an
1052       internal exception which explicitly carries the full back-trace history,
1053       so it is unaffected by any intervening handle-raise pairs ("trivial"
1054       or not).  The interactive loop will print that history once it arrives
1055       at top level.
1056       Short of having all exceptions implicitly carry the full history, the
1057       recommended way of using this facility is:
1058         - compile your program with instrumentation "on"
1059         - run it, when it raises an exception, look at the history
1060         - if the history is "cut off" because of some handler, go and modify
1061           your program so that it explicitly calls BTrace.trigger
1062         - recompile (still instrumented), and rerun; look at the full history
1063    
1064    ----------------------------------------------------------------------
1065    Name: Matthias Blume
1066    Date: 2000/07/03 15:36:00 JST
1067    Tag: blume-20000702-manual
1068    Description:
1069    
1070    Small corrections and updates to CM manual.
1071    
1072    ----------------------------------------------------------------------
1073    Name: Matthias Blume
1074    Date: 2000/06/29 16:04:00 JST
1075    Tag: blume-20000629-yacctool
1076    Description:
1077    
1078    Changes:
1079    
1080    1. Class "mlyacc" now takes separate arguments to pass options to
1081       generated .sml- and .sig-files independently.
1082    2. Corresponding CM manual updates.
1083    3. BTrace module now also reports call sites.  (However, for loop clusters
1084       it only shows from where the cluster was entered.)  There are associated
1085       modifications to core.sml, internals.{sig,sml}, btrace.sml, and btimp.sml.
1086    
1087    ----------------------------------------------------------------------
1088    Name: Matthias Blume
1089    Date: 2000/06/27 16:51:00 JST
1090    Tag: blume-20000627-noweb
1091    Description:
1092    
1093    Changes:
1094    
1095     1. Implemented "subdir" and "witness" options for noweb tool.
1096        This caused some slight internal changes in CM's tool implementation.
1097     2. Fixed bug in "tool plugin" mechanism.  This is essentially cleaning
1098        some remaining issues from earlier path anchor changes.
1099     3. Updated CM manual accordingly.
1100    
1101     4. Changed implementation of back-tracing so that I now consider it
1102        ready for prime-time.
1103    
1104        In particular, you don't have to explicitly trigger the back-trace
1105        anymore.  Instead, if you are running BTrace-instrumented code and
1106        there is an uncaught exception (regardless of whether or not it was
1107        raised in instrumented code), the top-level evalloop will print
1108        the back-trace.
1109    
1110        Features:
1111    
1112          - Instrumented and uninstrumented code work together seemlessly.
1113            (Of course, uninstrumented code is never mentioned in actual
1114             back-traces.)
1115    
1116          - Asymptotic time- and space-complexity of instrumented code is
1117            equal to that of uninstrumented code.  (This means that
1118            tail-recursion is preserved by the instrumentation phase.)
1119    
1120          - Modules whose code has been instrumented in different sessions
1121            work together without problem.
1122    
1123          - There is no penalty whatsoever on uninstrumented code.
1124    
1125          - There is no penalty on "raise" expressions, even in
1126            instrumented code.
1127    
1128        A potential bug (or perhaps it is a feature, too):
1129    
1130          A back-trace reaches no further than the outermost instrumented
1131          non-trivial "raise".  Here, a "trivial" raise is one that is the
1132          sole RHS of a "handle" rule.  Thus, back-traces reach trough
1133    
1134               <exp> handle e => raise e
1135    
1136          and even
1137    
1138               <exp> handle Foo => raise Bar
1139    
1140          and, of course, through
1141    
1142               <exp> handle Foo => ...
1143    
1144         if the exception was not Foo.
1145    
1146         Back-traces always reach right through any un-instrumented code
1147         including any of its "handle" expressions, trivial or not.
1148    
1149       To try this out, do the following:
1150    
1151         - Erase all existing binfiles for your program.
1152           (You may keep binfiles for those modules where you think you
1153            definitely don't need back-tracing.)
1154         - Turn on back-trace instrumentation:
1155              SMLofNJ.Internals.BTrace.mode (SOME true);
1156         - Recompile your program.  (I.e., run "CM.make" or "use".)
1157         - You may now turn instrumentation off again (if you want):
1158              SMLofNJ.Internals.BTrace.mode (SOME false);
1159         - Run your program as usual.  If it raises an exception that
1160           reaches the interactive toplevel, then a back-trace will
1161           automatically be printed.  After that, the toplevel loop
1162           will print the exception history as usual.
1163    
1164  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1165  Name: Matthias Blume  Name: Matthias Blume
1166  Date: 2000/06/26 09:56:46 JST  Date: 2000/06/26 09:56:46 JST

Legend:
Removed from v.677  
changed lines
  Added in v.838

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