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 834, Wed May 23 18:30:31 2001 UTC revision 927, Fri Sep 14 20:19:53 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/09/14 16:15:00 EDT
18    Tag: blume-20010914-x86fastfp
19    Description:
20    
21    John committed some changes that Allen made, in particular a (hopefully)
22    correctly working version of the x86-fp module.
23    
24    I changed the default setting of the Control.MLRISC.getFlag "x86-fast-fp"
25    flag to "true".  Everything seems to compile to a fixpoint ok, and
26    "mandelbrot" speeds up by about 15%.
27    
28    ----------------------------------------------------------------------
29    Name: Matthias Blume
30    Date: 2001/09/13 11:20:00 EDT
31    Tag: blume-20010913-minimal
32    Description:
33    
34    1. Stefan Monnier's patch to fix a miscompilation problem that
35       was brought to light by John Reppy's work on Moby.
36    
37    2. Implemented a minimal "structure Compiler" that contains just
38       "version" and "architecture".  The minimal version will be
39       available when the full version is not.  This is for backward-
40       compatibility with code that wants to test Compiler.version.
41    
42    ----------------------------------------------------------------------
43    Name: Matthias Blume
44    Date: 2001/08/28 14:03:00 EDT
45    Tag: blume-20010828-ml-lex
46    Description:
47    
48    Fix for bug 1581, received from Neophytos Michael.
49    
50    ----------------------------------------------------------------------
51    Name: Matthias Blume
52    Date: 2001/08/27 11:20:00 EDT
53    Tag: blume-20010827-readme11035
54    Description:
55    
56    Fleshed out the README file for 110.35.
57    
58    ----------------------------------------------------------------------
59    Name: Matthias Blume
60    Date: 2001/08/24 17:10:00 EDT
61    Tag: Release_110_35
62    Description:
63    
64    New version number (110.35).  New bootfiles.
65    
66    ----------------------------------------------------------------------
67    Name: Lal George
68    Date: 2001/08/24 13:47:18 EDT 2001
69    Tag: george-20010824-MLRISC-graphs
70    Description:
71    
72     removed clusters from MLRISC completely and replaced with graphs.
73    
74    ----------------------------------------------------------------------
75    Name: Matthias Blume
76    Date: 2001/08/23 17:50:00 EDT
77    Tag: blume-20010823-toplevel
78    Description:
79    
80    - some reorganization of the code that implements various kinds of
81      environments in the compiler (static, dynamic, symbolic, combined)
82    - re-implemented the EnvRef module so that evalStream works properly
83      (if the stream contains references to "use", "CM.make", etc.)
84    - cleaned up evalloop.sml and interact.sml (but they need more cleaning)
85    
86    ----------------------------------------------------------------------
87    Name: Matthias Blume
88    Date: 2001/08/20 15:50 EDT
89    Tag: blume20010820-slipup
90    Description:
91    
92    I forgot to commit a few files.  Here they are...
93    
94    ----------------------------------------------------------------------
95    Name: Matthias Blume
96    Date: 2001/08/20 15:35:00 EDT
97    Tag: blume-20010820-debugprof
98    Description:
99    
100    !!!! NEW BOOTFILES !!!!
101    
102    This is another round of reorganizing the compiler sources.  This
103    time the main goal was to factor out all the "instrumentation"
104    passes (for profiling and backtracing) into their own library.
105    The difficulty was to do it in such a way that it does not depend
106    on elaborate.cm but only on elabdata.cm.
107    
108    Therefore there have been further changes to both elaborate.cm and
109    elabdata.cm -- more "generic" things have been moved from the former
110    to the latter.  As a result, I was forced to split the assignment
111    of numbers indicating "primtyc"s into two portions: SML-generic and
112    SML/NJ-specific.  Since it would have been awkward to maintain,
113    I bit the bullet and actually _changed_ the mapping between these
114    numbers and primtycs.  The bottom line of this is that you need
115    a new set of bin- and bootfiles.
116    
117    I have built new bootfiles for all architectures, so doing a fresh
118    checkout and config/install.sh should be all you need.
119    
120    The newly created library's name is
121    
122        $smlnj/viscomp/debugprof.cm
123    
124    and its sources live under
125    
126        src/compiler/DebugProf
127    
128    ----------------------------------------------------------------------
129    Name: Matthias Blume
130    Date: 2001/08/15 17:15:00 EDT
131    Tag: blume-20010815-compreorg
132    Description:
133    
134    This is a first cut at reorganizing the CM libraries that make up the
135    core of the compiler.  The idea is to separate out pieces that could
136    be used independently by tools, e.g., the parser, the typechecker, etc.
137    
138    The current status is a step in this direction, but it is not quite
139    satisfactory yet.  Expect more changes in the future.
140    
141    Here is the current (new) organization...
142    
143        What used to be $smlnj/viscomp/core.cm is now divided into
144        six CM libraries:
145    
146             $smlnj/viscomp/basics.cm
147                           /parser.cm
148                           /elabdata.cm
149                           /elaborate.cm
150                           /execute.cm
151                           /core.cm
152    
153        The CM files for these libraries live under src/system/smlnj/viscomp.
154        All these libraries are proxy libraries that contain precisely
155        one CM library component.  Here are the locations of the components
156        (all within the src/compiler tree):
157    
158             Basics/basics.cm
159             Parse/parser.cm
160             ElabData/elabdata.cm
161             Elaborator/elaborate.cm
162             Execution/execute.cm
163             core.cm
164    
165         [This organization is the same that has been used already
166         for a while for the architecture-specific parts of the visible
167         compiler and for the old version of core.cm.]
168    
169         As you will notice, many source files have been moved from their
170         respective original locations to a new home in one of the above
171         subtrees.
172    
173         The division of labor between the new libraries is the following:
174    
175             basics.cm:
176                - Simple, basic definitions that pertain to many (or all) of
177                  the other libraries.
178             parser.cm:
179                - The SML parser, producing output of type Ast.dec.
180                - The type family for Ast is also defined and exported here.
181             elabdata.cm:
182                - The datatypes that describe input and output of the elaborator.
183                  This includes types, absyn, and static environments.
184             elaborator.cm:
185                - The SML/NJ type checker and elaborator.
186                  This maps an Ast.dec (with a given static environment) to
187                  an Absyn.dec (with a new static environment).
188                - This libraries implements certain modules that used to be
189                  structures as functors (to remove dependencies on FLINT).
190             execute.cm:
191                - Everything having to do with executing binary code objects.
192                - Dynamic environments.
193             core.cm:
194                - SML/NJ-specific instantiations of the elaborator and MLRISC.
195                - Top-level modules.
196                - FLINT (this should eventually become its own library)
197    
198    Notes:
199    
200    I am not 100% happy with the way I separated the elaborator (and its
201    data structures) from FLINT.  Two instances of the same problem:
202    
203        1. Data structures contain certain fields that carry FLINT-specific
204           information.  I hacked around this using exn and the property list
205           module from smlnj-lib.  But the fact that there are middle-end
206           specific fields around at all is a bit annoying.
207    
208        2. The elaborator calculates certain FLINT-related information.  I tried
209           to make this as abstract as I could using functorization, but, again,
210           the fact that the elaborator has to perform calculations on behalf
211           of the middle-end at all is not nice.
212    
213        3. Having to used exn and property lists is unfortunate because it
214           weakens type checking.  The other alternative (parameterizing
215           nearly *everything*) is not appealing, though.
216    
217    I removed the "rebinding =" warning hack because due to the new organization
218    it was awkward to maintain it.  As a result, the compiler now issues some of
219    these warnings when compiling init.cmi during bootstrap compilation. On
220    the plus side, you also get a warning when you do, for example:
221       val op = = Int32.+
222    which was not the case up to now.
223    
224    I placed "assign" and "deref" into the _Core structure so that the
225    code that deals with the "lazy" keyword can find them there.  This
226    removes the need for having access to the primitive environment
227    during elaboration.
228    
229    ----------------------------------------------------------------------
230    Name: Matthias Blume
231    Date: 2001/08/13
232    Tag: blume-20010813-closures
233    Description:
234    
235    This fix was sent to us by Zhong Shao.  It is supposed to improve the
236    performance of certain loops by avoiding needless closure allocation.
237    
238    ----------------------------------------------------------------------
239    Name: Lal George
240    Date: 2001/07/31 10:03:23 EDT 2001
241    Tag: george-20010731-x86-fmalloc
242    Description: Fixed bug in x86 calls
243    
244        There was a bug where call instructions would mysteriously
245        vanish. The call instruction had to be one that returned
246        a floating point value.
247    
248    ----------------------------------------------------------------------
249    Name: Lal George
250    Date: 2001/07/19 16:36:29 EDT 2001
251    Tag: george-20010719-simple-cells
252    Description:
253    
254    I have dramatically simplified the interface for CELLS in MLRISC.
255    
256    In summary, the cells interface is broken up into three parts:
257    
258      1. CellsBasis : CELLS_BASIS
259    
260            CellsBasis is a top level structure and common for all
261            architectures.  it contains the definitions of basic datatypes
262            and utility  functions over these types.
263    
264      2. functor Cells() : CELLS
265    
266            Cells generates an interface for CELLS that incorporates the
267            specific resources on the target architecture, such as the
268            presence of special register classes, their number and size,
269            and various useful substructures.
270    
271      3. <ARCH>CELLS
272    
273            e.g. SparcCells: SPARCCELLS
274    
275            <ARCH>CELLS usually contains additional bindings for special
276            registers  on the architecture, such as:
277    
278                    val r0 : cell           (* register zero *)
279                    val y : cell            (* Y register *)
280                    val psr : cell          (* processor status register *)
281                    ...
282    
283            The structure returned by applying the Cells functor is opened
284            in this interface.
285    
286    The main implication of all this is that the datatypes for cells is
287    split between CellsBasis and CELLS -- a fairly simple change for user
288    code.
289    
290    In the old scheme the CELLS interface had a definitional binding of
291    the form:
292    
293            signature CELLS = sig
294    
295               structure CellsBasis = CellsBasis
296    
297               ...
298    
299            end
300    
301    With all the sharing constraints that goes on in MLRISC, this old
302    design  quickly leads to errors such as:
303    
304            "structure definition spec inside of sharing ... "
305    
306    
307    and appears to require an unacceptable amount of sharing and where
308    constraint hackery.
309    
310    I think this error message (the interaction of definitional specs and
311    sharing) requires more explanation on our web page.
312    
313    ----------------------------------------------------------------------
314    Name: Matthias Blume
315    Date: 2001/07/19 15:00:00 EDT
316    Tag: blume-20010719-libreorg
317    Description:
318    
319    This update puts together a fairly extensive but straightforward change
320    to the way the libraries that implement the interactive system are
321    organized:
322    
323       The biggest change is the elimination of structure Compiler.  As a
324       replacement for this structure, there is now a CM library
325       (known as $smlnj/compiler.cm or $smlnj/compiler/current.cm)
326       that exports all the substructures of the original structure Compiler
327       directly.  So instead of saying Compiler.Foo.bar one now simply
328       says Foo.bar.  (The CM libraries actually export a collection of
329       structures that is richer than the collection of substructures of
330       structure Compiler.)
331    
332       To make the transition smooth, there is a separate library called
333       $smlnj/compiler/compiler.cm which puts together and exports the
334       original structure Compiler (or at least something very close to it).
335    
336       There are five members of the original structure Compiler
337       that are not exported directly but which instead became members
338       of a new structure Backend (described by signature BACKEND).  These are:
339       structure Profile (: PROFILE), structure Compile (: COMPILE), structure
340       Interact (: INTERACT), structure Machine (: MACHINE), and val
341       architecture (: string).
342    
343       Structure Compiler.Version has become structure CompilerVersion.
344    
345       Cross-compilers for alpha32, hppa, ppc, sparc, and x86 are provided
346       by $smlnj/compiler/<arch>.cm where <arch> is alpha32, hppa, ppc, sparc,
347       or x86, respectively.
348       Each of these exports the same frontend structures that
349       $smlnj/compiler.cm exports.  But they do not have a structure Backend
350       and instead export some structure <Arch>Backend where <Arch> is Alpha32,
351       Hppa, PPC, Sparc, or X86, respectively.
352    
353       Library $smlnj/compiler/all.cm exports the union of the exports of
354       $smlnj/compiler/<arch>.cm
355    
356       There are no structures <Arch>Compiler anymore, use
357       $smlnj/compiler/<arch>.cm instead.
358    
359       Library host-compiler-0.cm is gone.  Instead, the internal library
360       that instantiates CM is now called cm0.cm.  Selection of the host
361       compiler (backend) is no longer done here but. (Responsibility for it
362       now lies with $smlnj/compiler/current.cm.  This seems to be more
363       logical.)
364    
365       Many individual files have been moved or renamed.  Some files have
366       been split into multiple files, and some "dead" files have been deleted.
367    
368    Aside from these changes to library organization, there are also changes
369    to the way the code itself is organized:
370    
371       Structure Binfile has been re-implemented in such a way that it no
372       longer needs any knowledge of the compiler.  It exclusively deals
373       with the details of binfile layout.  It no longer invokes the
374       compiler (for the purpose of creating new prospective binfile
375       content), and it no longer has any knowledge of how to interpret
376       pickles.
377    
378       Structure Compile (: COMPILE) has been stripped down to the bare
379       essentials of compilation.  It no longer deals with linking/execution.
380       The interface has been cleaned up considerably.
381    
382       Utility routines for dealing with linking and execution have been
383       moved into their own substructures.
384    
385       (The ultimate goal of these changes is to provide a light-weight
386       binfile loader/linker (at least for, e.g., stable libraries) that
387       does not require CM or the compiler to be present.)
388    
389    CM documentation has been updated to reflect the changes to library
390    organization.
391    
392    ----------------------------------------------------------------------
393    Name: Matthias Blume
394    Date: 2001/07/10 17:30:00 EDT
395    Tag: Release_110_34
396    Description:
397    
398    Minor tweak to 110.34 (re-tagged):
399    
400      - README.html file added to CVS repository
401      - runtime compiles properly under FreeBSD 3.X and 4.X
402    
403    ----------------------------------------------------------------------
404    Name: Matthias Blume
405    Date: 2001/07/10 17:30:00 EDT
406    Tag: Release_110_34
407    Description:
408    
409    New version number (110.34). New bootfiles.
410    
411    ----------------------------------------------------------------------
412    Name: Matthias Blume
413    Date: 2001/07/09 16:00:00 EDT
414    Tag: blume-20010709-more-varargs
415    Description:
416    
417    I changed the handling of varargs in ml-nlffigen again:
418    The ellipsis ... will now simply be ignored (with an accompanying warning).
419    
420    The immediate effect is that you can actually call a varargs function
421    from ML -- but you can't actually supply any arguments beyond the ones
422    specified explicitly.  (For example, you can call printf with its format
423    string, but you cannot pass additional arguments.)
424    
425    This behavior is only marginally more useful than the one before, but
426    it has the advantage that a function or, more importantly, a function
427    type never gets dropped on the floor, thus avoiding follow-up problems with
428    other types that refer to the offending one.
429    
430    ----------------------------------------------------------------------
431    Name: Matthias Blume
432    Date: 2001/07/09 11:25:00 EDT
433    Tag: blume-20010709-varargs
434    Description:
435    
436    1. ckit-lib.cm now exports structure Error
437    2. ml-nlffigen reports occurences of "..." (i.e., varargs function types)
438       with a warning accompanied by a source location.  Moreover, it
439       merely skips the offending function or type and proceeds with the
440       rest of its work.u  As a result, one can safely feed C code containing
441       "..." to ml-nlffigen.
442    3. There are some internal improvements to CM, providing slightly
443       more general string substitutions in the tools subsystem.
444    
445    ----------------------------------------------------------------------
446    Name: Matthias Blume
447    Date: 2001/06/27 15:10:00 EDT
448    Tag: blume-20010627-concur
449    Description:
450    
451    Fixed a small bug in CM's handling of parallel compilation.
452    (You could observe the bug by Control-C-interrupting an ordinary
453    CMB.make or CM.stabilize and then attaching some compile servers.
454    The result was that all of a sudden the previously interrupted
455    compilation would continue on its own.  This was because of
456    an over-optimization: CM did not bother to clean out certain queues
457    when no servers were attached "anyway", resulting in the contents
458    of these queues to grab control when new servers did get attached.)
459    
460    There is also another minor update to the CM manual.
461    
462    ----------------------------------------------------------------------
463    Name: Matthias Blume
464    Date: 2001/06/26 16:15:00 EDT
465    Tag: blume-20010626-cmdoc
466    Description:
467    
468    Minor typo fixed in CM manual (syntax diagram for libraries).
469    
470    ----------------------------------------------------------------------
471    Name: Matthias Blume
472    Date: 2001/06/25 22:55:00 EDT
473    Tag: blume-20010625-x86pc
474    Description:
475    
476    Fixed a nasty bug in the X86 assembly code that caused signal
477    handlers to fail (crash) randomly.
478    
479    ----------------------------------------------------------------------
480    Name: Matthias Blume
481    Date: 2001/06/25 12:05:00 EDT
482    Tag: blume-20010625-nlffigen
483    Description:
484    
485    This update fixes a number of minor bugs in ml-nlffigen as reported by
486    Nick Carter <nbc@andrew.cmu.edu>.
487    
488      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
489      2. Default names for generated files are now derived from the name of
490         the C file *without its directory*.  In particular, this causes generated
491         files to be placed locally even if the C file is in some system directory.
492      3. Default names for generated signatures and structures are also derived
493         from the C file name without its directory.  This avoids silly things
494         like "structure GL/GL".
495         (Other silly names are still possible because ml-nlffigen does not do
496          a thorough check of whether generated names are legal ML identifiers.
497          When in doubt, use command line arguments to force particular names.)
498    
499    ----------------------------------------------------------------------
500    Name: Matthias Blume
501    Date: 2001/06/21 12:25:00 EDT
502    Tag: blume-20010621-eXene
503    Description:
504    
505    eXene now compiles and (sort of) works again.
506    
507    The library name (for version > 110.33) is $/eXene.cm.
508    
509    I also added an new example in src/eXene/examples/nbody.  See the
510    README file there for details.
511    
512    ----------------------------------------------------------------------
513    Name: Matthias Blume
514    Date: 2001/06/20 16:40:00 EDT
515    Tag: blume-20010620-cml
516    Description:
517    
518    CML now compiles and works again.
519    
520    Libraries (for version > 110.33):
521    
522      $cml/cml.cm            Main CML library.
523      $cml/basis.cm          CML's version of $/basis.cm.
524      $cml/cml-internal.cm   Internal helper library.
525      $cml/core-cml.cm       Internal helper library.
526      $cml-lib/trace-cml.cm  Tracing facility.
527      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
528    
529    The installer (config/install.sh) has been taught how to properly
530    install this stuff.
531    
532    ----------------------------------------------------------------------
533    Name: Matthias Blume
534    Date: 2001/06/19 17:55:00 EDT
535    Tag: blume-20010619-instantiate
536    Description:
537    
538    This un-breaks the fix for bug 1432.
539    (The bug was originally fixed in 110.9 but I broke it again some
540    time after that.)
541    
542    ----------------------------------------------------------------------
543    Name: Matthias Blume
544    Date: 2001/06/19 17:25:00 EDT
545    Tag: blume-20010619-signals
546    Description:
547    
548    This should (hopefully) fix the long-standing signal handling bug.
549    (The runtime system was constructing a continuation record with an
550    incorrect descriptor which would cause the GC to drop data on the floor...)
551    
552    ----------------------------------------------------------------------
553    Name: Matthias Blume
554    Date: 2001/06/15 15:05:00 EDT
555    Tag: blume-20010615-moresparc
556    Description:
557    
558    Here is a short late-hour update related to Sparc c-calls:
559    
560     -- made handling of double-word arguments a bit smarter
561    
562     -- instruction selection phase tries to collapse certain clumsily
563        constructed ML-Trees; typical example:
564    
565            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
566    
567        This currently has no further impact on SML/NJ since mlriscGen does
568        not seem to generate such patterns in the first place, and c-calls
569        (which did generate them in the beginning) has meanwhile been fixed
570        so as to avoid them as well.
571    
572    ----------------------------------------------------------------------
573    Name: Matthias Blume
574    Date: 2001/06/15 15:05:00 EDT
575    Tag: blume-20010615-sparc
576    Description:
577    
578    The purpose of this update is to provide an implementation of NLFFI
579    on Sparc machines.
580    
581    Here are the changes in detail:
582    
583       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
584       the Sparc implementation of the c-calls API.
585       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
586       for accessing the ML frame.  Thus, we have a real frame pointer and
587       can freely modify %sp without need for an omit-frame-ptr phase.
588       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
589       this case.
590       * ml-nlffigen has been taught to produce code for different architectures
591       and calling conventions.
592       * In a way similar to what was done in the x86 case, the Sparc
593       backend uses its own specific extension to mltree.  (For example,
594       it needs to be able to generate UNIMP instructions which are part
595       of the calling convention.)
596       * ml-nlffi-lib was reorganized to make it more modular (in particular,
597       to make it easier to plug in new machine- and os-dependent parts).
598    
599    There are some other fairly unrelated bug fixes and cleanups as well:
600    
601       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
602       that they properly share their libraries with existing SML/NJ libraries.
603       * I fixed a minor cosmetic bug in CM, supressing certain spurious
604       follow-up error messages.
605       * Updates to CM/CMB documentation.
606    
607    TODO items:
608    
609       * MLRISC should use a different register as its asmTemp on the Sparc.
610         (The current %o2 is a really bad choice because it is part of the
611         calling conventions, so things might interfere in unexpected ways.)
612    
613    ----------------------------------------------------------------------
614    Name: Matthias Blume
615    Date: 2001/06/07
616    Tag: blume-20010607-calls
617    Description:
618    
619    A number of internal changes related to C calls and calling conventions:
620    
621    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
622       number of bytes popped implicitly (by the callee).  In most cases
623       this field is 0 but on x86/win32 it is some non-zero value.  This
624       is information provided for the benefit of the "omit-frameptr" pass.
625    2. The CALL instruction on the x86 carries a similar "pops" field.
626       The instruction selection phase copies its value from the ML-Tree
627       CALL statement.
628    3. On all other architectures, the instruction selection phase checks
629       whether "pops=0" and complains if not.
630    4. The c-calls implementation for x86 now accepts two calling conventions:
631       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
632       up after the call and pops is set to 0.  For "stdcall", the caller
633       does nothing, leaving the cleanup to the callee; pops is set to
634       the number of bytes that were pushed onto the stack.
635    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
636       distinguish between "ccall" and "stdcall".
637    6. The UNIMP instruction has been added to the supported Sparc instruction
638       set. (This is needed for implementing the official C calling convention
639       on this architecture.)
640    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
641       work with the latest CM.
642    
643    ----------------------------------------------------------------------
644    Name: Matthias Blume
645    Date: 2001/06/05 15:10:00 EDT
646    Tag: blume-20010605-cm-index
647    Description:
648    
649    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
650    
651    1. CM can now generate "index files".  These are human-readable files
652       that list on a per-.cm-file basis each toplevel symbol defined or
653       imported.  The location of the index file for
654       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
655       To enable index-file generation, set CM.Control.generate_index to true
656       or export an environment-symbol: export CM_GENERATE_INDEX=true.
657    
658       The CM manual has been updated accordingly.
659    
660    2. I made some slight modifications to the c-calls API in MLRISC.
661    
662         a) There is now a callback to support saving/restoring of
663            dedicated but caller-save registers around the actual call
664            instruction.
665         b) One can optionally specify a comment-annotation for the
666            call instruction.
667    
668    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
669       (For example, the comment annotation shows the C prototype of
670        the function being called.)
671    
672    ----------------------------------------------------------------------
673    Name: Matthias Blume
674    Date: 2001/06/01 13:30:00 EDT
675    Tag: blume-20010601-nlffi-cleanup
676    Description:
677    
678    This is mostly a cleanup of MLFFI stuff:
679    
680       - some signature files have been put into a more exposed place
681       - the ugly 'f type parameter is gone (simplifies types tremendously!)
682       - ml-nlffigen changed accordingly
683       - tutorial updated
684    
685    Other changes:
686    
687       - author's affiliation in CM manual(s) updated
688       - some more recognized keywords added to Allen's sml.sty
689    
690    ----------------------------------------------------------------------
691    Name: Matthias Blume
692    Date: 2001/05/25 15:30:00 EDT
693    Tag: blume-20010525-iptr
694    Description:
695    
696      - put the official 110.33-README (as it appears on the ftp server) under
697        CVS
698      - fixed a small bug related to incomplete pointer types in
699        ml-nlffigen
700      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
701        (it does not need the 'f type parameter)
702    
703    ----------------------------------------------------------------------
704    Name: Matthias Blume
705  Date: 2001/05/23 14:30:00 EDT  Date: 2001/05/23 14:30:00 EDT
706  Tag: Release_110_33  Tag: Release_110_33
707  Description:  Description:
# Line 2278  Line 2966 
2966       elaborator). There were a lot of changes during my "linkpath" trials       elaborator). There were a lot of changes during my "linkpath" trials
2967       that could have been reverted to their original state but weren't.       that could have been reverted to their original state but weren't.
2968       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
2969       than what was strictly necessary...  (I _did_ resist the tempation       than what was strictly necessary...  (I _did_ resist the temptation
2970       of doing any "global reformatting" to avoid an untimely death at       of doing any "global reformatting" to avoid an untimely death at
2971       Dave's hands. :)       Dave's hands. :)
2972    

Legend:
Removed from v.834  
changed lines
  Added in v.927

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