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 806, Thu Mar 22 21:22:21 2001 UTC revision 838, Tue Jun 5 19:10:21 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/06/05 15:10:00 EDT
18    Tag: blume-20010605-cm-index
19    Description:
20    
21    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
22    
23    1. CM can now generate "index files".  These are human-readable files
24       that list on a per-.cm-file basis each toplevel symbol defined or
25       imported.  The location of the index file for
26       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
27       To enable index-file generation, set CM.Control.generate_index to true
28       or export an environment-symbol: export CM_GENERATE_INDEX=true.
29    
30       The CM manual has been updated accordingly.
31    
32    2. I made some slight modifications to the c-calls API in MLRISC.
33    
34         a) There is now a callback to support saving/restoring of
35            dedicated but caller-save registers around the actual call
36            instruction.
37         b) One can optionally specify a comment-annotation for the
38            call instruction.
39    
40    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
41       (For example, the comment annotation shows the C prototype of
42        the function being called.)
43    
44    ----------------------------------------------------------------------
45    Name: Matthias Blume
46    Date: 2001/06/01 13:30:00 EDT
47    Tag: blume-20010601-nlffi-cleanup
48    Description:
49    
50    This is mostly a cleanup of MLFFI stuff:
51    
52       - some signature files have been put into a more exposed place
53       - the ugly 'f type parameter is gone (simplifies types tremendously!)
54       - ml-nlffigen changed accordingly
55       - tutorial updated
56    
57    Other changes:
58    
59       - author's affiliation in CM manual(s) updated
60       - some more recognized keywords added to Allen's sml.sty
61    
62    ----------------------------------------------------------------------
63    Name: Matthias Blume
64    Date: 2001/05/25 15:30:00 EDT
65    Tag: blume-20010525-iptr
66    Description:
67    
68      - put the official 110.33-README (as it appears on the ftp server) under
69        CVS
70      - fixed a small bug related to incomplete pointer types in
71        ml-nlffigen
72      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
73        (it does not need the 'f type parameter)
74    
75    ----------------------------------------------------------------------
76    Name: Matthias Blume
77    Date: 2001/05/23 14:30:00 EDT
78    Tag: Release_110_33
79    Description:
80    
81    New version number (110.33).  New bootfiles.
82    
83    ----------------------------------------------------------------------
84    Name: Matthias Blume
85    Date: 2001/05/22 18:06:00 EDT
86    Tag: blume-20010522-targets
87    Description:
88    
89    Made install.sh use file config/targets.customized if it exists, falling
90    back to config/targets if it doesn't.  This way one can have a customized
91    version of the targets file without touching the "real thing", thus
92    eliminating the constant fear of accidentally checking something bogus
93    back into the CVS repository...  (File config/targets.customized must
94    not be added to the repository!)
95    
96    ----------------------------------------------------------------------
97    Name: Matthias Blume
98    Date: 2001/05/22 16:30:00 EDT
99    Tag: blume-20010522-minitut
100    Description:
101    
102    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
103       struct returns.
104    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
105       incomplete, preliminary documentation for NLFFI.
106    
107    ----------------------------------------------------------------------
108    Name: Matthias Blume
109    Date: 2001/05/14 11:30:00 EDT
110    Tag: blume-20010514-script
111    Description:
112    
113    Some bugs in install script fixed.
114    
115    In addition to that I also made a slight change to the NLFFI API:
116    Functors generated by ml-nlffigen now take the dynamic library as a
117    straight functor argument, not as a suspended one.  (The original
118    functor code used to force the suspension right away anyway, so there
119    was nothing gained by this complication of the interface.)
120    
121    ----------------------------------------------------------------------
122    Name: Matthias Blume
123    Date: 2001/05/11 14:35:00 EDT
124    Tag: blume-20010511-ml-nlffi
125    Description:
126    
127    I finally took the plunge and added my new FFI code to the main
128    repository.  For x86-linux it is now ready for prime-time.
129    
130    There are two new subdirectories of "src":
131    
132      - ml-nlffi-lib:
133           The utility library for programs using the FFI interface.
134           Here is the implementation of $/c.cm and its associated low-level
135           partners $/c-int.cm and $/memory.cm.
136      - ml-nlffigen:
137           A stand-alone program for generating ML glue code from C source
138           code.
139    
140    Building ml-nlffigen requires $/ckit-lib.cm.
141    
142    The config/install.sh script has been updates to do the Right Thing
143    (hopefully).
144    
145    Notice that the source tree for the C-Kit will not be put under "src"
146    but directly under the installation root directory.  (This is the
147    structure that currently exists on the CVS server when you check out
148    module "sml".)  Fortunately, config/install.sh knows about this oddity.
149    
150    Bugs: No documentation yet.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume
154    Date: 2001/05/09 16:35:00 EDT
155    Tag: blume-20010509-cpscontract
156    Description:
157    
158    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
159    wrapper/unwrapper elimination did not decrement usage counts and some
160    dead variables got overlooked by the dead-up logic.)
161    
162    ----------------------------------------------------------------------
163    Name: Lal George
164    Date: 2001/05/08  17:26:09 EDT
165    Tag: george-20010508-omit-frameptr
166    Description:
167    
168    Changes to implement the omit-frame-pointer optimization to support
169    raw C calls. For now, there is only support on the Intel x86, but
170    other architectures will follow as more experience is gained with this.
171    
172    
173    ----------------------------------------------------------------------
174    Name: Matthias Blume
175    Date: 2001/05/07 14:40:00 EDT
176    Tag: blume-20010507-proxies
177    Description:
178    
179    I made into "proxy libraries" all libraries that qualify for such a
180    change.  (A qualifying library is a library that has another library or
181    groups as its sole member and repeats that member's export list
182    verbatim.  A proxy library avoids this repetition by omitting its export
183    list, effectively inheriting the list that its (only) member exports.
184    See the CM manual for more explanation.)
185    The main effect is that explicit export lists for these libraries
186    do not have to be kepts in sync, making maintenance a bit easier.
187    
188    I also added copyright notices to many .cm-files.
189    
190    Last but not least, I made a new set of bootfiles.
191    
192    ----------------------------------------------------------------------
193    Name: Matthias Blume
194    Date: 2001/05/04 17:00:00 EDT
195    Tag: blume-20010504-cm-lsplit
196    Description:
197    
198    0. John merged pending changes to $/smlnj-lib.cm
199    
200    1. Allen's previous change accidentally backed out of one of Lal's
201       earlier changes.  I undid this mistake (re-introducing Lal's change).
202    
203    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
204       within the compiler where applicable.  There is some code simplification
205       because of that.
206    
207    3. The "split" phase (in FLINT) is now part of the default list of phases.
208       Compiler.Control.LambdaSplitting.* can be used to globally control the
209       lambda-splitting (cross-module-inlining) engine.  In addition to that,
210       it can now also be controlled on a per-source basis: CM has been taught
211       a new tool parameter applicable to ML source files.
212    
213       - To turn lambda-splitting off completely:
214            local open Compiler.Control.LambdaSplitting in
215                val _ = set Off
216            end
217       - To make "no lambda-splitting" the global default (but allow per-source
218         overriding); this is the initial setting:
219            local open Compiler.Control.LambdaSplitting in
220                val _ = set (Default NONE)
221            end
222       - To make "lambda-splitting with aggressiveness a" the global default
223         (and allow per-source overriding):
224            local open Compiler.Control.LambdaSplitting in
225                val _ = set (Default (SOME a))
226            end
227    
228       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
229         write (in the respective .cm-file):
230            a.sml (lambdasplitting:off)
231       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
232            a.sml (lambdasplitting:on)
233       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
234         <a> is a decimal non-negative integer):
235            a.sml (lambdasplitting:<a>)
236       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
237            a.sml (lambdasplitting:infinity)
238       - To use the global default for a.sml:
239            a.sml (lambdasplitting:default)
240         or simply
241            a.sml
242    
243    ----------------------------------------------------------------------
244    Name: Allen Leung
245    Date: 2001/05/04 01:57:00 EDT
246    Tag: leunga-20010504-sync
247    Description:
248    
249      MLRISC features.
250    
251      1. Fix to CMPXCHG instructions.
252      2. Changed RA interface to allow annotations in callbacks.
253      3. Added a new method to the stream interface to allow annotations updates.
254    
255    ----------------------------------------------------------------------
256    Name: Matthias Blume
257    Date: 2001/05/01 11:45:00 EDT
258    Tag: blume-20010501-pcedittmp
259    Description:
260    
261    Changed install.sh to use the current working directory instead of
262    /usr/tmp for a temporary file (pcedittmp).  The previous choice
263    of /usr/tmp caused trouble with MacOS X because of file premission
264    problems.
265    
266    ----------------------------------------------------------------------
267    Name: Matthias Blume
268    Date: 2001/04/20 11:10:00 EDT
269    Tag: blume-20010420-inMLflag
270    Description:
271    
272     - added vp_limitPtrMask to vproc-state.h
273       (for use by the raw-C-calls mechanism to implement proper interrupt
274        handling)
275     - made the ML compiler aware of various data-structure offsets so it
276       can generate code for accessing the vp_inML flag and vp_limitPtrMask
277     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
278       raw C-calls
279    
280    ----------------------------------------------------------------------
281    Name: Lal George
282    Date: 2001/04/20 09:15:28 EDT
283    Tag: george-20010420-macosX
284    Description:
285    
286     - Changes to port to Mac OS X; Darwin.
287    
288     - In the process I found that sqrt was broken on the PPC, because the
289       fsqrt instruction is not implemented.
290    
291    ----------------------------------------------------------------------
292    Name: Matthias Blume
293    Date: 2001/04/18 12:45:00 EDT
294    Tag: blume-20010418-ccalls
295    Description:
296    
297     - fixed two off-by-4 errors in the x86-specific c-calls implementation
298       (this bug prevented structure arguments containing pointers from being
299        passed correctly)
300     - changed the raw-C-call code in mlriscGen.sml in such a way that
301       structure arguments are represented as a pointer to the beginning
302       of the structure (instead of having a series of synthesized arguments,
303       one for each structure member)
304    
305     - made makeml script's verbosity level configurable via environment
306       variable (MAKEML_VERBOSITY)
307    
308     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
309       in rawmem-x86.sml; we are now using the real thing
310    
311    ----------------------------------------------------------------------
312    Name: Matthias Blume
313  Date: 2001/03/22 16:25:00 EST  Date: 2001/03/22 16:25:00 EST
314  Tag: blume-20010322-bootfiles  Tag: blume-20010322-bootfiles
315  Description:  Description:

Legend:
Removed from v.806  
changed lines
  Added in v.838

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