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 836, Fri May 25 19:28:51 2001 UTC revision 847, Mon Jun 25 16:11:22 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/06/25 12:05:00 EDT
18    Tag: blume-20010625-nlffigen
19    Description:
20    
21    This update fixes a number of minor bugs in ml-nlffigen as reported by
22    Nick Carter <nbc@andrew.cmu.edu>.
23    
24      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
25      2. Default names for generated files are now derived from the name of
26         the C file *without its directory*.  In particular, this causes generated
27         files to be placed locally even if the C file is in some system directory.
28      3. Default names for generated signatures and structures are also derived
29         from the C file name without its directory.  This avoids silly things
30         like "structure GL/GL".
31         (Other silly names are still possible because ml-nlffigen does not do
32          a thorough check of whether generated names are legal ML identifiers.
33          When in doubt, use command line arguments to force particular names.)
34    
35    ----------------------------------------------------------------------
36    Name: Matthias Blume
37    Date: 2001/06/21 12:25:00 EDT
38    Tag: blume-20010621-eXene
39    Description:
40    
41    eXene now compiles and (sort of) works again.
42    
43    The library name (for version > 110.33) is $/eXene.cm.
44    
45    I also added an new example in src/eXene/examples/nbody.  See the
46    README file there for details.
47    
48    ----------------------------------------------------------------------
49    Name: Matthias Blume
50    Date: 2001/06/20 16:40:00 EDT
51    Tag: blume-20010620-cml
52    Description:
53    
54    CML now compiles and works again.
55    
56    Libraries (for version > 110.33):
57    
58      $cml/cml.cm            Main CML library.
59      $cml/basis.cm          CML's version of $/basis.cm.
60      $cml/cml-internal.cm   Internal helper library.
61      $cml/core-cml.cm       Internal helper library.
62      $cml-lib/trace-cml.cm  Tracing facility.
63      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
64    
65    The installer (config/install.sh) has been taught how to properly
66    install this stuff.
67    
68    ----------------------------------------------------------------------
69    Name: Matthias Blume
70    Date: 2001/06/19 17:55:00 EDT
71    Tag: blume-20010619-instantiate
72    Description:
73    
74    This un-breaks the fix for bug 1432.
75    (The bug was originally fixed in 110.9 but I broke it again some
76    time after that.)
77    
78    ----------------------------------------------------------------------
79    Name: Matthias Blume
80    Date: 2001/06/19 17:25:00 EDT
81    Tag: blume-20010619-signals
82    Description:
83    
84    This should (hopefully) fix the long-standing signal handling bug.
85    (The runtime system was constructing a continuation record with an
86    incorrect descriptor which would cause the GC to drop data on the floor...)
87    
88    ----------------------------------------------------------------------
89    Name: Matthias Blume
90    Date: 2001/06/15 15:05:00 EDT
91    Tag: blume-20010615-moresparc
92    Description:
93    
94    Here is a short late-hour update related to Sparc c-calls:
95    
96     -- made handling of double-word arguments a bit smarter
97    
98     -- instruction selection phase tries to collapse certain clumsily
99        constructed ML-Trees; typical example:
100    
101            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
102    
103        This currently has no further impact on SML/NJ since mlriscGen does
104        not seem to generate such patterns in the first place, and c-calls
105        (which did generate them in the beginning) has meanwhile been fixed
106        so as to avoid them as well.
107    
108    ----------------------------------------------------------------------
109    Name: Matthias Blume
110    Date: 2001/06/15 15:05:00 EDT
111    Tag: blume-20010615-sparc
112    Description:
113    
114    The purpose of this update is to provide an implementation of NLFFI
115    on Sparc machines.
116    
117    Here are the changes in detail:
118    
119       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
120       the Sparc implementation of the c-calls API.
121       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
122       for accessing the ML frame.  Thus, we have a real frame pointer and
123       can freely modify %sp without need for an omit-frame-ptr phase.
124       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
125       this case.
126       * ml-nlffigen has been taught to produce code for different architectures
127       and calling conventions.
128       * In a way similar to what was done in the x86 case, the Sparc
129       backend uses its own specific extension to mltree.  (For example,
130       it needs to be able to generate UNIMP instructions which are part
131       of the calling convention.)
132       * ml-nlffi-lib was reorganized to make it more modular (in particular,
133       to make it easier to plug in new machine- and os-dependent parts).
134    
135    There are some other fairly unrelated bug fixes and cleanups as well:
136    
137       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
138       that they properly share their libraries with existing SML/NJ libraries.
139       * I fixed a minor cosmetic bug in CM, supressing certain spurious
140       follow-up error messages.
141       * Updates to CM/CMB documentation.
142    
143    TODO items:
144    
145       * MLRISC should use a different register as its asmTemp on the Sparc.
146         (The current %o2 is a really bad choice because it is part of the
147         calling conventions, so things might interfere in unexpected ways.)
148    
149    ----------------------------------------------------------------------
150    Name: Matthias Blume
151    Date: 2001/06/07
152    Tag: blume-20010607-calls
153    Description:
154    
155    A number of internal changes related to C calls and calling conventions:
156    
157    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
158       number of bytes popped implicitly (by the callee).  In most cases
159       this field is 0 but on x86/win32 it is some non-zero value.  This
160       is information provided for the benefit of the "omit-frameptr" pass.
161    2. The CALL instruction on the x86 carries a similar "pops" field.
162       The instruction selection phase copies its value from the ML-Tree
163       CALL statement.
164    3. On all other architectures, the instruction selection phase checks
165       whether "pops=0" and complains if not.
166    4. The c-calls implementation for x86 now accepts two calling conventions:
167       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
168       up after the call and pops is set to 0.  For "stdcall", the caller
169       does nothing, leaving the cleanup to the callee; pops is set to
170       the number of bytes that were pushed onto the stack.
171    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
172       distinguish between "ccall" and "stdcall".
173    6. The UNIMP instruction has been added to the supported Sparc instruction
174       set. (This is needed for implementing the official C calling convention
175       on this architecture.)
176    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
177       work with the latest CM.
178    
179    ----------------------------------------------------------------------
180    Name: Matthias Blume
181    Date: 2001/06/05 15:10:00 EDT
182    Tag: blume-20010605-cm-index
183    Description:
184    
185    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
186    
187    1. CM can now generate "index files".  These are human-readable files
188       that list on a per-.cm-file basis each toplevel symbol defined or
189       imported.  The location of the index file for
190       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
191       To enable index-file generation, set CM.Control.generate_index to true
192       or export an environment-symbol: export CM_GENERATE_INDEX=true.
193    
194       The CM manual has been updated accordingly.
195    
196    2. I made some slight modifications to the c-calls API in MLRISC.
197    
198         a) There is now a callback to support saving/restoring of
199            dedicated but caller-save registers around the actual call
200            instruction.
201         b) One can optionally specify a comment-annotation for the
202            call instruction.
203    
204    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
205       (For example, the comment annotation shows the C prototype of
206        the function being called.)
207    
208    ----------------------------------------------------------------------
209    Name: Matthias Blume
210    Date: 2001/06/01 13:30:00 EDT
211    Tag: blume-20010601-nlffi-cleanup
212    Description:
213    
214    This is mostly a cleanup of MLFFI stuff:
215    
216       - some signature files have been put into a more exposed place
217       - the ugly 'f type parameter is gone (simplifies types tremendously!)
218       - ml-nlffigen changed accordingly
219       - tutorial updated
220    
221    Other changes:
222    
223       - author's affiliation in CM manual(s) updated
224       - some more recognized keywords added to Allen's sml.sty
225    
226    ----------------------------------------------------------------------
227    Name: Matthias Blume
228  Date: 2001/05/25 15:30:00 EDT  Date: 2001/05/25 15:30:00 EDT
229  Tag: blume-20010525-iptr  Tag: blume-20010525-iptr
230  Description:  Description:

Legend:
Removed from v.836  
changed lines
  Added in v.847

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