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 905, Thu Aug 23 21:53:02 2001 UTC revision 1080, Wed Feb 20 01:28:00 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/19 20:20:00 EST
18    Tag: leunga-20020219-mlrisc-tools
19    Description:
20    
21       Minor bug fixes to the mlrisc-tools library:
22    
23       1.  Fixed up parsing colon suffixed keywords
24       2.  Added the ability to shut the error messages up
25       3.  Reimplemented the pretty printer and fixed up/improved
26           the pretty printing of handle and -> types.
27       4.  Fixed up generation of literal symbols in the nowhere tool.
28       5.  Added some SML keywords to to sml.sty
29    
30    ----------------------------------------------------------------------
31    Name: Matthias Blume
32    Date: 2002/02/19 16:20:00 EST
33    Tag: blume-20020219-cmffi
34    Description:
35    
36    A wild mix of changes, some minor, some major:
37    
38    * All C FFI-related libraries are now anchored under $c:
39        $/c.cm      --> $c/c.cm
40        $/c-int.cm  --> $c/internals/c-int.cm
41        $/memory.cm --> $c/memory/memory.cm
42    
43    * "make" tool (in CM) now treats its argument pathname slightly
44      differently:
45        1. If the native expansion is an absolute name, then before invoking
46           the "make" command on it, CM will apply OS.Path.mkRelative
47           (with relativeTo = OS.FileSys.getDir()) to it.
48        2. The argument will be passed through to subsequent phases of CM
49           processing without "going native".  In particular, if the argument
50           was an anchored path, then "make" will not lose track of that anchor.
51    
52    * Compiler backends now "know" their respective C calling conventions
53      instead of having to be told about it by ml-nlffigen.  This relieves
54      ml-nlffigen from one of its burdens.
55    
56    * The X86Backend has been split into X86CCallBackend and X86StdCallBackend.
57    
58    * Export C_DEBUG and C_Debug from $c/c.cm.
59    
60    * C type encoding in ml-nlffi-lib has been improved to model the conceptual
61      subtyping relationship between incomplete pointers and their complete
62      counterparts.  For this, ('t, 'c) ptr has been changed to 'o ptr --
63      with the convention of instantiating 'o with ('t, 'c) obj whenever
64      the pointer target type is complete.  In the incomplete case, 'o
65      will be instantiated with some "'c iobj" -- a type obtained by
66      using one of the functors PointerToIncompleteType or PointerToCompleteType.
67    
68      Operations that work on both incomplete and complete pointer types are
69      typed as taking an 'o ptr while operations that require the target to
70      be known are typed as taking some ('t, 'c) obj ptr.
71    
72      voidptr is now a bit "more concrete", namely "type voidptr = void ptr'"
73      where void is an eqtype without any values.  This makes it possible
74      to work on voidptr values using functions meant to operate on light
75      incomplete pointers.
76    
77    * As a result of the above, signature POINTER_TO_INCOMPLETE_TYPE has
78      been vastly simplified.
79    
80    ----------------------------------------------------------------------
81    Name: Matthias Blume
82    Date: 2002/02/19 10:48:00 EST
83    Tag: blume-20020219-pqfix
84    Description:
85    
86    Applied Chris Okasaki's bug fix for priority queues.
87    
88    ----------------------------------------------------------------------
89    Name: Matthias Blume
90    Date: 2002/02/15 17:05:00
91    Tag: Release_110_39
92    Description:
93    
94    Last-minute retagging is becoming a tradition... :-(
95    
96    This is the working release 110.39.
97    
98    ----------------------------------------------------------------------
99    Name: Matthias Blume
100    Date: 2002/02/15 16:00:00 EST
101    Tag: Release_110_39-orig
102    Description:
103    
104    Working release 110.39.  New bootfiles.
105    
106    (Update: There was a small bug in the installer so it wouldn't work
107    with all shells.  So I retagged. -Matthias)
108    
109    ----------------------------------------------------------------------
110    Name: Matthias Blume
111    Date: 2002/02/15 14:17:00 EST
112    Tag: blume-20020215-showbindings
113    Description:
114    
115    Added EnvRef.listBoundSymbols and CM.State.showBindings.  Especially
116    the latter can be useful for exploring what bindings are available at
117    the interactive prompt.  (The first function returns only the list
118    of symbols that are really bound, the second prints those but also the
119    ones that CM's autoloading mechanism knows about.)
120    
121    ----------------------------------------------------------------------
122    Name: Matthias Blume
123    Date: 2002/02/15 12:08:00 EST
124    Tag: blume-20020215-iptrs
125    Description:
126    
127    Two improvements to ml-nlffigen:
128    
129      1. Write files only if they do not exist or if their current contents
130         do not coincide with what's being written.  (That is, avoid messing
131         with the time stamps unless absolutely necessary.)
132    
133      2. Implement a "repository" mechanism for generated files related
134         to "incomplete pointer types".   See the README file for details.
135    
136    ----------------------------------------------------------------------
137    Name: Matthias Blume
138    Date: 2002/02/14 11:50:00 EST
139    Tag: blume-20020214-quote
140    Description:
141    
142    Added a type 't t_' to tag.sml (in ml-nlffi-lib.cm).  This is required
143    because of the new and improved tag generation scheme.  (Thanks to Allen
144    Leung for pointing it out.)
145    
146    ----------------------------------------------------------------------
147    Name: Lal George
148    Date: 2002/02/14 09:55:27 EST 2002
149    Tag: george-20020214-isabelle-bug
150    Description:
151    
152    Fixed the MLRISC bug sent by Markus Wenzel regarding the compilation
153    of Isabelle on the x86.
154    
155    From Allen:
156    -----------
157     I've found the problem:
158    
159         in ra-core.sml, I use the counter "blocked" to keep track of the
160         true number of elements in the freeze queue.  When the counter goes
161         to zero, I skip examining the queue.  But I've messed up the
162         bookkeeping in combine():
163    
164             else ();
165             case !ucol of
166               PSEUDO => (if !cntv > 0 then
167                     (if !cntu > 0 then blocked := !blocked - 1 else ();
168                                        ^^^^^^^^^^^^^^^^^^^^^^^
169                      moveu := mergeMoveList(!movev, !moveu)
170                     )
171                  else ();
172    
173         combine() is called to coalesce two nodes u and v.
174         I think I was thinking that if the move counts of u and v are both
175         greater than zero then after they are coalesced then one node is
176         removed from the freeze queue.  Apparently I was thinking that
177         both u and v are of low degree, but that's clearly not necessarily true.
178    
179    
180    02/12/2002:
181        Here's the patch.  HOL now compiles.
182    
183        I don't know how this impact on performance (compile
184        time or runtime).  This bug caused the RA (especially on the x86)
185        to go thru the potential spill phase when there are still nodes on the
186        freeze queue.
187    
188    
189    
190    
191    ----------------------------------------------------------------------
192    Name: Matthias Blume
193    Date: 2002/02/13 22:40:00 EST
194    Tag: blume-20020213-fptr-rtti
195    Description:
196    
197    Fixed a bug in ml-nlffigen that was introduced with one of the previous
198    updates.
199    
200    ----------------------------------------------------------------------
201    Name: Matthias Blume
202    Date: 2002/02/13 16:41:00 EST
203    Tag: blume-20020213-cmlpq
204    Description:
205    
206    Added new priority queue export symbols (which have just been added to
207    smlnj-lib.cm) to CML's version of smlnj-lib.cm.  (Otherwise CML would
208    not compile and the installer would choke.)
209    
210    ----------------------------------------------------------------------
211    Name: Matthias Blume
212    Date: 2002/02/13 16:15:00 EST
213    Tag: blume-20020213-various
214    Description:
215    
216    1. More tweaks to ml-nlffigen:
217    
218       - better internal datastructures (resulting in slight speedup)
219       - "-match" option requires exact match
220       - "localized" gensym counters (untagged structs/unions nested within
221         other structs/unions or within typedefs get a fresh counter; their
222         tag will be prefixed by a concatenation of their parents' tags)
223       - bug fixes (related to calculation of transitive closure of types
224         to be included in the output)
225    
226    2. Minor Basis updates:
227    
228       - added implementations for List.collate and Option.app
229    
230    ----------------------------------------------------------------------
231    Name: Matthias Blume
232    Date: 2002/02/11 15:55:00 EST
233    Tag: blume-20020211-gensym
234    Description:
235    
236    Added a "-gensym" option to command line of ml-nlffigen.  This can be
237    used to specify a "stem" -- a string that is inserted in all "gensym'd"
238    names (ML structure names that correspond to unnamed C structs, unions,
239    and enums), so that separate runs of ml-nlffigen do not clash.
240    
241    ----------------------------------------------------------------------
242    Name: Matthias Blume
243    Date: 2002/02/11 12:05:00 EST
244    Tag: blume-20020211-gensml
245    Description:
246    
247    A quick fix for a problem with GenSML (in the pgraph-util library):
248    Make generation of toplevel "local" optional.  (Strictly speaking,
249    signature definitions within "local" are not legal SML.)
250    
251    Other than that: updates to INSTALL and cm/TODO.
252    
253    ----------------------------------------------------------------------
254    Name: Matthias Blume
255    Date: 2002/02/08 15:00:00 EST
256    Tag: blume-20020208-uniquepid
257    Description:
258    
259    0. Version number has been bumped to 110.38.1.  NEW BOOTFILES!!!
260    
261    1. The installer (config/install.sh) has gotten smarter:
262    
263         - Configuration options are a bit easier to specify now
264           (in config/targets).
265         - Bug in recognizing .tar.bz2 files fixed.
266         - Installer automatically resolves dependencies between
267           configuration options (e.g., if you ask for eXene, you will
268           also get cml -- regardless whether you asked for it or not).
269         - Installer can run in "quieter mode" by setting the environment
270           variable INSTALL_QUIETLY to "true".  "Quieter" does not mean
271           "completely silent", though.
272         - Build HashCons library as part of smlnj-lib.
273    
274    2. A new scheme for assigning persistent identifiers to compilation
275       units (and, by extension, to types etc.) has been put into place.
276       This fixes a long-standing bug where types and even dynamic values
277       can get internally confused, thereby compromising type safety
278       (abstraction) and dynamic correctness.  See
279    
280         http://cm.bell-labs.com/cm/cs/who/blume/pid-confusion.tgz
281    
282       for an example of how things could go wrong until now.
283    
284       The downside of the new scheme is that pids are not quite as
285       persistent as they used to be: CM will generate a fresh pid
286       for every compilation unit that it thinks it sees for the first
287       time.  That means that if you compile starting from a clean, fresh
288       source tree at two different times, you end up with different
289       binaries.
290    
291       Cutoff recompilation, however, has not been compromised because
292       CM keeps pid information in special caches between runs.
293    
294    ----------------------------------------------------------------------
295    Name: Lal George
296    Date: 2002/02/07 15:34:13 EST 2002
297    Tag: <none>
298    Description:
299    
300    Compilers that generate assembly code may produce  global labels
301    whose value is resolved at link time. The various peephole optimization
302    modules did not take this in account.
303    
304    TODO. The Labels.addrOf function should really return an option
305    type so that clients are forced to deal with this issue, rather
306    than an exception being raised.
307    
308    ----------------------------------------------------------------------
309    Name: Lal George
310    Date: 2002/02/06 13:55:02 EST
311    Tag: george-20020206-ra-breakup
312    Description:
313    
314    1. A bug fix from Allen.
315    
316        A typo causes extra fstp %st(0)'s to be generated at compensation
317        edges, which might cause stack underflow traps at runtime.  This
318        occurs in fft where there are extraneous fstps right before the 'into'
319        trap instruction (in this case they are harmless since none of the
320        integers overflow.)
321    
322    2. Pulled out various utility modules that were embedded in the modules
323       of the register allocator. I need these modules for other purposes, but
324       they are not complete enough to put into a library (just yet).
325    ----------------------------------------------------------------------
326    Name: Matthias Blume
327    Date: 2002/01/31 16:05:00 EST
328    Tag: blume-20020131-sparc-ccalls
329    Description:
330    
331    1. C-calls on Sparc needlessly allocated a huge chunk (96 bytes)
332       of extra stack space by mistake.  Fixed.
333    
334    2. Bug in logic of handling of command-line options in ml-nlffigen fixed.
335    
336    ----------------------------------------------------------------------
337    Name: Allen Leung
338    Date: 2002/01/30
339    Tag: leunga-20020130-nowhere-bug-fix
340    Description:
341    
342       MLRISC bug fixes:
343       1. Fixed a bindings computation bug in the 'nowhere' program generator tool.
344       2. MachineInt.fromString was negating its value.
345    
346    ----------------------------------------------------------------------
347    Name: Matthias Blume
348    Date: 2002/01/29
349    Tag: blume-20020129-INSTALL
350    Description:
351    
352    - Added somewhat detailed installation instructions (file INSTALL).
353    - Fixed curl-detection bug in config/install.sh.
354    - It is now possible to select the URL getter using the URLGETTER
355      environment variable:
356    
357          not set / "unknown"      --> automatic detection (script tries wget,
358                                       curl, and lynx)
359          "wget" / "curl" / "lynx" --> use the specified program (script "knows"
360                                       how to properly invoke them)
361          other                    --> use $URLGETTER directly, it must take
362                                       precisely two command-line arguments
363                                       (source URL and destination file name)
364    
365    ----------------------------------------------------------------------
366    Name: Matthias Blume
367    Date: 2002/01/28
368    Tag: blume-20020128-sparc-ccalls
369    Description:
370    
371    - Fixed problem with calculation of "used" registers in sparc-c-calls.
372    - Make use of the allocParam argument in sparc-c-calls.
373    
374    ----------------------------------------------------------------------
375    Name: Matthias Blume
376    Date: 2002/01/28
377    Tag: blume-20020128-allocParam
378    Description:
379    
380    John Reppy:  Changes c-calls API to accept client-callback for
381    allocating extra stack space.
382    me: Corresponding changes to mlriscGen (using a dummy argument that
383        does not change the current behavior).
384    
385    ----------------------------------------------------------------------
386    Name: Matthias Blume
387    Date: 2002/01/28 12:00:00
388    Tag: Release_110_38
389    Description:
390    
391    This time for real!!!
392    
393    ----------------------------------------------------------------------
394    Name: Matthias Blume
395    Date: 2002/01/28 10:56:00 EST
396    Tag: blume-20020128-retraction
397    Description:
398    
399    0. Retracted earlier 110.38.  (The Release_110_38 tag has been replaced
400       with blume-Release_110_38-retracted.)
401    
402    1. Fixed a problem with incorrect rounding modes in real64.sml.
403       (Thanks to Andrew Mccreight <andrew.mccreight@yale.edu>.)
404    
405    2. A bug in ml-nlffigen related to the handling of unnamed structs, unions,
406       and enums fixed.  The naming of corresponding ML identifiers should
407       now be consistent again.
408    
409    ----------------------------------------------------------------------
410    Name: Allen Leung
411    Date: 2002/01/27
412    Tag: leunga-20020127-nowhere
413    Description:
414    
415       Added a target called nowhere in the configuration scripts.
416       Enabling this will build the MLRISC 'nowhere' tool (for translating
417       programs with where-clauses into legal SML code) during installation.
418    
419    ----------------------------------------------------------------------
420    Name: Matthias Blume
421    Date: 2002/01/25 21:27:00 EST
422    Tag: blume-Release_110_38-retracted
423    Description:
424    
425    Call it a (working) release!  Version is 110.38. Bootfiles are ready.
426    
427    README will be added later.
428    
429    !!! NOTE:  Re-tagged as blume-Release_110_38-retracted. Original tag
430    (Release_110_38) removed.  Reason: Last-minute bug fixes.
431    
432    ----------------------------------------------------------------------
433    Name: Matthias Blume
434    Date: 2002/01/25
435    Tag: blume-20020125-ffi
436    Description:
437    
438    A large number of tweaks and improvements to ml-nlffi-lib and
439    ml-nlffigen:
440    
441       - ML represenation types have been streamlined
442       - getter and setter functions work with concrete values, not abstract
443         ones where possible
444       - ml-nlffigen command line more flexible (see README file there)
445       - some bugs have been fixed (hopefully)
446    
447    ----------------------------------------------------------------------
448    Name: Lal George
449    Date: 2002/01/24
450    Tag: george-20020124-risc-ra-interface
451    Description:
452    
453       There is a dramatic simplification in the interface to the
454       register allocator for RISC architectures as a result of making
455       parallel copy instructions explicit.
456    
457    ----------------------------------------------------------------------
458    Name: Matthias Blume
459    Date: 2002/01/22
460    Tag: blume-20020122-x86-ccalls
461    Description:
462    
463    Bug fix for c-calls on x86 (having to do with how char- and
464    short-arguments are being handled).
465    
466    ----------------------------------------------------------------------
467    Name: Matthias Blume
468    Date: 2002/01/21
469    Tag: blume-20020121-ff
470    Description:
471    
472    Another day of fiddling with the FFI...
473    
474    1. Bug fix/workaround:  CKIT does not complain about negative array
475       dimensions, so ml-nlffigen has to guard itself against this possibility.
476       (Otherwise a negative dimension would send it into an infinite loop.)
477    
478    2. Some of the abstract types (light objects, light pointers, most "base"
479       types) in structure C are now eqtypes.
480    
481    3. Added constructors and test functions for NULL function pointers.
482    
483    ----------------------------------------------------------------------
484    Name: Matthias Blume
485    Date: 2002/01/18
486    Tag: blume-20020118-ready-for-new-release
487    Description:
488    
489    Made config/srcarchiveurl point to a new place.  (Will provide boot
490    files shortly.)
491    
492    Maybe we christen this to be 110.38?
493    
494    ----------------------------------------------------------------------
495    Name: Matthias Blume
496    Date: 2002/01/18
497    Tag: blume-20020118-more-ffifiddle
498    Description:
499    
500    Today's FFI fiddling:
501    
502      - Provided a structure CGetSet with "convenient" versions of C.Get.* and
503        C.Set.* that use concrete (MLRep.*) arguments and results instead
504        of abstract ones.
505    
506      - Provided word-style bit operations etc. for "int" representation
507        types in MLRep.S<Foo>Bitops where <Foo> ranges over Char, Int, Short,
508        and Long.
509    
510    ----------------------------------------------------------------------
511    Name: Matthias Blume
512    Date: 2002/01/18
513    Tag: blume-20020118-use-x86-fp
514    Description:
515    
516    Now that x86-fast-fp seems to be working, I turned it back on again
517    by default.  (Seems to work fine now, even with the FFI.)
518    
519    Other than that, I added some documentation about the FFI to
520    src/ml-nlffigen/README and updated the FFI test examples in
521    src/ml-nlffi-lib/Tests/*.
522    
523    ----------------------------------------------------------------------
524    Name: Allen Leung
525    Date: 2002/01/17
526    Tag: leunga-20020117-x86-fast-fp-call
527    Description:
528    
529       1. Fixed a problem with handling return fp values when x86's fast fp
530          mode is turned on.
531    
532       2. Minor pretty printing fix for cellset.  Print %st(0) as %st(0) instead
533          of %f32.
534    
535       3. Added a constructor INT32lit to the ast of MLRISC tools.
536    
537    ----------------------------------------------------------------------
538    Name: Matthias Blume
539    Date: 2002/01/16
540    Tag: blume-20020116-ffifiddle
541    Description:
542    
543    More fiddling with the FFI interface:
544    
545     - Make constness 'c instead of rw wherever possible.  This eliminates
546       the need for certain explicit coercions.  (However, due to ML's
547       value polymorphism, there will still be many cases where explicit
548       coercions are necessary.  Phantom types are not the whole answer
549       to modeling a subtyping relationship in ML.)
550    
551     - ro/rw coersions for pointers added.  (Avoids the detour through */&.)
552    
553     - "printf" test example added to src/ml-nlffi-lib/Tests.  (Demonstrates
554       clumsy workaround for varargs problem.)
555    
556    ----------------------------------------------------------------------
557    Name: Lal George
558    Date: 2002/01/15
559    Tag: <none>
560    Description:
561    
562    1. Since COPY instructions are no longer native to the architecture,
563       a generic functor can be used to implement the expandCopies function.
564    
565    2. Allowed EXPORT and IMPORT pseudo-op declarations to appear inside a
566       TEXT segment.
567    
568    ----------------------------------------------------------------------
569    Name: Matthias Blume
570    Date: 2002/01/15
571    Tag: blume-20020115-ffiupdates
572    Description:
573    
574    1. Fix for bug resulting in single-precision float values being returned
575       incorrectly from FFI calls.
576    
577    2. Small modifications to C FFI API:
578    
579        - memory-allocation routines return straight objects (no options)
580          and raise an exception in out-of-memory situations
581        - unsafe extensions to cast between function pointers and pointers
582          from/to ints
583        - added structure C_Debug as an alternative to structure C where
584          pointer-dereferencing (|*| and |*!) always check for null-pointers
585        - added open_lib' to DynLinkage;  open_lib' works like open_lib
586          but also takes a (possibly empty) list of existing library handles
587          that the current library depends on
588    
589    ----------------------------------------------------------------------
590    Name: Matthias Blume
591    Date: 2002/01/10
592    Tag: blume-20020110-newffigen
593    Description:
594    
595    1. Updates to portable graph code.
596    
597    2. Major update to ml-nlffigen and ml-nlffi-lib.  Things are much
598       more scalable now so that even huge interfaces such as the one
599       for GTK compile in finite time and space. :-)
600       See src/ml-nlffigen/README for details on what's new.
601    
602    ----------------------------------------------------------------------
603    Name: Lal George
604    Date: 2001/01/09 14:31:35 EST 2002
605    Tag: george-20011206-rm-native-copy
606    Description:
607    
608            Removed the native COPY and FCOPY instructions
609            from all the architectures and replaced it with the
610            explicit COPY instruction from the previous commit.
611    
612            It is now possible to simplify many of the optimizations
613            modules that manipulate copies. This has not been
614            done in this change.
615    
616    ----------------------------------------------------------------------
617    Name: Lal George
618    Date: 2001/12/06 16:50:13 EST 2001
619    Tag: george-20011206-mlrisc-instruction
620    Description:
621    
622    Changed the representation of instructions from being fully abstract
623    to being partially concrete. That is to say:
624    
625      from
626            type instruction
627    
628      to
629            type instr                              (* machine instruction *)
630    
631            datatype instruction =
632                LIVE of {regs: C.cellset, spilled: C.cellset}
633              | KILL of {regs: C.cellset, spilled: C.cellset}
634              | COPYXXX of {k: CB.cellkind, dst: CB.cell list, src: CB.cell list}
635              | ANNOTATION of {i: instruction, a: Annotations.annotation}
636              | INSTR of instr
637    
638    This makes the handling of certain special instructions that appear on
639    all architectures easier and uniform.
640    
641    LIVE and KILL say that a list of registers are live or killed at the
642    program point where they appear. No spill code is generated when an
643    element of the 'regs' field is spilled, but the register is moved to
644    the 'spilled' (which is present, more for debugging than anything else).
645    
646    LIVE replaces the (now deprecated) DEFFREG instruction on the alpha.
647    We used to generate:
648    
649            DEFFREG f1
650            f1 := f2 + f3
651            trapb
652    
653    but now generate:
654    
655            f1 := f2 + f3
656            trapb
657            LIVE {regs=[f1,f2,f3], spilled=[]}
658    
659    Furthermore, the DEFFREG (hack) required that all floating point instruction
660    use all registers mentioned in the instruction. Therefore f1 := f2 + f3,
661    defines f1 and uses [f1,f2,f3]! This hack is no longer required resulting
662    in a cleaner alpha implementation. (Hopefully, intel will not get rid of
663    this architecture).
664    
665    COPYXXX is intended to replace the parallel COPY and FCOPY  available on
666    all the architectures. This will result in further simplification of the
667    register allocator that must be aware of them for coalescing purposes, and
668    will also simplify certain aspects of the machine description that provides
669    callbacks related to parallel copies.
670    
671    ANNOTATION should be obvious, and now INSTR represents the honest to God
672    machine instruction set!
673    
674    The <arch>/instructions/<arch>Instr.sml files define certain utility
675    functions for making porting easier -- essentially converting upper case
676    to lower case. All machine instructions (of type instr) are in upper case,
677    and the lower case form generates an MLRISC instruction. For example on
678    the alpha we have:
679    
680      datatype instr =
681         LDA of {r:cell, b:cell, d:operand}
682       | ...
683    
684      val lda : {r:cell, b:cell, d:operand} -> instruction
685        ...
686    
687    where lda is just (INSTR o LDA), etc.
688    
689    ----------------------------------------------------------------------
690    Name: Matthias Blume
691    Date: 2001/11/22 21:40:00 EST
692    Tag: Release_110_37
693    Description:
694    
695    Release 110.37.  This time for real.
696    
697    ----------------------------------------------------------------------
698    Name: Matthias Blume
699    Date: 2001/11/21 16:35:00 EST
700    Tag: blume-20011121-foot-in-mouth
701    Description:
702    
703    Removed the "Release_110_37" tag because of a serious bug.
704    This will be re-tagged once the bug is fixed.
705    
706    ----------------------------------------------------------------------
707    Name: Matthias Blume
708    Date: 2001/11/21 16:14:00 EST
709    Tag: blume-20011121-forgottenfile
710    Description:
711    
712    Forgot to add a file.  (Just a .tex-file -- part of
713    the CM manual source.)
714    
715    ----------------------------------------------------------------------
716    Name: Matthias Blume
717    Date: 2001/11/21 16:10:00 EST
718    Tag: blume-20011121-invalid_110_37
719    Description:
720    
721    Note: I removed the original tag "Release_110_37" from this commit
722          because we found a serious bug in all non-x86 backends.
723          - Matthias
724    
725    1. Modifications to the SML/NJ code generator and to the runtime system
726       so that code object name strings are directly inserted into code
727       objects at code generation time.  The only business the runtime system
728       has with this is now to read the name strings on occasions.
729       (The encoding of the name string has also changed somewhat.)
730    
731    2. CM now implements a simple "set calculus" for specifying export lists.
732       In particular, it is now possible to refer to the export lists of
733       other libraries/groups/sources and form unions as well as differences.
734       See the latest CM manual for details.
735    
736    3. An separate notion of "proxy" libraries has again be eliminated from
737       CM's model.  (Proxy libraries are now simply a special case of using
738       the export list calculus.)
739    
740    4. Some of the existing libraries now take advantage of the new set
741       calculus.
742       (Notice that not all libraries have been converted because some
743       of the existing .cm-files are supposed to be backward compatible
744       with 110.0.x.)
745    
746    5. Some cleanup in stand-alone programs.  (Don't use "exnMessage" -- use
747       "General.exnMessage"!  The former relies on a certain hook to be
748       initialized, and that often does not happen in the stand-alone case.)
749    
750    ----------------------------------------------------------------------
751    Name: Lal George
752    Date: 2001/11/21  13:56:18 EST
753    Tag: george-2001121-pseudo-ops
754    Description:
755    
756      Implemented a complete redesign of MLRISC pseudo-ops. Now there
757      ought to never be any question of incompatabilities with
758      pseudo-op syntax expected by host assemblers.
759    
760      For now, only modules supporting GAS syntax are implemented
761      but more should follow, such as MASM, and vendor assembler
762      syntax, e.g. IBM as, Sun as, etc.
763    
764    ----------------------------------------------------------------------
765    Name: Matthias Blume
766    Date: 2001/11/14 11:52:00 EST
767    Tag: blume-20011114-srcname
768    Description:
769    
770    1. Routed the name of the current source file to mlriscgen where it
771       should be directly emitted into the code object.  (This last part
772       is yet to be done.)
773    
774    2. Some cleanup of the pgraph code to make it match the proposal that
775       I put out the other day.  (The proposal notwithstanding, things are
776       still in flux here.)
777    
778    ----------------------------------------------------------------------
779    Name: Lal George
780    Date: 2001/11/14 09:44:04 EST
781    Tag:
782    Description:
783    
784      Fix for a backpatching bug reported by Allen.
785    
786      Because the boundary between short and long span-dependent
787      instructions is +/- 128, there are an astounding number of
788      span-dependent instructions whose size is over estimated.
789    
790      Allen came up with the idea of letting the size of span
791      dependent instructions be non-monotonic, for a maxIter
792      number of times, after which the size must be monotonically
793      increasing.
794    
795      This table shows the number of span-dependent instructions
796      whose size was over-estimated as a function of maxIter, for the
797      file Parse/parse/ml.grm.sml:
798    
799         maxIter            # of instructions:
800            10                      687
801            20                      438
802            30                      198
803            40                        0
804    
805      In compiling the compiler, there is no significant difference in
806      compilation speed between maxIter=10 and maxIter=40. Actually,
807      my measurements showed that maxIter=40 was a tad faster than
808      maxIter=10! Also 96% of the  files in the compiler reach a fix
809      point within 13 iterations, so fixing maxIter at 40, while high,
810      is okay.
811    
812    ----------------------------------------------------------------------
813    Name: Matthias Blume
814    Date: 2001/10/31 15:25:00 EST
815    Tag: blume-20011031-pgraph
816    Description:
817    
818    CKIT:
819    * Changed the "Function" constructor of type Ast.ctype to carry optional
820      argument identifiers.
821    * Changed the return type of TypeUtil.getFunction accordingly.
822    * Type equality ignores the argument names.
823    * TypeUtil.composite tries to preserve argument names but gives up quickly
824      if there is a mismatch.
825    
826    installation script:
827    * attempts to use "curl" if available (unless "wget" is available as well)
828    
829    CM:
830    * has an experimental implementation of "portable graphs" which I will
831      soon propose as an implementation-independent library format
832    * there are also new libraries $/pgraph.cm and $/pgraph-util.cm
833    
834    NLFFI-LIB:
835    * some cleanup (all cosmetic)
836    
837    NLFFIGEN:
838    * temporarily disabled the mechanism that suppresses ML output for
839      C definitions whose identifiers start with an underscore character
840    * generate val bindings for enum constants
841    * user can request that only one style (light or heavy) is being used;
842      default is to use both (command-line arguments: -heavy and -light)
843    * fixed bug in handling of function types involving incomplete pointers
844    * generate ML entry points that take record arguments (i.e., using
845      named arguments) for C functions that have a prototype with named
846      arguments
847      (see changes to CKIT)
848    
849    ----------------------------------------------------------------------
850    Name: Allen Leung
851    Date: 2001/10/27 20:34:00 EDT
852    Tag: leunga-20011027-x86-fast-fp-call
853    Description:
854    
855       Fixed the bug described in blume-20010920-slowfp.
856    
857       The fix involves
858          1. generating FCOPYs in FSTP in ia32-svid
859          2. marking a CALL with the appropriate annotation
860    
861    ----------------------------------------------------------------------
862    Name: Matthias Blume
863    Date: 2001/10/16 11:32:00 EDT
864    Tag: blume-20011016-netbsd
865    Description:
866    
867    Underscore patch from Chris Richards (fixing problem with compiling
868    runtime system under recent NetBSD).
869    
870    ----------------------------------------------------------------------
871    Name: Allen Leung
872    Date: 2001/10/12 17:18:32 EDT 2001
873    Tag: leung-20011012-x86-printflowgraph
874    Description:
875    
876    X86RA now uses a valid (instead of dummy) PrintFlowgraph module.
877    
878    ----------------------------------------------------------------------
879    Name: Lal George
880    Date: 2001/10/11 23:51:34 EDT
881    Tag: george-20011011-too-many-instrs
882    Description:
883    
884    The representation of a program point never expected to see more
885    than 65536 instructions in a basic block!
886    
887    ----------------------------------------------------------------------
888    Name: Lal George
889    Date: 2001/10/09 09:41:37 EDT
890    Tag: george-20011008-mlrisc-labels
891    Description:
892    
893    Changed the machine description files to support printing of
894    local and global labels in assembly code, based on host assembler
895    conventions.
896    
897    ----------------------------------------------------------------------
898    Name: Matthias Blume
899    Date: 2001/09/25 15:25:00 EDT
900    Tag: blume-20010925-exninfo
901    Description:
902    
903    I provided a non-hook implementation of exnName (at the toplevel) and
904    made the "dummy" implementation of exnMessage (at the toplevel) more
905    useful: if nothing gets "hooked in", then at least you are going to
906    see the exception name and a message indicating why you don't see more.
907    
908    [For the time being, programs that need exnMessage and want to use
909    ml-build should either use General.exnMessage (strongly recommended) or
910    refer to structure General at some other point so that CM sees a
911    static dependency.]
912    
913    [Similar remarks go for "print" and "use":  If you want to use their
914    functionality in stand-alone programs generated by ml-build, then use
915    TextIO.output and Backend.Interact.useFile (from $smlnj/compiler.cm).]
916    
917    ----------------------------------------------------------------------
918    Name: Matthias Blume
919    Date: 2001/09/20 17:28:00 EDT
920    Tag: blume-20010920-slowfp
921    Description:
922    
923    Allen says that x86-fast-fp is not safe yet, so I turned it off again...
924    
925    ----------------------------------------------------------------------
926    Name: Matthias Blume
927    Date: 2001/09/20 17:20:00 EDT
928    Tag: blume-20010920-canonicalpaths
929    Description:
930    
931    0. Updated the BOOT file (something that I forgot to do earlier).
932    
933    1. Small internal change to CM so that it avoids "/../" in filenames
934       as much as possible (but only where it is safe).
935    
936    2. Changed config/_run-sml (resulting in a changed bin/.run-sml) so
937       that arguments that contain delimiters are passed through correctly.
938       This change also means that all "special" arguments of the form
939       @SMLxxx... must come first.
940    
941    3. Changed install script to put relative anchor names for tool commands
942       into pathconfig.
943    
944    ----------------------------------------------------------------------
945    Name: Matthias Blume
946    Date: 2001/09/18 15:35:00 EDT
947    Tag: blume-20010918-readme11036
948    Description:
949    
950    Added README files.
951    
952    ----------------------------------------------------------------------
953    Name: Matthias Blume
954    Date: 2001/09/18 11:45:00 EDT
955    Tag: Release_110_36 (retag)
956    Description:
957    
958    Fixed mistake in config/preloads. Retagged as 110.36.
959    
960    ----------------------------------------------------------------------
961    Name: Matthias Blume
962    Date: 2001/09/18 09:40:00 EDT
963    Tag: Release_110_36_orig (tag changed)
964    Description:
965    
966    New version (110.36).  New bootfiles.
967    
968    ----------------------------------------------------------------------
969    Name: Matthias Blume
970    Date: 2001/09/14 16:15:00 EDT
971    Tag: blume-20010914-x86fastfp
972    Description:
973    
974    John committed some changes that Allen made, in particular a (hopefully)
975    correctly working version of the x86-fp module.
976    
977    I changed the default setting of the Control.MLRISC.getFlag "x86-fast-fp"
978    flag to "true".  Everything seems to compile to a fixpoint ok, and
979    "mandelbrot" speeds up by about 15%.
980    
981    ----------------------------------------------------------------------
982    Name: Matthias Blume
983    Date: 2001/09/13 11:20:00 EDT
984    Tag: blume-20010913-minimal
985    Description:
986    
987    1. Stefan Monnier's patch to fix a miscompilation problem that
988       was brought to light by John Reppy's work on Moby.
989    
990    2. Implemented a minimal "structure Compiler" that contains just
991       "version" and "architecture".  The minimal version will be
992       available when the full version is not.  This is for backward-
993       compatibility with code that wants to test Compiler.version.
994    
995    ----------------------------------------------------------------------
996    Name: Matthias Blume
997    Date: 2001/08/28 14:03:00 EDT
998    Tag: blume-20010828-ml-lex
999    Description:
1000    
1001    Fix for bug 1581, received from Neophytos Michael.
1002    
1003    ----------------------------------------------------------------------
1004    Name: Matthias Blume
1005    Date: 2001/08/27 11:20:00 EDT
1006    Tag: blume-20010827-readme11035
1007    Description:
1008    
1009    Fleshed out the README file for 110.35.
1010    
1011    ----------------------------------------------------------------------
1012    Name: Matthias Blume
1013    Date: 2001/08/24 17:10:00 EDT
1014    Tag: Release_110_35
1015    Description:
1016    
1017    New version number (110.35).  New bootfiles.
1018    
1019    ----------------------------------------------------------------------
1020    Name: Lal George
1021    Date: 2001/08/24 13:47:18 EDT 2001
1022    Tag: george-20010824-MLRISC-graphs
1023    Description:
1024    
1025     removed clusters from MLRISC completely and replaced with graphs.
1026    
1027    ----------------------------------------------------------------------
1028  Name: Matthias Blume  Name: Matthias Blume
1029  Date: 2001/08/23 17:50:00 EDT  Date: 2001/08/23 17:50:00 EDT
1030  Tag: blume-20010823-toplevel  Tag: blume-20010823-toplevel
# Line 2907  Line 3919 
3919       elaborator). There were a lot of changes during my "linkpath" trials       elaborator). There were a lot of changes during my "linkpath" trials
3920       that could have been reverted to their original state but weren't.       that could have been reverted to their original state but weren't.
3921       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
3922       than what was strictly necessary...  (I _did_ resist the tempation       than what was strictly necessary...  (I _did_ resist the temptation
3923       of doing any "global reformatting" to avoid an untimely death at       of doing any "global reformatting" to avoid an untimely death at
3924       Dave's hands. :)       Dave's hands. :)
3925    

Legend:
Removed from v.905  
changed lines
  Added in v.1080

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