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/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

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

revision 775, Fri Jan 12 01:17:51 2001 UTC revision 1086, Fri Feb 22 05:56:29 2002 UTC
# Line 8  Line 8 
8  The form of an entry should be:  The form of an entry should be:
9    
10  Name:  Name:
11  Date:  Date: yyyy/mm/dd
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    
15    ----------------------------------------------------------------------
16    Name: Allen Leung
17    Date: 2002/02/22 01:02:00 EST
18    Tag: leunga-20020222-mlrisc-tools
19    
20    Minor bug fixes in the parser and rewriter
21    
22    ----------------------------------------------------------------------
23    Name: Allen Leung
24    Date: 2002/02/21 20:20:00 EST
25    Tag: leunga-20020221-peephole
26    
27    Regenerated the peephole files.  Some contained typos in the specification
28    and some didn't compile because of pretty printing bugs in the old version
29    of 'nowhere'.
30    
31    ----------------------------------------------------------------------
32    Name: Allen Leung
33    Date: 2002/02/19 20:20:00 EST
34    Tag: leunga-20020219-mlrisc-tools
35    Description:
36    
37       Minor bug fixes to the mlrisc-tools library:
38    
39       1.  Fixed up parsing colon suffixed keywords
40       2.  Added the ability to shut the error messages up
41       3.  Reimplemented the pretty printer and fixed up/improved
42           the pretty printing of handle and -> types.
43       4.  Fixed up generation of literal symbols in the nowhere tool.
44       5.  Added some SML keywords to to sml.sty
45    
46    ----------------------------------------------------------------------
47    Name: Matthias Blume
48    Date: 2002/02/19 16:20:00 EST
49    Tag: blume-20020219-cmffi
50    Description:
51    
52    A wild mix of changes, some minor, some major:
53    
54    * All C FFI-related libraries are now anchored under $c:
55        $/c.cm      --> $c/c.cm
56        $/c-int.cm  --> $c/internals/c-int.cm
57        $/memory.cm --> $c/memory/memory.cm
58    
59    * "make" tool (in CM) now treats its argument pathname slightly
60      differently:
61        1. If the native expansion is an absolute name, then before invoking
62           the "make" command on it, CM will apply OS.Path.mkRelative
63           (with relativeTo = OS.FileSys.getDir()) to it.
64        2. The argument will be passed through to subsequent phases of CM
65           processing without "going native".  In particular, if the argument
66           was an anchored path, then "make" will not lose track of that anchor.
67    
68    * Compiler backends now "know" their respective C calling conventions
69      instead of having to be told about it by ml-nlffigen.  This relieves
70      ml-nlffigen from one of its burdens.
71    
72    * The X86Backend has been split into X86CCallBackend and X86StdCallBackend.
73    
74    * Export C_DEBUG and C_Debug from $c/c.cm.
75    
76    * C type encoding in ml-nlffi-lib has been improved to model the conceptual
77      subtyping relationship between incomplete pointers and their complete
78      counterparts.  For this, ('t, 'c) ptr has been changed to 'o ptr --
79      with the convention of instantiating 'o with ('t, 'c) obj whenever
80      the pointer target type is complete.  In the incomplete case, 'o
81      will be instantiated with some "'c iobj" -- a type obtained by
82      using one of the functors PointerToIncompleteType or PointerToCompleteType.
83    
84      Operations that work on both incomplete and complete pointer types are
85      typed as taking an 'o ptr while operations that require the target to
86      be known are typed as taking some ('t, 'c) obj ptr.
87    
88      voidptr is now a bit "more concrete", namely "type voidptr = void ptr'"
89      where void is an eqtype without any values.  This makes it possible
90      to work on voidptr values using functions meant to operate on light
91      incomplete pointers.
92    
93    * As a result of the above, signature POINTER_TO_INCOMPLETE_TYPE has
94      been vastly simplified.
95    
96    ----------------------------------------------------------------------
97    Name: Matthias Blume
98    Date: 2002/02/19 10:48:00 EST
99    Tag: blume-20020219-pqfix
100    Description:
101    
102    Applied Chris Okasaki's bug fix for priority queues.
103    
104    ----------------------------------------------------------------------
105    Name: Matthias Blume
106    Date: 2002/02/15 17:05:00
107    Tag: Release_110_39
108    Description:
109    
110    Last-minute retagging is becoming a tradition... :-(
111    
112    This is the working release 110.39.
113    
114    ----------------------------------------------------------------------
115    Name: Matthias Blume
116    Date: 2002/02/15 16:00:00 EST
117    Tag: Release_110_39-orig
118    Description:
119    
120    Working release 110.39.  New bootfiles.
121    
122    (Update: There was a small bug in the installer so it wouldn't work
123    with all shells.  So I retagged. -Matthias)
124    
125    ----------------------------------------------------------------------
126    Name: Matthias Blume
127    Date: 2002/02/15 14:17:00 EST
128    Tag: blume-20020215-showbindings
129    Description:
130    
131    Added EnvRef.listBoundSymbols and CM.State.showBindings.  Especially
132    the latter can be useful for exploring what bindings are available at
133    the interactive prompt.  (The first function returns only the list
134    of symbols that are really bound, the second prints those but also the
135    ones that CM's autoloading mechanism knows about.)
136    
137    ----------------------------------------------------------------------
138    Name: Matthias Blume
139    Date: 2002/02/15 12:08:00 EST
140    Tag: blume-20020215-iptrs
141    Description:
142    
143    Two improvements to ml-nlffigen:
144    
145      1. Write files only if they do not exist or if their current contents
146         do not coincide with what's being written.  (That is, avoid messing
147         with the time stamps unless absolutely necessary.)
148    
149      2. Implement a "repository" mechanism for generated files related
150         to "incomplete pointer types".   See the README file for details.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume
154    Date: 2002/02/14 11:50:00 EST
155    Tag: blume-20020214-quote
156    Description:
157    
158    Added a type 't t_' to tag.sml (in ml-nlffi-lib.cm).  This is required
159    because of the new and improved tag generation scheme.  (Thanks to Allen
160    Leung for pointing it out.)
161    
162    ----------------------------------------------------------------------
163    Name: Lal George
164    Date: 2002/02/14 09:55:27 EST 2002
165    Tag: george-20020214-isabelle-bug
166    Description:
167    
168    Fixed the MLRISC bug sent by Markus Wenzel regarding the compilation
169    of Isabelle on the x86.
170    
171    From Allen:
172    -----------
173     I've found the problem:
174    
175         in ra-core.sml, I use the counter "blocked" to keep track of the
176         true number of elements in the freeze queue.  When the counter goes
177         to zero, I skip examining the queue.  But I've messed up the
178         bookkeeping in combine():
179    
180             else ();
181             case !ucol of
182               PSEUDO => (if !cntv > 0 then
183                     (if !cntu > 0 then blocked := !blocked - 1 else ();
184                                        ^^^^^^^^^^^^^^^^^^^^^^^
185                      moveu := mergeMoveList(!movev, !moveu)
186                     )
187                  else ();
188    
189         combine() is called to coalesce two nodes u and v.
190         I think I was thinking that if the move counts of u and v are both
191         greater than zero then after they are coalesced then one node is
192         removed from the freeze queue.  Apparently I was thinking that
193         both u and v are of low degree, but that's clearly not necessarily true.
194    
195    
196    02/12/2002:
197        Here's the patch.  HOL now compiles.
198    
199        I don't know how this impact on performance (compile
200        time or runtime).  This bug caused the RA (especially on the x86)
201        to go thru the potential spill phase when there are still nodes on the
202        freeze queue.
203    
204    
205    
206    
207    ----------------------------------------------------------------------
208    Name: Matthias Blume
209    Date: 2002/02/13 22:40:00 EST
210    Tag: blume-20020213-fptr-rtti
211    Description:
212    
213    Fixed a bug in ml-nlffigen that was introduced with one of the previous
214    updates.
215    
216    ----------------------------------------------------------------------
217    Name: Matthias Blume
218    Date: 2002/02/13 16:41:00 EST
219    Tag: blume-20020213-cmlpq
220    Description:
221    
222    Added new priority queue export symbols (which have just been added to
223    smlnj-lib.cm) to CML's version of smlnj-lib.cm.  (Otherwise CML would
224    not compile and the installer would choke.)
225    
226    ----------------------------------------------------------------------
227    Name: Matthias Blume
228    Date: 2002/02/13 16:15:00 EST
229    Tag: blume-20020213-various
230    Description:
231    
232    1. More tweaks to ml-nlffigen:
233    
234       - better internal datastructures (resulting in slight speedup)
235       - "-match" option requires exact match
236       - "localized" gensym counters (untagged structs/unions nested within
237         other structs/unions or within typedefs get a fresh counter; their
238         tag will be prefixed by a concatenation of their parents' tags)
239       - bug fixes (related to calculation of transitive closure of types
240         to be included in the output)
241    
242    2. Minor Basis updates:
243    
244       - added implementations for List.collate and Option.app
245    
246    ----------------------------------------------------------------------
247    Name: Matthias Blume
248    Date: 2002/02/11 15:55:00 EST
249    Tag: blume-20020211-gensym
250    Description:
251    
252    Added a "-gensym" option to command line of ml-nlffigen.  This can be
253    used to specify a "stem" -- a string that is inserted in all "gensym'd"
254    names (ML structure names that correspond to unnamed C structs, unions,
255    and enums), so that separate runs of ml-nlffigen do not clash.
256    
257    ----------------------------------------------------------------------
258    Name: Matthias Blume
259    Date: 2002/02/11 12:05:00 EST
260    Tag: blume-20020211-gensml
261    Description:
262    
263    A quick fix for a problem with GenSML (in the pgraph-util library):
264    Make generation of toplevel "local" optional.  (Strictly speaking,
265    signature definitions within "local" are not legal SML.)
266    
267    Other than that: updates to INSTALL and cm/TODO.
268    
269    ----------------------------------------------------------------------
270    Name: Matthias Blume
271    Date: 2002/02/08 15:00:00 EST
272    Tag: blume-20020208-uniquepid
273    Description:
274    
275    0. Version number has been bumped to 110.38.1.  NEW BOOTFILES!!!
276    
277    1. The installer (config/install.sh) has gotten smarter:
278    
279         - Configuration options are a bit easier to specify now
280           (in config/targets).
281         - Bug in recognizing .tar.bz2 files fixed.
282         - Installer automatically resolves dependencies between
283           configuration options (e.g., if you ask for eXene, you will
284           also get cml -- regardless whether you asked for it or not).
285         - Installer can run in "quieter mode" by setting the environment
286           variable INSTALL_QUIETLY to "true".  "Quieter" does not mean
287           "completely silent", though.
288         - Build HashCons library as part of smlnj-lib.
289    
290    2. A new scheme for assigning persistent identifiers to compilation
291       units (and, by extension, to types etc.) has been put into place.
292       This fixes a long-standing bug where types and even dynamic values
293       can get internally confused, thereby compromising type safety
294       (abstraction) and dynamic correctness.  See
295    
296         http://cm.bell-labs.com/cm/cs/who/blume/pid-confusion.tgz
297    
298       for an example of how things could go wrong until now.
299    
300       The downside of the new scheme is that pids are not quite as
301       persistent as they used to be: CM will generate a fresh pid
302       for every compilation unit that it thinks it sees for the first
303       time.  That means that if you compile starting from a clean, fresh
304       source tree at two different times, you end up with different
305       binaries.
306    
307       Cutoff recompilation, however, has not been compromised because
308       CM keeps pid information in special caches between runs.
309    
310    ----------------------------------------------------------------------
311    Name: Lal George
312    Date: 2002/02/07 15:34:13 EST 2002
313    Tag: <none>
314    Description:
315    
316    Compilers that generate assembly code may produce  global labels
317    whose value is resolved at link time. The various peephole optimization
318    modules did not take this in account.
319    
320    TODO. The Labels.addrOf function should really return an option
321    type so that clients are forced to deal with this issue, rather
322    than an exception being raised.
323    
324    ----------------------------------------------------------------------
325    Name: Lal George
326    Date: 2002/02/06 13:55:02 EST
327    Tag: george-20020206-ra-breakup
328    Description:
329    
330    1. A bug fix from Allen.
331    
332        A typo causes extra fstp %st(0)'s to be generated at compensation
333        edges, which might cause stack underflow traps at runtime.  This
334        occurs in fft where there are extraneous fstps right before the 'into'
335        trap instruction (in this case they are harmless since none of the
336        integers overflow.)
337    
338    2. Pulled out various utility modules that were embedded in the modules
339       of the register allocator. I need these modules for other purposes, but
340       they are not complete enough to put into a library (just yet).
341    ----------------------------------------------------------------------
342    Name: Matthias Blume
343    Date: 2002/01/31 16:05:00 EST
344    Tag: blume-20020131-sparc-ccalls
345    Description:
346    
347    1. C-calls on Sparc needlessly allocated a huge chunk (96 bytes)
348       of extra stack space by mistake.  Fixed.
349    
350    2. Bug in logic of handling of command-line options in ml-nlffigen fixed.
351    
352    ----------------------------------------------------------------------
353    Name: Allen Leung
354    Date: 2002/01/30
355    Tag: leunga-20020130-nowhere-bug-fix
356    Description:
357    
358       MLRISC bug fixes:
359       1. Fixed a bindings computation bug in the 'nowhere' program generator tool.
360       2. MachineInt.fromString was negating its value.
361    
362    ----------------------------------------------------------------------
363    Name: Matthias Blume
364    Date: 2002/01/29
365    Tag: blume-20020129-INSTALL
366    Description:
367    
368    - Added somewhat detailed installation instructions (file INSTALL).
369    - Fixed curl-detection bug in config/install.sh.
370    - It is now possible to select the URL getter using the URLGETTER
371      environment variable:
372    
373          not set / "unknown"      --> automatic detection (script tries wget,
374                                       curl, and lynx)
375          "wget" / "curl" / "lynx" --> use the specified program (script "knows"
376                                       how to properly invoke them)
377          other                    --> use $URLGETTER directly, it must take
378                                       precisely two command-line arguments
379                                       (source URL and destination file name)
380    
381    ----------------------------------------------------------------------
382    Name: Matthias Blume
383    Date: 2002/01/28
384    Tag: blume-20020128-sparc-ccalls
385    Description:
386    
387    - Fixed problem with calculation of "used" registers in sparc-c-calls.
388    - Make use of the allocParam argument in sparc-c-calls.
389    
390    ----------------------------------------------------------------------
391    Name: Matthias Blume
392    Date: 2002/01/28
393    Tag: blume-20020128-allocParam
394    Description:
395    
396    John Reppy:  Changes c-calls API to accept client-callback for
397    allocating extra stack space.
398    me: Corresponding changes to mlriscGen (using a dummy argument that
399        does not change the current behavior).
400    
401    ----------------------------------------------------------------------
402    Name: Matthias Blume
403    Date: 2002/01/28 12:00:00
404    Tag: Release_110_38
405    Description:
406    
407    This time for real!!!
408    
409    ----------------------------------------------------------------------
410    Name: Matthias Blume
411    Date: 2002/01/28 10:56:00 EST
412    Tag: blume-20020128-retraction
413    Description:
414    
415    0. Retracted earlier 110.38.  (The Release_110_38 tag has been replaced
416       with blume-Release_110_38-retracted.)
417    
418    1. Fixed a problem with incorrect rounding modes in real64.sml.
419       (Thanks to Andrew Mccreight <andrew.mccreight@yale.edu>.)
420    
421    2. A bug in ml-nlffigen related to the handling of unnamed structs, unions,
422       and enums fixed.  The naming of corresponding ML identifiers should
423       now be consistent again.
424    
425    ----------------------------------------------------------------------
426    Name: Allen Leung
427    Date: 2002/01/27
428    Tag: leunga-20020127-nowhere
429    Description:
430    
431       Added a target called nowhere in the configuration scripts.
432       Enabling this will build the MLRISC 'nowhere' tool (for translating
433       programs with where-clauses into legal SML code) during installation.
434    
435    ----------------------------------------------------------------------
436    Name: Matthias Blume
437    Date: 2002/01/25 21:27:00 EST
438    Tag: blume-Release_110_38-retracted
439    Description:
440    
441    Call it a (working) release!  Version is 110.38. Bootfiles are ready.
442    
443    README will be added later.
444    
445    !!! NOTE:  Re-tagged as blume-Release_110_38-retracted. Original tag
446    (Release_110_38) removed.  Reason: Last-minute bug fixes.
447    
448    ----------------------------------------------------------------------
449    Name: Matthias Blume
450    Date: 2002/01/25
451    Tag: blume-20020125-ffi
452    Description:
453    
454    A large number of tweaks and improvements to ml-nlffi-lib and
455    ml-nlffigen:
456    
457       - ML represenation types have been streamlined
458       - getter and setter functions work with concrete values, not abstract
459         ones where possible
460       - ml-nlffigen command line more flexible (see README file there)
461       - some bugs have been fixed (hopefully)
462    
463    ----------------------------------------------------------------------
464    Name: Lal George
465    Date: 2002/01/24
466    Tag: george-20020124-risc-ra-interface
467    Description:
468    
469       There is a dramatic simplification in the interface to the
470       register allocator for RISC architectures as a result of making
471       parallel copy instructions explicit.
472    
473    ----------------------------------------------------------------------
474    Name: Matthias Blume
475    Date: 2002/01/22
476    Tag: blume-20020122-x86-ccalls
477    Description:
478    
479    Bug fix for c-calls on x86 (having to do with how char- and
480    short-arguments are being handled).
481    
482    ----------------------------------------------------------------------
483    Name: Matthias Blume
484    Date: 2002/01/21
485    Tag: blume-20020121-ff
486    Description:
487    
488    Another day of fiddling with the FFI...
489    
490    1. Bug fix/workaround:  CKIT does not complain about negative array
491       dimensions, so ml-nlffigen has to guard itself against this possibility.
492       (Otherwise a negative dimension would send it into an infinite loop.)
493    
494    2. Some of the abstract types (light objects, light pointers, most "base"
495       types) in structure C are now eqtypes.
496    
497    3. Added constructors and test functions for NULL function pointers.
498    
499    ----------------------------------------------------------------------
500    Name: Matthias Blume
501    Date: 2002/01/18
502    Tag: blume-20020118-ready-for-new-release
503    Description:
504    
505    Made config/srcarchiveurl point to a new place.  (Will provide boot
506    files shortly.)
507    
508    Maybe we christen this to be 110.38?
509    
510    ----------------------------------------------------------------------
511    Name: Matthias Blume
512    Date: 2002/01/18
513    Tag: blume-20020118-more-ffifiddle
514    Description:
515    
516    Today's FFI fiddling:
517    
518      - Provided a structure CGetSet with "convenient" versions of C.Get.* and
519        C.Set.* that use concrete (MLRep.*) arguments and results instead
520        of abstract ones.
521    
522      - Provided word-style bit operations etc. for "int" representation
523        types in MLRep.S<Foo>Bitops where <Foo> ranges over Char, Int, Short,
524        and Long.
525    
526    ----------------------------------------------------------------------
527    Name: Matthias Blume
528    Date: 2002/01/18
529    Tag: blume-20020118-use-x86-fp
530    Description:
531    
532    Now that x86-fast-fp seems to be working, I turned it back on again
533    by default.  (Seems to work fine now, even with the FFI.)
534    
535    Other than that, I added some documentation about the FFI to
536    src/ml-nlffigen/README and updated the FFI test examples in
537    src/ml-nlffi-lib/Tests/*.
538    
539    ----------------------------------------------------------------------
540    Name: Allen Leung
541    Date: 2002/01/17
542    Tag: leunga-20020117-x86-fast-fp-call
543    Description:
544    
545       1. Fixed a problem with handling return fp values when x86's fast fp
546          mode is turned on.
547    
548       2. Minor pretty printing fix for cellset.  Print %st(0) as %st(0) instead
549          of %f32.
550    
551       3. Added a constructor INT32lit to the ast of MLRISC tools.
552    
553    ----------------------------------------------------------------------
554    Name: Matthias Blume
555    Date: 2002/01/16
556    Tag: blume-20020116-ffifiddle
557    Description:
558    
559    More fiddling with the FFI interface:
560    
561     - Make constness 'c instead of rw wherever possible.  This eliminates
562       the need for certain explicit coercions.  (However, due to ML's
563       value polymorphism, there will still be many cases where explicit
564       coercions are necessary.  Phantom types are not the whole answer
565       to modeling a subtyping relationship in ML.)
566    
567     - ro/rw coersions for pointers added.  (Avoids the detour through */&.)
568    
569     - "printf" test example added to src/ml-nlffi-lib/Tests.  (Demonstrates
570       clumsy workaround for varargs problem.)
571    
572    ----------------------------------------------------------------------
573    Name: Lal George
574    Date: 2002/01/15
575    Tag: <none>
576    Description:
577    
578    1. Since COPY instructions are no longer native to the architecture,
579       a generic functor can be used to implement the expandCopies function.
580    
581    2. Allowed EXPORT and IMPORT pseudo-op declarations to appear inside a
582       TEXT segment.
583    
584    ----------------------------------------------------------------------
585    Name: Matthias Blume
586    Date: 2002/01/15
587    Tag: blume-20020115-ffiupdates
588    Description:
589    
590    1. Fix for bug resulting in single-precision float values being returned
591       incorrectly from FFI calls.
592    
593    2. Small modifications to C FFI API:
594    
595        - memory-allocation routines return straight objects (no options)
596          and raise an exception in out-of-memory situations
597        - unsafe extensions to cast between function pointers and pointers
598          from/to ints
599        - added structure C_Debug as an alternative to structure C where
600          pointer-dereferencing (|*| and |*!) always check for null-pointers
601        - added open_lib' to DynLinkage;  open_lib' works like open_lib
602          but also takes a (possibly empty) list of existing library handles
603          that the current library depends on
604    
605    ----------------------------------------------------------------------
606    Name: Matthias Blume
607    Date: 2002/01/10
608    Tag: blume-20020110-newffigen
609    Description:
610    
611    1. Updates to portable graph code.
612    
613    2. Major update to ml-nlffigen and ml-nlffi-lib.  Things are much
614       more scalable now so that even huge interfaces such as the one
615       for GTK compile in finite time and space. :-)
616       See src/ml-nlffigen/README for details on what's new.
617    
618    ----------------------------------------------------------------------
619    Name: Lal George
620    Date: 2001/01/09 14:31:35 EST 2002
621    Tag: george-20011206-rm-native-copy
622    Description:
623    
624            Removed the native COPY and FCOPY instructions
625            from all the architectures and replaced it with the
626            explicit COPY instruction from the previous commit.
627    
628            It is now possible to simplify many of the optimizations
629            modules that manipulate copies. This has not been
630            done in this change.
631    
632    ----------------------------------------------------------------------
633    Name: Lal George
634    Date: 2001/12/06 16:50:13 EST 2001
635    Tag: george-20011206-mlrisc-instruction
636    Description:
637    
638    Changed the representation of instructions from being fully abstract
639    to being partially concrete. That is to say:
640    
641      from
642            type instruction
643    
644      to
645            type instr                              (* machine instruction *)
646    
647            datatype instruction =
648                LIVE of {regs: C.cellset, spilled: C.cellset}
649              | KILL of {regs: C.cellset, spilled: C.cellset}
650              | COPYXXX of {k: CB.cellkind, dst: CB.cell list, src: CB.cell list}
651              | ANNOTATION of {i: instruction, a: Annotations.annotation}
652              | INSTR of instr
653    
654    This makes the handling of certain special instructions that appear on
655    all architectures easier and uniform.
656    
657    LIVE and KILL say that a list of registers are live or killed at the
658    program point where they appear. No spill code is generated when an
659    element of the 'regs' field is spilled, but the register is moved to
660    the 'spilled' (which is present, more for debugging than anything else).
661    
662    LIVE replaces the (now deprecated) DEFFREG instruction on the alpha.
663    We used to generate:
664    
665            DEFFREG f1
666            f1 := f2 + f3
667            trapb
668    
669    but now generate:
670    
671            f1 := f2 + f3
672            trapb
673            LIVE {regs=[f1,f2,f3], spilled=[]}
674    
675    Furthermore, the DEFFREG (hack) required that all floating point instruction
676    use all registers mentioned in the instruction. Therefore f1 := f2 + f3,
677    defines f1 and uses [f1,f2,f3]! This hack is no longer required resulting
678    in a cleaner alpha implementation. (Hopefully, intel will not get rid of
679    this architecture).
680    
681    COPYXXX is intended to replace the parallel COPY and FCOPY  available on
682    all the architectures. This will result in further simplification of the
683    register allocator that must be aware of them for coalescing purposes, and
684    will also simplify certain aspects of the machine description that provides
685    callbacks related to parallel copies.
686    
687    ANNOTATION should be obvious, and now INSTR represents the honest to God
688    machine instruction set!
689    
690    The <arch>/instructions/<arch>Instr.sml files define certain utility
691    functions for making porting easier -- essentially converting upper case
692    to lower case. All machine instructions (of type instr) are in upper case,
693    and the lower case form generates an MLRISC instruction. For example on
694    the alpha we have:
695    
696      datatype instr =
697         LDA of {r:cell, b:cell, d:operand}
698       | ...
699    
700      val lda : {r:cell, b:cell, d:operand} -> instruction
701        ...
702    
703    where lda is just (INSTR o LDA), etc.
704    
705    ----------------------------------------------------------------------
706    Name: Matthias Blume
707    Date: 2001/11/22 21:40:00 EST
708    Tag: Release_110_37
709    Description:
710    
711    Release 110.37.  This time for real.
712    
713    ----------------------------------------------------------------------
714    Name: Matthias Blume
715    Date: 2001/11/21 16:35:00 EST
716    Tag: blume-20011121-foot-in-mouth
717    Description:
718    
719    Removed the "Release_110_37" tag because of a serious bug.
720    This will be re-tagged once the bug is fixed.
721    
722    ----------------------------------------------------------------------
723    Name: Matthias Blume
724    Date: 2001/11/21 16:14:00 EST
725    Tag: blume-20011121-forgottenfile
726    Description:
727    
728    Forgot to add a file.  (Just a .tex-file -- part of
729    the CM manual source.)
730    
731    ----------------------------------------------------------------------
732    Name: Matthias Blume
733    Date: 2001/11/21 16:10:00 EST
734    Tag: blume-20011121-invalid_110_37
735    Description:
736    
737    Note: I removed the original tag "Release_110_37" from this commit
738          because we found a serious bug in all non-x86 backends.
739          - Matthias
740    
741    1. Modifications to the SML/NJ code generator and to the runtime system
742       so that code object name strings are directly inserted into code
743       objects at code generation time.  The only business the runtime system
744       has with this is now to read the name strings on occasions.
745       (The encoding of the name string has also changed somewhat.)
746    
747    2. CM now implements a simple "set calculus" for specifying export lists.
748       In particular, it is now possible to refer to the export lists of
749       other libraries/groups/sources and form unions as well as differences.
750       See the latest CM manual for details.
751    
752    3. An separate notion of "proxy" libraries has again be eliminated from
753       CM's model.  (Proxy libraries are now simply a special case of using
754       the export list calculus.)
755    
756    4. Some of the existing libraries now take advantage of the new set
757       calculus.
758       (Notice that not all libraries have been converted because some
759       of the existing .cm-files are supposed to be backward compatible
760       with 110.0.x.)
761    
762    5. Some cleanup in stand-alone programs.  (Don't use "exnMessage" -- use
763       "General.exnMessage"!  The former relies on a certain hook to be
764       initialized, and that often does not happen in the stand-alone case.)
765    
766    ----------------------------------------------------------------------
767    Name: Lal George
768    Date: 2001/11/21  13:56:18 EST
769    Tag: george-2001121-pseudo-ops
770    Description:
771    
772      Implemented a complete redesign of MLRISC pseudo-ops. Now there
773      ought to never be any question of incompatabilities with
774      pseudo-op syntax expected by host assemblers.
775    
776      For now, only modules supporting GAS syntax are implemented
777      but more should follow, such as MASM, and vendor assembler
778      syntax, e.g. IBM as, Sun as, etc.
779    
780    ----------------------------------------------------------------------
781    Name: Matthias Blume
782    Date: 2001/11/14 11:52:00 EST
783    Tag: blume-20011114-srcname
784    Description:
785    
786    1. Routed the name of the current source file to mlriscgen where it
787       should be directly emitted into the code object.  (This last part
788       is yet to be done.)
789    
790    2. Some cleanup of the pgraph code to make it match the proposal that
791       I put out the other day.  (The proposal notwithstanding, things are
792       still in flux here.)
793    
794    ----------------------------------------------------------------------
795    Name: Lal George
796    Date: 2001/11/14 09:44:04 EST
797    Tag:
798    Description:
799    
800      Fix for a backpatching bug reported by Allen.
801    
802      Because the boundary between short and long span-dependent
803      instructions is +/- 128, there are an astounding number of
804      span-dependent instructions whose size is over estimated.
805    
806      Allen came up with the idea of letting the size of span
807      dependent instructions be non-monotonic, for a maxIter
808      number of times, after which the size must be monotonically
809      increasing.
810    
811      This table shows the number of span-dependent instructions
812      whose size was over-estimated as a function of maxIter, for the
813      file Parse/parse/ml.grm.sml:
814    
815         maxIter            # of instructions:
816            10                      687
817            20                      438
818            30                      198
819            40                        0
820    
821      In compiling the compiler, there is no significant difference in
822      compilation speed between maxIter=10 and maxIter=40. Actually,
823      my measurements showed that maxIter=40 was a tad faster than
824      maxIter=10! Also 96% of the  files in the compiler reach a fix
825      point within 13 iterations, so fixing maxIter at 40, while high,
826      is okay.
827    
828    ----------------------------------------------------------------------
829    Name: Matthias Blume
830    Date: 2001/10/31 15:25:00 EST
831    Tag: blume-20011031-pgraph
832    Description:
833    
834    CKIT:
835    * Changed the "Function" constructor of type Ast.ctype to carry optional
836      argument identifiers.
837    * Changed the return type of TypeUtil.getFunction accordingly.
838    * Type equality ignores the argument names.
839    * TypeUtil.composite tries to preserve argument names but gives up quickly
840      if there is a mismatch.
841    
842    installation script:
843    * attempts to use "curl" if available (unless "wget" is available as well)
844    
845    CM:
846    * has an experimental implementation of "portable graphs" which I will
847      soon propose as an implementation-independent library format
848    * there are also new libraries $/pgraph.cm and $/pgraph-util.cm
849    
850    NLFFI-LIB:
851    * some cleanup (all cosmetic)
852    
853    NLFFIGEN:
854    * temporarily disabled the mechanism that suppresses ML output for
855      C definitions whose identifiers start with an underscore character
856    * generate val bindings for enum constants
857    * user can request that only one style (light or heavy) is being used;
858      default is to use both (command-line arguments: -heavy and -light)
859    * fixed bug in handling of function types involving incomplete pointers
860    * generate ML entry points that take record arguments (i.e., using
861      named arguments) for C functions that have a prototype with named
862      arguments
863      (see changes to CKIT)
864    
865    ----------------------------------------------------------------------
866    Name: Allen Leung
867    Date: 2001/10/27 20:34:00 EDT
868    Tag: leunga-20011027-x86-fast-fp-call
869    Description:
870    
871       Fixed the bug described in blume-20010920-slowfp.
872    
873       The fix involves
874          1. generating FCOPYs in FSTP in ia32-svid
875          2. marking a CALL with the appropriate annotation
876    
877    ----------------------------------------------------------------------
878    Name: Matthias Blume
879    Date: 2001/10/16 11:32:00 EDT
880    Tag: blume-20011016-netbsd
881    Description:
882    
883    Underscore patch from Chris Richards (fixing problem with compiling
884    runtime system under recent NetBSD).
885    
886    ----------------------------------------------------------------------
887    Name: Allen Leung
888    Date: 2001/10/12 17:18:32 EDT 2001
889    Tag: leung-20011012-x86-printflowgraph
890    Description:
891    
892    X86RA now uses a valid (instead of dummy) PrintFlowgraph module.
893    
894    ----------------------------------------------------------------------
895    Name: Lal George
896    Date: 2001/10/11 23:51:34 EDT
897    Tag: george-20011011-too-many-instrs
898    Description:
899    
900    The representation of a program point never expected to see more
901    than 65536 instructions in a basic block!
902    
903    ----------------------------------------------------------------------
904    Name: Lal George
905    Date: 2001/10/09 09:41:37 EDT
906    Tag: george-20011008-mlrisc-labels
907    Description:
908    
909    Changed the machine description files to support printing of
910    local and global labels in assembly code, based on host assembler
911    conventions.
912    
913    ----------------------------------------------------------------------
914    Name: Matthias Blume
915    Date: 2001/09/25 15:25:00 EDT
916    Tag: blume-20010925-exninfo
917    Description:
918    
919    I provided a non-hook implementation of exnName (at the toplevel) and
920    made the "dummy" implementation of exnMessage (at the toplevel) more
921    useful: if nothing gets "hooked in", then at least you are going to
922    see the exception name and a message indicating why you don't see more.
923    
924    [For the time being, programs that need exnMessage and want to use
925    ml-build should either use General.exnMessage (strongly recommended) or
926    refer to structure General at some other point so that CM sees a
927    static dependency.]
928    
929    [Similar remarks go for "print" and "use":  If you want to use their
930    functionality in stand-alone programs generated by ml-build, then use
931    TextIO.output and Backend.Interact.useFile (from $smlnj/compiler.cm).]
932    
933    ----------------------------------------------------------------------
934    Name: Matthias Blume
935    Date: 2001/09/20 17:28:00 EDT
936    Tag: blume-20010920-slowfp
937    Description:
938    
939    Allen says that x86-fast-fp is not safe yet, so I turned it off again...
940    
941    ----------------------------------------------------------------------
942    Name: Matthias Blume
943    Date: 2001/09/20 17:20:00 EDT
944    Tag: blume-20010920-canonicalpaths
945    Description:
946    
947    0. Updated the BOOT file (something that I forgot to do earlier).
948    
949    1. Small internal change to CM so that it avoids "/../" in filenames
950       as much as possible (but only where it is safe).
951    
952    2. Changed config/_run-sml (resulting in a changed bin/.run-sml) so
953       that arguments that contain delimiters are passed through correctly.
954       This change also means that all "special" arguments of the form
955       @SMLxxx... must come first.
956    
957    3. Changed install script to put relative anchor names for tool commands
958       into pathconfig.
959    
960    ----------------------------------------------------------------------
961    Name: Matthias Blume
962    Date: 2001/09/18 15:35:00 EDT
963    Tag: blume-20010918-readme11036
964    Description:
965    
966    Added README files.
967    
968    ----------------------------------------------------------------------
969    Name: Matthias Blume
970    Date: 2001/09/18 11:45:00 EDT
971    Tag: Release_110_36 (retag)
972    Description:
973    
974    Fixed mistake in config/preloads. Retagged as 110.36.
975    
976    ----------------------------------------------------------------------
977    Name: Matthias Blume
978    Date: 2001/09/18 09:40:00 EDT
979    Tag: Release_110_36_orig (tag changed)
980    Description:
981    
982    New version (110.36).  New bootfiles.
983    
984    ----------------------------------------------------------------------
985    Name: Matthias Blume
986    Date: 2001/09/14 16:15:00 EDT
987    Tag: blume-20010914-x86fastfp
988    Description:
989    
990    John committed some changes that Allen made, in particular a (hopefully)
991    correctly working version of the x86-fp module.
992    
993    I changed the default setting of the Control.MLRISC.getFlag "x86-fast-fp"
994    flag to "true".  Everything seems to compile to a fixpoint ok, and
995    "mandelbrot" speeds up by about 15%.
996    
997    ----------------------------------------------------------------------
998    Name: Matthias Blume
999    Date: 2001/09/13 11:20:00 EDT
1000    Tag: blume-20010913-minimal
1001    Description:
1002    
1003    1. Stefan Monnier's patch to fix a miscompilation problem that
1004       was brought to light by John Reppy's work on Moby.
1005    
1006    2. Implemented a minimal "structure Compiler" that contains just
1007       "version" and "architecture".  The minimal version will be
1008       available when the full version is not.  This is for backward-
1009       compatibility with code that wants to test Compiler.version.
1010    
1011    ----------------------------------------------------------------------
1012    Name: Matthias Blume
1013    Date: 2001/08/28 14:03:00 EDT
1014    Tag: blume-20010828-ml-lex
1015    Description:
1016    
1017    Fix for bug 1581, received from Neophytos Michael.
1018    
1019    ----------------------------------------------------------------------
1020    Name: Matthias Blume
1021    Date: 2001/08/27 11:20:00 EDT
1022    Tag: blume-20010827-readme11035
1023    Description:
1024    
1025    Fleshed out the README file for 110.35.
1026    
1027    ----------------------------------------------------------------------
1028    Name: Matthias Blume
1029    Date: 2001/08/24 17:10:00 EDT
1030    Tag: Release_110_35
1031    Description:
1032    
1033    New version number (110.35).  New bootfiles.
1034    
1035    ----------------------------------------------------------------------
1036    Name: Lal George
1037    Date: 2001/08/24 13:47:18 EDT 2001
1038    Tag: george-20010824-MLRISC-graphs
1039    Description:
1040    
1041     removed clusters from MLRISC completely and replaced with graphs.
1042    
1043    ----------------------------------------------------------------------
1044    Name: Matthias Blume
1045    Date: 2001/08/23 17:50:00 EDT
1046    Tag: blume-20010823-toplevel
1047    Description:
1048    
1049    - some reorganization of the code that implements various kinds of
1050      environments in the compiler (static, dynamic, symbolic, combined)
1051    - re-implemented the EnvRef module so that evalStream works properly
1052      (if the stream contains references to "use", "CM.make", etc.)
1053    - cleaned up evalloop.sml and interact.sml (but they need more cleaning)
1054    
1055    ----------------------------------------------------------------------
1056    Name: Matthias Blume
1057    Date: 2001/08/20 15:50 EDT
1058    Tag: blume20010820-slipup
1059    Description:
1060    
1061    I forgot to commit a few files.  Here they are...
1062    
1063    ----------------------------------------------------------------------
1064    Name: Matthias Blume
1065    Date: 2001/08/20 15:35:00 EDT
1066    Tag: blume-20010820-debugprof
1067    Description:
1068    
1069    !!!! NEW BOOTFILES !!!!
1070    
1071    This is another round of reorganizing the compiler sources.  This
1072    time the main goal was to factor out all the "instrumentation"
1073    passes (for profiling and backtracing) into their own library.
1074    The difficulty was to do it in such a way that it does not depend
1075    on elaborate.cm but only on elabdata.cm.
1076    
1077    Therefore there have been further changes to both elaborate.cm and
1078    elabdata.cm -- more "generic" things have been moved from the former
1079    to the latter.  As a result, I was forced to split the assignment
1080    of numbers indicating "primtyc"s into two portions: SML-generic and
1081    SML/NJ-specific.  Since it would have been awkward to maintain,
1082    I bit the bullet and actually _changed_ the mapping between these
1083    numbers and primtycs.  The bottom line of this is that you need
1084    a new set of bin- and bootfiles.
1085    
1086    I have built new bootfiles for all architectures, so doing a fresh
1087    checkout and config/install.sh should be all you need.
1088    
1089    The newly created library's name is
1090    
1091        $smlnj/viscomp/debugprof.cm
1092    
1093    and its sources live under
1094    
1095        src/compiler/DebugProf
1096    
1097    ----------------------------------------------------------------------
1098    Name: Matthias Blume
1099    Date: 2001/08/15 17:15:00 EDT
1100    Tag: blume-20010815-compreorg
1101    Description:
1102    
1103    This is a first cut at reorganizing the CM libraries that make up the
1104    core of the compiler.  The idea is to separate out pieces that could
1105    be used independently by tools, e.g., the parser, the typechecker, etc.
1106    
1107    The current status is a step in this direction, but it is not quite
1108    satisfactory yet.  Expect more changes in the future.
1109    
1110    Here is the current (new) organization...
1111    
1112        What used to be $smlnj/viscomp/core.cm is now divided into
1113        six CM libraries:
1114    
1115             $smlnj/viscomp/basics.cm
1116                           /parser.cm
1117                           /elabdata.cm
1118                           /elaborate.cm
1119                           /execute.cm
1120                           /core.cm
1121    
1122        The CM files for these libraries live under src/system/smlnj/viscomp.
1123        All these libraries are proxy libraries that contain precisely
1124        one CM library component.  Here are the locations of the components
1125        (all within the src/compiler tree):
1126    
1127             Basics/basics.cm
1128             Parse/parser.cm
1129             ElabData/elabdata.cm
1130             Elaborator/elaborate.cm
1131             Execution/execute.cm
1132             core.cm
1133    
1134         [This organization is the same that has been used already
1135         for a while for the architecture-specific parts of the visible
1136         compiler and for the old version of core.cm.]
1137    
1138         As you will notice, many source files have been moved from their
1139         respective original locations to a new home in one of the above
1140         subtrees.
1141    
1142         The division of labor between the new libraries is the following:
1143    
1144             basics.cm:
1145                - Simple, basic definitions that pertain to many (or all) of
1146                  the other libraries.
1147             parser.cm:
1148                - The SML parser, producing output of type Ast.dec.
1149                - The type family for Ast is also defined and exported here.
1150             elabdata.cm:
1151                - The datatypes that describe input and output of the elaborator.
1152                  This includes types, absyn, and static environments.
1153             elaborator.cm:
1154                - The SML/NJ type checker and elaborator.
1155                  This maps an Ast.dec (with a given static environment) to
1156                  an Absyn.dec (with a new static environment).
1157                - This libraries implements certain modules that used to be
1158                  structures as functors (to remove dependencies on FLINT).
1159             execute.cm:
1160                - Everything having to do with executing binary code objects.
1161                - Dynamic environments.
1162             core.cm:
1163                - SML/NJ-specific instantiations of the elaborator and MLRISC.
1164                - Top-level modules.
1165                - FLINT (this should eventually become its own library)
1166    
1167    Notes:
1168    
1169    I am not 100% happy with the way I separated the elaborator (and its
1170    data structures) from FLINT.  Two instances of the same problem:
1171    
1172        1. Data structures contain certain fields that carry FLINT-specific
1173           information.  I hacked around this using exn and the property list
1174           module from smlnj-lib.  But the fact that there are middle-end
1175           specific fields around at all is a bit annoying.
1176    
1177        2. The elaborator calculates certain FLINT-related information.  I tried
1178           to make this as abstract as I could using functorization, but, again,
1179           the fact that the elaborator has to perform calculations on behalf
1180           of the middle-end at all is not nice.
1181    
1182        3. Having to used exn and property lists is unfortunate because it
1183           weakens type checking.  The other alternative (parameterizing
1184           nearly *everything*) is not appealing, though.
1185    
1186    I removed the "rebinding =" warning hack because due to the new organization
1187    it was awkward to maintain it.  As a result, the compiler now issues some of
1188    these warnings when compiling init.cmi during bootstrap compilation. On
1189    the plus side, you also get a warning when you do, for example:
1190       val op = = Int32.+
1191    which was not the case up to now.
1192    
1193    I placed "assign" and "deref" into the _Core structure so that the
1194    code that deals with the "lazy" keyword can find them there.  This
1195    removes the need for having access to the primitive environment
1196    during elaboration.
1197    
1198    ----------------------------------------------------------------------
1199    Name: Matthias Blume
1200    Date: 2001/08/13
1201    Tag: blume-20010813-closures
1202    Description:
1203    
1204    This fix was sent to us by Zhong Shao.  It is supposed to improve the
1205    performance of certain loops by avoiding needless closure allocation.
1206    
1207    ----------------------------------------------------------------------
1208    Name: Lal George
1209    Date: 2001/07/31 10:03:23 EDT 2001
1210    Tag: george-20010731-x86-fmalloc
1211    Description: Fixed bug in x86 calls
1212    
1213        There was a bug where call instructions would mysteriously
1214        vanish. The call instruction had to be one that returned
1215        a floating point value.
1216    
1217    ----------------------------------------------------------------------
1218    Name: Lal George
1219    Date: 2001/07/19 16:36:29 EDT 2001
1220    Tag: george-20010719-simple-cells
1221    Description:
1222    
1223    I have dramatically simplified the interface for CELLS in MLRISC.
1224    
1225    In summary, the cells interface is broken up into three parts:
1226    
1227      1. CellsBasis : CELLS_BASIS
1228    
1229            CellsBasis is a top level structure and common for all
1230            architectures.  it contains the definitions of basic datatypes
1231            and utility  functions over these types.
1232    
1233      2. functor Cells() : CELLS
1234    
1235            Cells generates an interface for CELLS that incorporates the
1236            specific resources on the target architecture, such as the
1237            presence of special register classes, their number and size,
1238            and various useful substructures.
1239    
1240      3. <ARCH>CELLS
1241    
1242            e.g. SparcCells: SPARCCELLS
1243    
1244            <ARCH>CELLS usually contains additional bindings for special
1245            registers  on the architecture, such as:
1246    
1247                    val r0 : cell           (* register zero *)
1248                    val y : cell            (* Y register *)
1249                    val psr : cell          (* processor status register *)
1250                    ...
1251    
1252            The structure returned by applying the Cells functor is opened
1253            in this interface.
1254    
1255    The main implication of all this is that the datatypes for cells is
1256    split between CellsBasis and CELLS -- a fairly simple change for user
1257    code.
1258    
1259    In the old scheme the CELLS interface had a definitional binding of
1260    the form:
1261    
1262            signature CELLS = sig
1263    
1264               structure CellsBasis = CellsBasis
1265    
1266               ...
1267    
1268            end
1269    
1270    With all the sharing constraints that goes on in MLRISC, this old
1271    design  quickly leads to errors such as:
1272    
1273            "structure definition spec inside of sharing ... "
1274    
1275    
1276    and appears to require an unacceptable amount of sharing and where
1277    constraint hackery.
1278    
1279    I think this error message (the interaction of definitional specs and
1280    sharing) requires more explanation on our web page.
1281    
1282    ----------------------------------------------------------------------
1283    Name: Matthias Blume
1284    Date: 2001/07/19 15:00:00 EDT
1285    Tag: blume-20010719-libreorg
1286    Description:
1287    
1288    This update puts together a fairly extensive but straightforward change
1289    to the way the libraries that implement the interactive system are
1290    organized:
1291    
1292       The biggest change is the elimination of structure Compiler.  As a
1293       replacement for this structure, there is now a CM library
1294       (known as $smlnj/compiler.cm or $smlnj/compiler/current.cm)
1295       that exports all the substructures of the original structure Compiler
1296       directly.  So instead of saying Compiler.Foo.bar one now simply
1297       says Foo.bar.  (The CM libraries actually export a collection of
1298       structures that is richer than the collection of substructures of
1299       structure Compiler.)
1300    
1301       To make the transition smooth, there is a separate library called
1302       $smlnj/compiler/compiler.cm which puts together and exports the
1303       original structure Compiler (or at least something very close to it).
1304    
1305       There are five members of the original structure Compiler
1306       that are not exported directly but which instead became members
1307       of a new structure Backend (described by signature BACKEND).  These are:
1308       structure Profile (: PROFILE), structure Compile (: COMPILE), structure
1309       Interact (: INTERACT), structure Machine (: MACHINE), and val
1310       architecture (: string).
1311    
1312       Structure Compiler.Version has become structure CompilerVersion.
1313    
1314       Cross-compilers for alpha32, hppa, ppc, sparc, and x86 are provided
1315       by $smlnj/compiler/<arch>.cm where <arch> is alpha32, hppa, ppc, sparc,
1316       or x86, respectively.
1317       Each of these exports the same frontend structures that
1318       $smlnj/compiler.cm exports.  But they do not have a structure Backend
1319       and instead export some structure <Arch>Backend where <Arch> is Alpha32,
1320       Hppa, PPC, Sparc, or X86, respectively.
1321    
1322       Library $smlnj/compiler/all.cm exports the union of the exports of
1323       $smlnj/compiler/<arch>.cm
1324    
1325       There are no structures <Arch>Compiler anymore, use
1326       $smlnj/compiler/<arch>.cm instead.
1327    
1328       Library host-compiler-0.cm is gone.  Instead, the internal library
1329       that instantiates CM is now called cm0.cm.  Selection of the host
1330       compiler (backend) is no longer done here but. (Responsibility for it
1331       now lies with $smlnj/compiler/current.cm.  This seems to be more
1332       logical.)
1333    
1334       Many individual files have been moved or renamed.  Some files have
1335       been split into multiple files, and some "dead" files have been deleted.
1336    
1337    Aside from these changes to library organization, there are also changes
1338    to the way the code itself is organized:
1339    
1340       Structure Binfile has been re-implemented in such a way that it no
1341       longer needs any knowledge of the compiler.  It exclusively deals
1342       with the details of binfile layout.  It no longer invokes the
1343       compiler (for the purpose of creating new prospective binfile
1344       content), and it no longer has any knowledge of how to interpret
1345       pickles.
1346    
1347       Structure Compile (: COMPILE) has been stripped down to the bare
1348       essentials of compilation.  It no longer deals with linking/execution.
1349       The interface has been cleaned up considerably.
1350    
1351       Utility routines for dealing with linking and execution have been
1352       moved into their own substructures.
1353    
1354       (The ultimate goal of these changes is to provide a light-weight
1355       binfile loader/linker (at least for, e.g., stable libraries) that
1356       does not require CM or the compiler to be present.)
1357    
1358    CM documentation has been updated to reflect the changes to library
1359    organization.
1360    
1361    ----------------------------------------------------------------------
1362    Name: Matthias Blume
1363    Date: 2001/07/10 17:30:00 EDT
1364    Tag: Release_110_34
1365    Description:
1366    
1367    Minor tweak to 110.34 (re-tagged):
1368    
1369      - README.html file added to CVS repository
1370      - runtime compiles properly under FreeBSD 3.X and 4.X
1371    
1372    ----------------------------------------------------------------------
1373    Name: Matthias Blume
1374    Date: 2001/07/10 17:30:00 EDT
1375    Tag: Release_110_34
1376    Description:
1377    
1378    New version number (110.34). New bootfiles.
1379    
1380    ----------------------------------------------------------------------
1381    Name: Matthias Blume
1382    Date: 2001/07/09 16:00:00 EDT
1383    Tag: blume-20010709-more-varargs
1384    Description:
1385    
1386    I changed the handling of varargs in ml-nlffigen again:
1387    The ellipsis ... will now simply be ignored (with an accompanying warning).
1388    
1389    The immediate effect is that you can actually call a varargs function
1390    from ML -- but you can't actually supply any arguments beyond the ones
1391    specified explicitly.  (For example, you can call printf with its format
1392    string, but you cannot pass additional arguments.)
1393    
1394    This behavior is only marginally more useful than the one before, but
1395    it has the advantage that a function or, more importantly, a function
1396    type never gets dropped on the floor, thus avoiding follow-up problems with
1397    other types that refer to the offending one.
1398    
1399    ----------------------------------------------------------------------
1400    Name: Matthias Blume
1401    Date: 2001/07/09 11:25:00 EDT
1402    Tag: blume-20010709-varargs
1403    Description:
1404    
1405    1. ckit-lib.cm now exports structure Error
1406    2. ml-nlffigen reports occurences of "..." (i.e., varargs function types)
1407       with a warning accompanied by a source location.  Moreover, it
1408       merely skips the offending function or type and proceeds with the
1409       rest of its work.u  As a result, one can safely feed C code containing
1410       "..." to ml-nlffigen.
1411    3. There are some internal improvements to CM, providing slightly
1412       more general string substitutions in the tools subsystem.
1413    
1414    ----------------------------------------------------------------------
1415    Name: Matthias Blume
1416    Date: 2001/06/27 15:10:00 EDT
1417    Tag: blume-20010627-concur
1418    Description:
1419    
1420    Fixed a small bug in CM's handling of parallel compilation.
1421    (You could observe the bug by Control-C-interrupting an ordinary
1422    CMB.make or CM.stabilize and then attaching some compile servers.
1423    The result was that all of a sudden the previously interrupted
1424    compilation would continue on its own.  This was because of
1425    an over-optimization: CM did not bother to clean out certain queues
1426    when no servers were attached "anyway", resulting in the contents
1427    of these queues to grab control when new servers did get attached.)
1428    
1429    There is also another minor update to the CM manual.
1430    
1431    ----------------------------------------------------------------------
1432    Name: Matthias Blume
1433    Date: 2001/06/26 16:15:00 EDT
1434    Tag: blume-20010626-cmdoc
1435    Description:
1436    
1437    Minor typo fixed in CM manual (syntax diagram for libraries).
1438    
1439    ----------------------------------------------------------------------
1440    Name: Matthias Blume
1441    Date: 2001/06/25 22:55:00 EDT
1442    Tag: blume-20010625-x86pc
1443    Description:
1444    
1445    Fixed a nasty bug in the X86 assembly code that caused signal
1446    handlers to fail (crash) randomly.
1447    
1448    ----------------------------------------------------------------------
1449    Name: Matthias Blume
1450    Date: 2001/06/25 12:05:00 EDT
1451    Tag: blume-20010625-nlffigen
1452    Description:
1453    
1454    This update fixes a number of minor bugs in ml-nlffigen as reported by
1455    Nick Carter <nbc@andrew.cmu.edu>.
1456    
1457      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
1458      2. Default names for generated files are now derived from the name of
1459         the C file *without its directory*.  In particular, this causes generated
1460         files to be placed locally even if the C file is in some system directory.
1461      3. Default names for generated signatures and structures are also derived
1462         from the C file name without its directory.  This avoids silly things
1463         like "structure GL/GL".
1464         (Other silly names are still possible because ml-nlffigen does not do
1465          a thorough check of whether generated names are legal ML identifiers.
1466          When in doubt, use command line arguments to force particular names.)
1467    
1468    ----------------------------------------------------------------------
1469    Name: Matthias Blume
1470    Date: 2001/06/21 12:25:00 EDT
1471    Tag: blume-20010621-eXene
1472    Description:
1473    
1474    eXene now compiles and (sort of) works again.
1475    
1476    The library name (for version > 110.33) is $/eXene.cm.
1477    
1478    I also added an new example in src/eXene/examples/nbody.  See the
1479    README file there for details.
1480    
1481    ----------------------------------------------------------------------
1482    Name: Matthias Blume
1483    Date: 2001/06/20 16:40:00 EDT
1484    Tag: blume-20010620-cml
1485    Description:
1486    
1487    CML now compiles and works again.
1488    
1489    Libraries (for version > 110.33):
1490    
1491      $cml/cml.cm            Main CML library.
1492      $cml/basis.cm          CML's version of $/basis.cm.
1493      $cml/cml-internal.cm   Internal helper library.
1494      $cml/core-cml.cm       Internal helper library.
1495      $cml-lib/trace-cml.cm  Tracing facility.
1496      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
1497    
1498    The installer (config/install.sh) has been taught how to properly
1499    install this stuff.
1500    
1501    ----------------------------------------------------------------------
1502    Name: Matthias Blume
1503    Date: 2001/06/19 17:55:00 EDT
1504    Tag: blume-20010619-instantiate
1505    Description:
1506    
1507    This un-breaks the fix for bug 1432.
1508    (The bug was originally fixed in 110.9 but I broke it again some
1509    time after that.)
1510    
1511    ----------------------------------------------------------------------
1512    Name: Matthias Blume
1513    Date: 2001/06/19 17:25:00 EDT
1514    Tag: blume-20010619-signals
1515    Description:
1516    
1517    This should (hopefully) fix the long-standing signal handling bug.
1518    (The runtime system was constructing a continuation record with an
1519    incorrect descriptor which would cause the GC to drop data on the floor...)
1520    
1521    ----------------------------------------------------------------------
1522    Name: Matthias Blume
1523    Date: 2001/06/15 15:05:00 EDT
1524    Tag: blume-20010615-moresparc
1525    Description:
1526    
1527    Here is a short late-hour update related to Sparc c-calls:
1528    
1529     -- made handling of double-word arguments a bit smarter
1530    
1531     -- instruction selection phase tries to collapse certain clumsily
1532        constructed ML-Trees; typical example:
1533    
1534            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
1535    
1536        This currently has no further impact on SML/NJ since mlriscGen does
1537        not seem to generate such patterns in the first place, and c-calls
1538        (which did generate them in the beginning) has meanwhile been fixed
1539        so as to avoid them as well.
1540    
1541    ----------------------------------------------------------------------
1542    Name: Matthias Blume
1543    Date: 2001/06/15 15:05:00 EDT
1544    Tag: blume-20010615-sparc
1545    Description:
1546    
1547    The purpose of this update is to provide an implementation of NLFFI
1548    on Sparc machines.
1549    
1550    Here are the changes in detail:
1551    
1552       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
1553       the Sparc implementation of the c-calls API.
1554       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
1555       for accessing the ML frame.  Thus, we have a real frame pointer and
1556       can freely modify %sp without need for an omit-frame-ptr phase.
1557       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
1558       this case.
1559       * ml-nlffigen has been taught to produce code for different architectures
1560       and calling conventions.
1561       * In a way similar to what was done in the x86 case, the Sparc
1562       backend uses its own specific extension to mltree.  (For example,
1563       it needs to be able to generate UNIMP instructions which are part
1564       of the calling convention.)
1565       * ml-nlffi-lib was reorganized to make it more modular (in particular,
1566       to make it easier to plug in new machine- and os-dependent parts).
1567    
1568    There are some other fairly unrelated bug fixes and cleanups as well:
1569    
1570       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
1571       that they properly share their libraries with existing SML/NJ libraries.
1572       * I fixed a minor cosmetic bug in CM, supressing certain spurious
1573       follow-up error messages.
1574       * Updates to CM/CMB documentation.
1575    
1576    TODO items:
1577    
1578       * MLRISC should use a different register as its asmTemp on the Sparc.
1579         (The current %o2 is a really bad choice because it is part of the
1580         calling conventions, so things might interfere in unexpected ways.)
1581    
1582    ----------------------------------------------------------------------
1583    Name: Matthias Blume
1584    Date: 2001/06/07
1585    Tag: blume-20010607-calls
1586    Description:
1587    
1588    A number of internal changes related to C calls and calling conventions:
1589    
1590    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
1591       number of bytes popped implicitly (by the callee).  In most cases
1592       this field is 0 but on x86/win32 it is some non-zero value.  This
1593       is information provided for the benefit of the "omit-frameptr" pass.
1594    2. The CALL instruction on the x86 carries a similar "pops" field.
1595       The instruction selection phase copies its value from the ML-Tree
1596       CALL statement.
1597    3. On all other architectures, the instruction selection phase checks
1598       whether "pops=0" and complains if not.
1599    4. The c-calls implementation for x86 now accepts two calling conventions:
1600       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
1601       up after the call and pops is set to 0.  For "stdcall", the caller
1602       does nothing, leaving the cleanup to the callee; pops is set to
1603       the number of bytes that were pushed onto the stack.
1604    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
1605       distinguish between "ccall" and "stdcall".
1606    6. The UNIMP instruction has been added to the supported Sparc instruction
1607       set. (This is needed for implementing the official C calling convention
1608       on this architecture.)
1609    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
1610       work with the latest CM.
1611    
1612    ----------------------------------------------------------------------
1613    Name: Matthias Blume
1614    Date: 2001/06/05 15:10:00 EDT
1615    Tag: blume-20010605-cm-index
1616    Description:
1617    
1618    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
1619    
1620    1. CM can now generate "index files".  These are human-readable files
1621       that list on a per-.cm-file basis each toplevel symbol defined or
1622       imported.  The location of the index file for
1623       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
1624       To enable index-file generation, set CM.Control.generate_index to true
1625       or export an environment-symbol: export CM_GENERATE_INDEX=true.
1626    
1627       The CM manual has been updated accordingly.
1628    
1629    2. I made some slight modifications to the c-calls API in MLRISC.
1630    
1631         a) There is now a callback to support saving/restoring of
1632            dedicated but caller-save registers around the actual call
1633            instruction.
1634         b) One can optionally specify a comment-annotation for the
1635            call instruction.
1636    
1637    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
1638       (For example, the comment annotation shows the C prototype of
1639        the function being called.)
1640    
1641    ----------------------------------------------------------------------
1642    Name: Matthias Blume
1643    Date: 2001/06/01 13:30:00 EDT
1644    Tag: blume-20010601-nlffi-cleanup
1645    Description:
1646    
1647    This is mostly a cleanup of MLFFI stuff:
1648    
1649       - some signature files have been put into a more exposed place
1650       - the ugly 'f type parameter is gone (simplifies types tremendously!)
1651       - ml-nlffigen changed accordingly
1652       - tutorial updated
1653    
1654    Other changes:
1655    
1656       - author's affiliation in CM manual(s) updated
1657       - some more recognized keywords added to Allen's sml.sty
1658    
1659    ----------------------------------------------------------------------
1660    Name: Matthias Blume
1661    Date: 2001/05/25 15:30:00 EDT
1662    Tag: blume-20010525-iptr
1663    Description:
1664    
1665      - put the official 110.33-README (as it appears on the ftp server) under
1666        CVS
1667      - fixed a small bug related to incomplete pointer types in
1668        ml-nlffigen
1669      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
1670        (it does not need the 'f type parameter)
1671    
1672    ----------------------------------------------------------------------
1673    Name: Matthias Blume
1674    Date: 2001/05/23 14:30:00 EDT
1675    Tag: Release_110_33
1676    Description:
1677    
1678    New version number (110.33).  New bootfiles.
1679    
1680    ----------------------------------------------------------------------
1681    Name: Matthias Blume
1682    Date: 2001/05/22 18:06:00 EDT
1683    Tag: blume-20010522-targets
1684    Description:
1685    
1686    Made install.sh use file config/targets.customized if it exists, falling
1687    back to config/targets if it doesn't.  This way one can have a customized
1688    version of the targets file without touching the "real thing", thus
1689    eliminating the constant fear of accidentally checking something bogus
1690    back into the CVS repository...  (File config/targets.customized must
1691    not be added to the repository!)
1692    
1693    ----------------------------------------------------------------------
1694    Name: Matthias Blume
1695    Date: 2001/05/22 16:30:00 EDT
1696    Tag: blume-20010522-minitut
1697    Description:
1698    
1699    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
1700       struct returns.
1701    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
1702       incomplete, preliminary documentation for NLFFI.
1703    
1704    ----------------------------------------------------------------------
1705    Name: Matthias Blume
1706    Date: 2001/05/14 11:30:00 EDT
1707    Tag: blume-20010514-script
1708    Description:
1709    
1710    Some bugs in install script fixed.
1711    
1712    In addition to that I also made a slight change to the NLFFI API:
1713    Functors generated by ml-nlffigen now take the dynamic library as a
1714    straight functor argument, not as a suspended one.  (The original
1715    functor code used to force the suspension right away anyway, so there
1716    was nothing gained by this complication of the interface.)
1717    
1718    ----------------------------------------------------------------------
1719    Name: Matthias Blume
1720    Date: 2001/05/11 14:35:00 EDT
1721    Tag: blume-20010511-ml-nlffi
1722    Description:
1723    
1724    I finally took the plunge and added my new FFI code to the main
1725    repository.  For x86-linux it is now ready for prime-time.
1726    
1727    There are two new subdirectories of "src":
1728    
1729      - ml-nlffi-lib:
1730           The utility library for programs using the FFI interface.
1731           Here is the implementation of $/c.cm and its associated low-level
1732           partners $/c-int.cm and $/memory.cm.
1733      - ml-nlffigen:
1734           A stand-alone program for generating ML glue code from C source
1735           code.
1736    
1737    Building ml-nlffigen requires $/ckit-lib.cm.
1738    
1739    The config/install.sh script has been updates to do the Right Thing
1740    (hopefully).
1741    
1742    Notice that the source tree for the C-Kit will not be put under "src"
1743    but directly under the installation root directory.  (This is the
1744    structure that currently exists on the CVS server when you check out
1745    module "sml".)  Fortunately, config/install.sh knows about this oddity.
1746    
1747    Bugs: No documentation yet.
1748    
1749    ----------------------------------------------------------------------
1750    Name: Matthias Blume
1751    Date: 2001/05/09 16:35:00 EDT
1752    Tag: blume-20010509-cpscontract
1753    Description:
1754    
1755    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
1756    wrapper/unwrapper elimination did not decrement usage counts and some
1757    dead variables got overlooked by the dead-up logic.)
1758    
1759    ----------------------------------------------------------------------
1760    Name: Lal George
1761    Date: 2001/05/08  17:26:09 EDT
1762    Tag: george-20010508-omit-frameptr
1763    Description:
1764    
1765    Changes to implement the omit-frame-pointer optimization to support
1766    raw C calls. For now, there is only support on the Intel x86, but
1767    other architectures will follow as more experience is gained with this.
1768    
1769    
1770    ----------------------------------------------------------------------
1771    Name: Matthias Blume
1772    Date: 2001/05/07 14:40:00 EDT
1773    Tag: blume-20010507-proxies
1774    Description:
1775    
1776    I made into "proxy libraries" all libraries that qualify for such a
1777    change.  (A qualifying library is a library that has another library or
1778    groups as its sole member and repeats that member's export list
1779    verbatim.  A proxy library avoids this repetition by omitting its export
1780    list, effectively inheriting the list that its (only) member exports.
1781    See the CM manual for more explanation.)
1782    The main effect is that explicit export lists for these libraries
1783    do not have to be kepts in sync, making maintenance a bit easier.
1784    
1785    I also added copyright notices to many .cm-files.
1786    
1787    Last but not least, I made a new set of bootfiles.
1788    
1789    ----------------------------------------------------------------------
1790    Name: Matthias Blume
1791    Date: 2001/05/04 17:00:00 EDT
1792    Tag: blume-20010504-cm-lsplit
1793    Description:
1794    
1795    0. John merged pending changes to $/smlnj-lib.cm
1796    
1797    1. Allen's previous change accidentally backed out of one of Lal's
1798       earlier changes.  I undid this mistake (re-introducing Lal's change).
1799    
1800    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
1801       within the compiler where applicable.  There is some code simplification
1802       because of that.
1803    
1804    3. The "split" phase (in FLINT) is now part of the default list of phases.
1805       Compiler.Control.LambdaSplitting.* can be used to globally control the
1806       lambda-splitting (cross-module-inlining) engine.  In addition to that,
1807       it can now also be controlled on a per-source basis: CM has been taught
1808       a new tool parameter applicable to ML source files.
1809    
1810       - To turn lambda-splitting off completely:
1811            local open Compiler.Control.LambdaSplitting in
1812                val _ = set Off
1813            end
1814       - To make "no lambda-splitting" the global default (but allow per-source
1815         overriding); this is the initial setting:
1816            local open Compiler.Control.LambdaSplitting in
1817                val _ = set (Default NONE)
1818            end
1819       - To make "lambda-splitting with aggressiveness a" the global default
1820         (and allow per-source overriding):
1821            local open Compiler.Control.LambdaSplitting in
1822                val _ = set (Default (SOME a))
1823            end
1824    
1825       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
1826         write (in the respective .cm-file):
1827            a.sml (lambdasplitting:off)
1828       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
1829            a.sml (lambdasplitting:on)
1830       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
1831         <a> is a decimal non-negative integer):
1832            a.sml (lambdasplitting:<a>)
1833       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
1834            a.sml (lambdasplitting:infinity)
1835       - To use the global default for a.sml:
1836            a.sml (lambdasplitting:default)
1837         or simply
1838            a.sml
1839    
1840    ----------------------------------------------------------------------
1841    Name: Allen Leung
1842    Date: 2001/05/04 01:57:00 EDT
1843    Tag: leunga-20010504-sync
1844    Description:
1845    
1846      MLRISC features.
1847    
1848      1. Fix to CMPXCHG instructions.
1849      2. Changed RA interface to allow annotations in callbacks.
1850      3. Added a new method to the stream interface to allow annotations updates.
1851    
1852    ----------------------------------------------------------------------
1853    Name: Matthias Blume
1854    Date: 2001/05/01 11:45:00 EDT
1855    Tag: blume-20010501-pcedittmp
1856    Description:
1857    
1858    Changed install.sh to use the current working directory instead of
1859    /usr/tmp for a temporary file (pcedittmp).  The previous choice
1860    of /usr/tmp caused trouble with MacOS X because of file premission
1861    problems.
1862    
1863    ----------------------------------------------------------------------
1864    Name: Matthias Blume
1865    Date: 2001/04/20 11:10:00 EDT
1866    Tag: blume-20010420-inMLflag
1867    Description:
1868    
1869     - added vp_limitPtrMask to vproc-state.h
1870       (for use by the raw-C-calls mechanism to implement proper interrupt
1871        handling)
1872     - made the ML compiler aware of various data-structure offsets so it
1873       can generate code for accessing the vp_inML flag and vp_limitPtrMask
1874     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
1875       raw C-calls
1876    
1877    ----------------------------------------------------------------------
1878    Name: Lal George
1879    Date: 2001/04/20 09:15:28 EDT
1880    Tag: george-20010420-macosX
1881    Description:
1882    
1883     - Changes to port to Mac OS X; Darwin.
1884    
1885     - In the process I found that sqrt was broken on the PPC, because the
1886       fsqrt instruction is not implemented.
1887    
1888    ----------------------------------------------------------------------
1889    Name: Matthias Blume
1890    Date: 2001/04/18 12:45:00 EDT
1891    Tag: blume-20010418-ccalls
1892    Description:
1893    
1894     - fixed two off-by-4 errors in the x86-specific c-calls implementation
1895       (this bug prevented structure arguments containing pointers from being
1896        passed correctly)
1897     - changed the raw-C-call code in mlriscGen.sml in such a way that
1898       structure arguments are represented as a pointer to the beginning
1899       of the structure (instead of having a series of synthesized arguments,
1900       one for each structure member)
1901    
1902     - made makeml script's verbosity level configurable via environment
1903       variable (MAKEML_VERBOSITY)
1904    
1905     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
1906       in rawmem-x86.sml; we are now using the real thing
1907    
1908    ----------------------------------------------------------------------
1909    Name: Matthias Blume
1910    Date: 2001/03/22 16:25:00 EST
1911    Tag: blume-20010322-bootfiles
1912    Description:
1913    
1914    Created a new set of bootfiles (for your automatic installation convenience).
1915    
1916    ----------------------------------------------------------------------
1917    Name: Matthias Blume
1918    Date: 2001/03/22 15:10:00 EST
1919    Tag: blume-20010322-rawmem-parcm
1920    Description:
1921    
1922    1. All "raw memory access" primitives for the new FFI are implemented now
1923       (at least on the x86).
1924    2. Some further cleanup of CM's parallel make mechanism.
1925    
1926    ----------------------------------------------------------------------
1927    Name: Matthias Blume
1928    Date: 2001/03/19 17:53:00 EST
1929    Tag: blume-20010319-parallel
1930    Description:
1931    
1932    Parallel make (using compile servers) now works again.
1933    
1934    To this end, CM.stabilize and CMB.make have been modified to work in
1935    two passes when compile servers are attached:
1936       1. Compile everything, do not perform stabilization; this pass
1937          uses compile servers
1938       2. Stabilize everything; this pass does not use compile servers
1939    If there are no compile servers, the two passes are combined into one
1940    (as before).  Splitting the passes increases the inherent parallelism
1941    in the dependency graph because the entire graph including all
1942    libraries is available at the same time.  This, in turn, improves
1943    server utilization.  The downside is that the master process will
1944    have to do some extra work after compilation is done (because for
1945    technical reasons it must re-read all the binfiles during stabilization).
1946    
1947    ----------------------------------------------------------------------
1948    Name: Matthias Blume
1949    Date: 2001/03/16 12:22:00 EST
1950    Tag: blume-20010316-bootfiles
1951    Description:
1952    
1953    Created a new set of bootfiles (for your automatic installation convenience).
1954    
1955    ----------------------------------------------------------------------
1956    Name: Matthias Blume
1957    Date: 2001/03/16 11:00:00 EST
1958    Tag: blume-20010316-MLTREE-fixup
1959    Description:
1960    
1961    This is a minor fixup for an (untagged) earlier commit by Allen.
1962    (A file was missing).
1963    
1964    ----------------------------------------------------------------------
1965    Name: Allen Leung
1966    Date: Mon Mar  5 18:54:57 EST 2001
1967    Tag: leunga-20010305-cut-support
1968    
1969    1. New support for alternative control-flow in MLTREE.
1970       Currently we support
1971    
1972          FLOW_TO(CALL ...., [k1,...,kn])
1973    
1974       This is needed for 'cuts to' in C-- and try/handle-like constructs
1975       in Moby
1976    
1977       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
1978    
1979    2. Register Allocator
1980    
1981       Changes in interface [from Fermin, John]
1982    
1983    3. Alpha 8-bit SLL support [Fermin]
1984    
1985    4. All architectures
1986    
1987       A new module (ClusterExpandCopies) for expanding parallel copies.
1988    
1989    ----------------------------------------------------------------------
1990    Name: Allen Leung
1991    Date: 2001/02/27 23:07:00 EST
1992    Tag: leunga-20010227-minor-stuff
1993    
1994    1. Alpha bug fix for CMOVNE
1995    2. Handle mltree COND(..,FCMP ...,...)
1996    3. Bug fix in simplifier
1997    
1998    ----------------------------------------------------------------------
1999    Name: Matthias Blume
2000    Date: 2001/01/30 17:50:00 EST
2001    Tag: blume-20010130-sync
2002    Description:
2003    
2004    This is just a minor update to sync my devel branch with the main brach.
2005    The only visible change is the addition of some README files.
2006    
2007    ----------------------------------------------------------------------
2008    Name: Matthias Blume
2009    Date: 2001/01/12 23:30:00 JST
2010    Tag: blume-20010112-bootfiles
2011    Description:
2012    
2013    Made a new set of bootfiles that goes with the current state of the
2014    repository.
2015    
2016    ----------------------------------------------------------------------
2017    Name: Matthias Blume
2018    Date: 2001/01/12 21:20:00 JST
2019    Tag: blume-20010112-sync
2020    Description:
2021    
2022    I am just flushing out some minor changes that had accumulated in
2023    my private branch in order to sync with the main tree.  (This is
2024    mainly because I had CVS trouble when trying to merge _into_ my
2025    private branch.)
2026    
2027    Most people should be completely unaffected by this.
2028    
2029  ----------------------------------------------------------------------  ----------------------------------------------------------------------
2030  Name: Allen Leung  Name: Allen Leung
2031  Date: Thu Jan 11 21:03:00 EST 2001  Date: Thu Jan 11 21:03:00 EST 2001
# Line 1920  Line 3935 
3935       elaborator). There were a lot of changes during my "linkpath" trials       elaborator). There were a lot of changes during my "linkpath" trials
3936       that could have been reverted to their original state but weren't.       that could have been reverted to their original state but weren't.
3937       Please, don't be too harsh on me for messing with this code a bit more       Please, don't be too harsh on me for messing with this code a bit more
3938       than what was strictly necessary...  (I _did_ resist the tempation       than what was strictly necessary...  (I _did_ resist the temptation
3939       of doing any "global reformatting" to avoid an untimely death at       of doing any "global reformatting" to avoid an untimely death at
3940       Dave's hands. :)       Dave's hands. :)
3941    

Legend:
Removed from v.775  
changed lines
  Added in v.1086

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