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

Legend:
Removed from v.938  
changed lines
  Added in v.1078

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