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

Legend:
Removed from v.828  
changed lines
  Added in v.844

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