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

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

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