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 873, Mon Jul 9 15:26:20 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/07/09 11:25:00 EDT
18    Tag: blume-20010709-varargs
19    Description:
20    
21    1. ckit-lib.cm now exports structure Error
22    2. ml-nlffigen reports occurences of "..." (i.e., varargs function types)
23       with a warning accompanied by a source location.  Moreover, it
24       merely skips the offending function or type and proceeds with the
25       rest of its work.u  As a result, one can safely feed C code containing
26       "..." to ml-nlffigen.
27    3. There are some internal improvements to CM, providing slightly
28       more general string substitutions in the tools subsystem.
29    
30    ----------------------------------------------------------------------
31    Name: Matthias Blume
32    Date: 2001/06/27 15:10:00 EDT
33    Tag: blume-20010627-concur
34    Description:
35    
36    Fixed a small bug in CM's handling of parallel compilation.
37    (You could observe the bug by Control-C-interrupting an ordinary
38    CMB.make or CM.stabilize and then attaching some compile servers.
39    The result was that all of a sudden the previously interrupted
40    compilation would continue on its own.  This was because of
41    an over-optimization: CM did not bother to clean out certain queues
42    when no servers were attached "anyway", resulting in the contents
43    of these queues to grab control when new servers did get attached.)
44    
45    There is also another minor update to the CM manual.
46    
47    ----------------------------------------------------------------------
48    Name: Matthias Blume
49    Date: 2001/06/26 16:15:00 EDT
50    Tag: blume-20010626-cmdoc
51    Description:
52    
53    Minor typo fixed in CM manual (syntax diagram for libraries).
54    
55    ----------------------------------------------------------------------
56    Name: Matthias Blume
57    Date: 2001/06/25 22:55:00 EDT
58    Tag: blume-20010625-x86pc
59    Description:
60    
61    Fixed a nasty bug in the X86 assembly code that caused signal
62    handlers to fail (crash) randomly.
63    
64    ----------------------------------------------------------------------
65    Name: Matthias Blume
66    Date: 2001/06/25 12:05:00 EDT
67    Tag: blume-20010625-nlffigen
68    Description:
69    
70    This update fixes a number of minor bugs in ml-nlffigen as reported by
71    Nick Carter <nbc@andrew.cmu.edu>.
72    
73      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
74      2. Default names for generated files are now derived from the name of
75         the C file *without its directory*.  In particular, this causes generated
76         files to be placed locally even if the C file is in some system directory.
77      3. Default names for generated signatures and structures are also derived
78         from the C file name without its directory.  This avoids silly things
79         like "structure GL/GL".
80         (Other silly names are still possible because ml-nlffigen does not do
81          a thorough check of whether generated names are legal ML identifiers.
82          When in doubt, use command line arguments to force particular names.)
83    
84    ----------------------------------------------------------------------
85    Name: Matthias Blume
86    Date: 2001/06/21 12:25:00 EDT
87    Tag: blume-20010621-eXene
88    Description:
89    
90    eXene now compiles and (sort of) works again.
91    
92    The library name (for version > 110.33) is $/eXene.cm.
93    
94    I also added an new example in src/eXene/examples/nbody.  See the
95    README file there for details.
96    
97    ----------------------------------------------------------------------
98    Name: Matthias Blume
99    Date: 2001/06/20 16:40:00 EDT
100    Tag: blume-20010620-cml
101    Description:
102    
103    CML now compiles and works again.
104    
105    Libraries (for version > 110.33):
106    
107      $cml/cml.cm            Main CML library.
108      $cml/basis.cm          CML's version of $/basis.cm.
109      $cml/cml-internal.cm   Internal helper library.
110      $cml/core-cml.cm       Internal helper library.
111      $cml-lib/trace-cml.cm  Tracing facility.
112      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
113    
114    The installer (config/install.sh) has been taught how to properly
115    install this stuff.
116    
117    ----------------------------------------------------------------------
118    Name: Matthias Blume
119    Date: 2001/06/19 17:55:00 EDT
120    Tag: blume-20010619-instantiate
121    Description:
122    
123    This un-breaks the fix for bug 1432.
124    (The bug was originally fixed in 110.9 but I broke it again some
125    time after that.)
126    
127    ----------------------------------------------------------------------
128    Name: Matthias Blume
129    Date: 2001/06/19 17:25:00 EDT
130    Tag: blume-20010619-signals
131    Description:
132    
133    This should (hopefully) fix the long-standing signal handling bug.
134    (The runtime system was constructing a continuation record with an
135    incorrect descriptor which would cause the GC to drop data on the floor...)
136    
137    ----------------------------------------------------------------------
138    Name: Matthias Blume
139    Date: 2001/06/15 15:05:00 EDT
140    Tag: blume-20010615-moresparc
141    Description:
142    
143    Here is a short late-hour update related to Sparc c-calls:
144    
145     -- made handling of double-word arguments a bit smarter
146    
147     -- instruction selection phase tries to collapse certain clumsily
148        constructed ML-Trees; typical example:
149    
150            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
151    
152        This currently has no further impact on SML/NJ since mlriscGen does
153        not seem to generate such patterns in the first place, and c-calls
154        (which did generate them in the beginning) has meanwhile been fixed
155        so as to avoid them as well.
156    
157    ----------------------------------------------------------------------
158    Name: Matthias Blume
159    Date: 2001/06/15 15:05:00 EDT
160    Tag: blume-20010615-sparc
161    Description:
162    
163    The purpose of this update is to provide an implementation of NLFFI
164    on Sparc machines.
165    
166    Here are the changes in detail:
167    
168       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
169       the Sparc implementation of the c-calls API.
170       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
171       for accessing the ML frame.  Thus, we have a real frame pointer and
172       can freely modify %sp without need for an omit-frame-ptr phase.
173       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
174       this case.
175       * ml-nlffigen has been taught to produce code for different architectures
176       and calling conventions.
177       * In a way similar to what was done in the x86 case, the Sparc
178       backend uses its own specific extension to mltree.  (For example,
179       it needs to be able to generate UNIMP instructions which are part
180       of the calling convention.)
181       * ml-nlffi-lib was reorganized to make it more modular (in particular,
182       to make it easier to plug in new machine- and os-dependent parts).
183    
184    There are some other fairly unrelated bug fixes and cleanups as well:
185    
186       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
187       that they properly share their libraries with existing SML/NJ libraries.
188       * I fixed a minor cosmetic bug in CM, supressing certain spurious
189       follow-up error messages.
190       * Updates to CM/CMB documentation.
191    
192    TODO items:
193    
194       * MLRISC should use a different register as its asmTemp on the Sparc.
195         (The current %o2 is a really bad choice because it is part of the
196         calling conventions, so things might interfere in unexpected ways.)
197    
198    ----------------------------------------------------------------------
199    Name: Matthias Blume
200    Date: 2001/06/07
201    Tag: blume-20010607-calls
202    Description:
203    
204    A number of internal changes related to C calls and calling conventions:
205    
206    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
207       number of bytes popped implicitly (by the callee).  In most cases
208       this field is 0 but on x86/win32 it is some non-zero value.  This
209       is information provided for the benefit of the "omit-frameptr" pass.
210    2. The CALL instruction on the x86 carries a similar "pops" field.
211       The instruction selection phase copies its value from the ML-Tree
212       CALL statement.
213    3. On all other architectures, the instruction selection phase checks
214       whether "pops=0" and complains if not.
215    4. The c-calls implementation for x86 now accepts two calling conventions:
216       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
217       up after the call and pops is set to 0.  For "stdcall", the caller
218       does nothing, leaving the cleanup to the callee; pops is set to
219       the number of bytes that were pushed onto the stack.
220    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
221       distinguish between "ccall" and "stdcall".
222    6. The UNIMP instruction has been added to the supported Sparc instruction
223       set. (This is needed for implementing the official C calling convention
224       on this architecture.)
225    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
226       work with the latest CM.
227    
228    ----------------------------------------------------------------------
229    Name: Matthias Blume
230    Date: 2001/06/05 15:10:00 EDT
231    Tag: blume-20010605-cm-index
232    Description:
233    
234    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
235    
236    1. CM can now generate "index files".  These are human-readable files
237       that list on a per-.cm-file basis each toplevel symbol defined or
238       imported.  The location of the index file for
239       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
240       To enable index-file generation, set CM.Control.generate_index to true
241       or export an environment-symbol: export CM_GENERATE_INDEX=true.
242    
243       The CM manual has been updated accordingly.
244    
245    2. I made some slight modifications to the c-calls API in MLRISC.
246    
247         a) There is now a callback to support saving/restoring of
248            dedicated but caller-save registers around the actual call
249            instruction.
250         b) One can optionally specify a comment-annotation for the
251            call instruction.
252    
253    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
254       (For example, the comment annotation shows the C prototype of
255        the function being called.)
256    
257    ----------------------------------------------------------------------
258    Name: Matthias Blume
259    Date: 2001/06/01 13:30:00 EDT
260    Tag: blume-20010601-nlffi-cleanup
261    Description:
262    
263    This is mostly a cleanup of MLFFI stuff:
264    
265       - some signature files have been put into a more exposed place
266       - the ugly 'f type parameter is gone (simplifies types tremendously!)
267       - ml-nlffigen changed accordingly
268       - tutorial updated
269    
270    Other changes:
271    
272       - author's affiliation in CM manual(s) updated
273       - some more recognized keywords added to Allen's sml.sty
274    
275    ----------------------------------------------------------------------
276    Name: Matthias Blume
277    Date: 2001/05/25 15:30:00 EDT
278    Tag: blume-20010525-iptr
279    Description:
280    
281      - put the official 110.33-README (as it appears on the ftp server) under
282        CVS
283      - fixed a small bug related to incomplete pointer types in
284        ml-nlffigen
285      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
286        (it does not need the 'f type parameter)
287    
288    ----------------------------------------------------------------------
289    Name: Matthias Blume
290    Date: 2001/05/23 14:30:00 EDT
291    Tag: Release_110_33
292    Description:
293    
294    New version number (110.33).  New bootfiles.
295    
296    ----------------------------------------------------------------------
297    Name: Matthias Blume
298    Date: 2001/05/22 18:06:00 EDT
299    Tag: blume-20010522-targets
300    Description:
301    
302    Made install.sh use file config/targets.customized if it exists, falling
303    back to config/targets if it doesn't.  This way one can have a customized
304    version of the targets file without touching the "real thing", thus
305    eliminating the constant fear of accidentally checking something bogus
306    back into the CVS repository...  (File config/targets.customized must
307    not be added to the repository!)
308    
309    ----------------------------------------------------------------------
310    Name: Matthias Blume
311    Date: 2001/05/22 16:30:00 EDT
312    Tag: blume-20010522-minitut
313    Description:
314    
315    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
316       struct returns.
317    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
318       incomplete, preliminary documentation for NLFFI.
319    
320    ----------------------------------------------------------------------
321    Name: Matthias Blume
322    Date: 2001/05/14 11:30:00 EDT
323    Tag: blume-20010514-script
324    Description:
325    
326    Some bugs in install script fixed.
327    
328    In addition to that I also made a slight change to the NLFFI API:
329    Functors generated by ml-nlffigen now take the dynamic library as a
330    straight functor argument, not as a suspended one.  (The original
331    functor code used to force the suspension right away anyway, so there
332    was nothing gained by this complication of the interface.)
333    
334    ----------------------------------------------------------------------
335    Name: Matthias Blume
336  Date: 2001/05/11 14:35:00 EDT  Date: 2001/05/11 14:35:00 EDT
337  Tag: blume-20010511-ml-nlffi  Tag: blume-20010511-ml-nlffi
338  Description:  Description:

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

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