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 755, Thu Dec 14 07:57:55 2000 UTC revision 834, Wed May 23 18:30:31 2001 UTC
# Line 11  Line 11 
11  Date:  Date:
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    
15    ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2001/05/23 14:30:00 EDT
18    Tag: Release_110_33
19    Description:
20    
21    New version number (110.33).  New bootfiles.
22    
23    ----------------------------------------------------------------------
24    Name: Matthias Blume
25    Date: 2001/05/22 18:06:00 EDT
26    Tag: blume-20010522-targets
27    Description:
28    
29    Made install.sh use file config/targets.customized if it exists, falling
30    back to config/targets if it doesn't.  This way one can have a customized
31    version of the targets file without touching the "real thing", thus
32    eliminating the constant fear of accidentally checking something bogus
33    back into the CVS repository...  (File config/targets.customized must
34    not be added to the repository!)
35    
36    ----------------------------------------------------------------------
37    Name: Matthias Blume
38    Date: 2001/05/22 16:30:00 EDT
39    Tag: blume-20010522-minitut
40    Description:
41    
42    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
43       struct returns.
44    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
45       incomplete, preliminary documentation for NLFFI.
46    
47    ----------------------------------------------------------------------
48    Name: Matthias Blume
49    Date: 2001/05/14 11:30:00 EDT
50    Tag: blume-20010514-script
51    Description:
52    
53    Some bugs in install script fixed.
54    
55    In addition to that I also made a slight change to the NLFFI API:
56    Functors generated by ml-nlffigen now take the dynamic library as a
57    straight functor argument, not as a suspended one.  (The original
58    functor code used to force the suspension right away anyway, so there
59    was nothing gained by this complication of the interface.)
60    
61    ----------------------------------------------------------------------
62    Name: Matthias Blume
63    Date: 2001/05/11 14:35:00 EDT
64    Tag: blume-20010511-ml-nlffi
65    Description:
66    
67    I finally took the plunge and added my new FFI code to the main
68    repository.  For x86-linux it is now ready for prime-time.
69    
70    There are two new subdirectories of "src":
71    
72      - ml-nlffi-lib:
73           The utility library for programs using the FFI interface.
74           Here is the implementation of $/c.cm and its associated low-level
75           partners $/c-int.cm and $/memory.cm.
76      - ml-nlffigen:
77           A stand-alone program for generating ML glue code from C source
78           code.
79    
80    Building ml-nlffigen requires $/ckit-lib.cm.
81    
82    The config/install.sh script has been updates to do the Right Thing
83    (hopefully).
84    
85    Notice that the source tree for the C-Kit will not be put under "src"
86    but directly under the installation root directory.  (This is the
87    structure that currently exists on the CVS server when you check out
88    module "sml".)  Fortunately, config/install.sh knows about this oddity.
89    
90    Bugs: No documentation yet.
91    
92    ----------------------------------------------------------------------
93    Name: Matthias Blume
94    Date: 2001/05/09 16:35:00 EDT
95    Tag: blume-20010509-cpscontract
96    Description:
97    
98    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
99    wrapper/unwrapper elimination did not decrement usage counts and some
100    dead variables got overlooked by the dead-up logic.)
101    
102    ----------------------------------------------------------------------
103    Name: Lal George
104    Date: 2001/05/08  17:26:09 EDT
105    Tag: george-20010508-omit-frameptr
106    Description:
107    
108    Changes to implement the omit-frame-pointer optimization to support
109    raw C calls. For now, there is only support on the Intel x86, but
110    other architectures will follow as more experience is gained with this.
111    
112    
113    ----------------------------------------------------------------------
114    Name: Matthias Blume
115    Date: 2001/05/07 14:40:00 EDT
116    Tag: blume-20010507-proxies
117    Description:
118    
119    I made into "proxy libraries" all libraries that qualify for such a
120    change.  (A qualifying library is a library that has another library or
121    groups as its sole member and repeats that member's export list
122    verbatim.  A proxy library avoids this repetition by omitting its export
123    list, effectively inheriting the list that its (only) member exports.
124    See the CM manual for more explanation.)
125    The main effect is that explicit export lists for these libraries
126    do not have to be kepts in sync, making maintenance a bit easier.
127    
128    I also added copyright notices to many .cm-files.
129    
130    Last but not least, I made a new set of bootfiles.
131    
132    ----------------------------------------------------------------------
133    Name: Matthias Blume
134    Date: 2001/05/04 17:00:00 EDT
135    Tag: blume-20010504-cm-lsplit
136    Description:
137    
138    0. John merged pending changes to $/smlnj-lib.cm
139    
140    1. Allen's previous change accidentally backed out of one of Lal's
141       earlier changes.  I undid this mistake (re-introducing Lal's change).
142    
143    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
144       within the compiler where applicable.  There is some code simplification
145       because of that.
146    
147    3. The "split" phase (in FLINT) is now part of the default list of phases.
148       Compiler.Control.LambdaSplitting.* can be used to globally control the
149       lambda-splitting (cross-module-inlining) engine.  In addition to that,
150       it can now also be controlled on a per-source basis: CM has been taught
151       a new tool parameter applicable to ML source files.
152    
153       - To turn lambda-splitting off completely:
154            local open Compiler.Control.LambdaSplitting in
155                val _ = set Off
156            end
157       - To make "no lambda-splitting" the global default (but allow per-source
158         overriding); this is the initial setting:
159            local open Compiler.Control.LambdaSplitting in
160                val _ = set (Default NONE)
161            end
162       - To make "lambda-splitting with aggressiveness a" the global default
163         (and allow per-source overriding):
164            local open Compiler.Control.LambdaSplitting in
165                val _ = set (Default (SOME a))
166            end
167    
168       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
169         write (in the respective .cm-file):
170            a.sml (lambdasplitting:off)
171       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
172            a.sml (lambdasplitting:on)
173       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
174         <a> is a decimal non-negative integer):
175            a.sml (lambdasplitting:<a>)
176       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
177            a.sml (lambdasplitting:infinity)
178       - To use the global default for a.sml:
179            a.sml (lambdasplitting:default)
180         or simply
181            a.sml
182    
183    ----------------------------------------------------------------------
184    Name: Allen Leung
185    Date: 2001/05/04 01:57:00 EDT
186    Tag: leunga-20010504-sync
187    Description:
188    
189      MLRISC features.
190    
191      1. Fix to CMPXCHG instructions.
192      2. Changed RA interface to allow annotations in callbacks.
193      3. Added a new method to the stream interface to allow annotations updates.
194    
195    ----------------------------------------------------------------------
196    Name: Matthias Blume
197    Date: 2001/05/01 11:45:00 EDT
198    Tag: blume-20010501-pcedittmp
199    Description:
200    
201    Changed install.sh to use the current working directory instead of
202    /usr/tmp for a temporary file (pcedittmp).  The previous choice
203    of /usr/tmp caused trouble with MacOS X because of file premission
204    problems.
205    
206    ----------------------------------------------------------------------
207    Name: Matthias Blume
208    Date: 2001/04/20 11:10:00 EDT
209    Tag: blume-20010420-inMLflag
210    Description:
211    
212     - added vp_limitPtrMask to vproc-state.h
213       (for use by the raw-C-calls mechanism to implement proper interrupt
214        handling)
215     - made the ML compiler aware of various data-structure offsets so it
216       can generate code for accessing the vp_inML flag and vp_limitPtrMask
217     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
218       raw C-calls
219    
220    ----------------------------------------------------------------------
221    Name: Lal George
222    Date: 2001/04/20 09:15:28 EDT
223    Tag: george-20010420-macosX
224    Description:
225    
226     - Changes to port to Mac OS X; Darwin.
227    
228     - In the process I found that sqrt was broken on the PPC, because the
229       fsqrt instruction is not implemented.
230    
231    ----------------------------------------------------------------------
232    Name: Matthias Blume
233    Date: 2001/04/18 12:45:00 EDT
234    Tag: blume-20010418-ccalls
235    Description:
236    
237     - fixed two off-by-4 errors in the x86-specific c-calls implementation
238       (this bug prevented structure arguments containing pointers from being
239        passed correctly)
240     - changed the raw-C-call code in mlriscGen.sml in such a way that
241       structure arguments are represented as a pointer to the beginning
242       of the structure (instead of having a series of synthesized arguments,
243       one for each structure member)
244    
245     - made makeml script's verbosity level configurable via environment
246       variable (MAKEML_VERBOSITY)
247    
248     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
249       in rawmem-x86.sml; we are now using the real thing
250    
251    ----------------------------------------------------------------------
252    Name: Matthias Blume
253    Date: 2001/03/22 16:25:00 EST
254    Tag: blume-20010322-bootfiles
255    Description:
256    
257    Created a new set of bootfiles (for your automatic installation convenience).
258    
259    ----------------------------------------------------------------------
260    Name: Matthias Blume
261    Date: 2001/03/22 15:10:00 EST
262    Tag: blume-20010322-rawmem-parcm
263    Description:
264    
265    1. All "raw memory access" primitives for the new FFI are implemented now
266       (at least on the x86).
267    2. Some further cleanup of CM's parallel make mechanism.
268    
269    ----------------------------------------------------------------------
270    Name: Matthias Blume
271    Date: 2001/03/19 17:53:00 EST
272    Tag: blume-20010319-parallel
273    Description:
274    
275    Parallel make (using compile servers) now works again.
276    
277    To this end, CM.stabilize and CMB.make have been modified to work in
278    two passes when compile servers are attached:
279       1. Compile everything, do not perform stabilization; this pass
280          uses compile servers
281       2. Stabilize everything; this pass does not use compile servers
282    If there are no compile servers, the two passes are combined into one
283    (as before).  Splitting the passes increases the inherent parallelism
284    in the dependency graph because the entire graph including all
285    libraries is available at the same time.  This, in turn, improves
286    server utilization.  The downside is that the master process will
287    have to do some extra work after compilation is done (because for
288    technical reasons it must re-read all the binfiles during stabilization).
289    
290    ----------------------------------------------------------------------
291    Name: Matthias Blume
292    Date: 2001/03/16 12:22:00 EST
293    Tag: blume-20010316-bootfiles
294    Description:
295    
296    Created a new set of bootfiles (for your automatic installation convenience).
297    
298    ----------------------------------------------------------------------
299    Name: Matthias Blume
300    Date: 2001/03/16 11:00:00 EST
301    Tag: blume-20010316-MLTREE-fixup
302    Description:
303    
304    This is a minor fixup for an (untagged) earlier commit by Allen.
305    (A file was missing).
306    
307    ----------------------------------------------------------------------
308    Name: Allen Leung
309    Date: Mon Mar  5 18:54:57 EST 2001
310    Tag: leunga-20010305-cut-support
311    
312    1. New support for alternative control-flow in MLTREE.
313       Currently we support
314    
315          FLOW_TO(CALL ...., [k1,...,kn])
316    
317       This is needed for 'cuts to' in C-- and try/handle-like constructs
318       in Moby
319    
320       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
321    
322    2. Register Allocator
323    
324       Changes in interface [from Fermin, John]
325    
326    3. Alpha 8-bit SLL support [Fermin]
327    
328    4. All architectures
329    
330       A new module (ClusterExpandCopies) for expanding parallel copies.
331    
332    ----------------------------------------------------------------------
333    Name: Allen Leung
334    Date: 2001/02/27 23:07:00 EST
335    Tag: leunga-20010227-minor-stuff
336    
337    1. Alpha bug fix for CMOVNE
338    2. Handle mltree COND(..,FCMP ...,...)
339    3. Bug fix in simplifier
340    
341    ----------------------------------------------------------------------
342    Name: Matthias Blume
343    Date: 2001/01/30 17:50:00 EST
344    Tag: blume-20010130-sync
345    Description:
346    
347    This is just a minor update to sync my devel branch with the main brach.
348    The only visible change is the addition of some README files.
349    
350    ----------------------------------------------------------------------
351    Name: Matthias Blume
352    Date: 2001/01/12 23:30:00 JST
353    Tag: blume-20010112-bootfiles
354    Description:
355    
356    Made a new set of bootfiles that goes with the current state of the
357    repository.
358    
359    ----------------------------------------------------------------------
360    Name: Matthias Blume
361    Date: 2001/01/12 21:20:00 JST
362    Tag: blume-20010112-sync
363    Description:
364    
365    I am just flushing out some minor changes that had accumulated in
366    my private branch in order to sync with the main tree.  (This is
367    mainly because I had CVS trouble when trying to merge _into_ my
368    private branch.)
369    
370    Most people should be completely unaffected by this.
371    
372    ----------------------------------------------------------------------
373    Name: Allen Leung
374    Date: Thu Jan 11 21:03:00 EST 2001
375    Tag: leunga-20010111-labexp=mltree
376    Description:
377    
378    1.  Removed the type LabelExp and replace it by MLTree.
379    2.  Rewritten mltree-simplify with the pattern matcher tool.
380    3.  There were some bugs in alpha code generator which would break
381        64-bit code generation.
382    4.  Redo the tools to generate code with the
383    5.  The CM files in MLRISC (and in src/system/smlnj/MLRISC)
384        are now generated by perl scripts.
385    
386    ----------------------------------------------------------------------
387    Name: Matthias Blume
388    Date: 2001/01/10 21:55:00 JST
389    Tag: blume-20010110-rcc
390    Description:
391    
392    The RCC stuff now seems to work (but only on the x86).
393    This required hacking of the c-calls interface (and -implementation) in
394    MLRISC.
395    
396    Normal compiler users should be unaffected.
397    
398    ----------------------------------------------------------------------
399    Name: Matthias Blume
400    Date: 2001/01/09 01:20:00 JST
401    Tag: blume-20010109-rcc
402    Description:
403    
404    This is a fairly big patch, flushing out a large number of pending
405    changes that I made to my development copy over the last couple of days.
406    
407    Of practical relevance at this moment is a workaround for a pickling
408    bug that Allen ran into the other day.  The cause of the bug itself is
409    still unknown and it might be hard to fix it properly, but the
410    workaround has some merits of its own (namely somewhat reducing pickling
411    overhead for certain libraries).  Therefore, I think this solution should
412    be satisfactory at this time.
413    
414    The rest of the changes (i.e., the vast majority) has to do with my
415    ongoing efforts of providing direct support for C function calls from
416    ML.  At the moment there is a new primop "RAW_CCALL", typing magic
417    in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new
418    case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to
419    translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to
420    handle RCC.
421    
422    The last part (the changes to mlriscGen.sml) are still known to be
423    wrong on the x86 and not implemented on all other architectures.  But
424    the infrastructure is in place. I had to change a few functor
425    signatures in the backend to be able to route the CCalls interface
426    from MLRISC there, and I had to specialize the mltree type (on the
427    x86) to include the necessary extensions. (The extensions themselves
428    were already there and redy to go in MLRISC/x86).
429    
430    Everything should be very happy as soon as someone helps me with
431    mlriscGen.sml...
432    
433    In any case, nothing of this should matter to anyone as long as the
434    new primop is not being used (which is going to be the case unless you
435    find it where I hid it :). The rest of the compiler is completely
436    unaffected.
437    
438    ----------------------------------------------------------------------
439    Name: Matthias Blume
440    Date: 2001/01/05 00:30:00 JST
441    Tag: blume-20010105-primops
442    Description:
443    
444    Added some experimental support for work that I am doing right now.
445    These changes mostly concern added primops, but there is also a new
446    experimental C library in the runtime system (but currently not enabled
447    anywhere except on Linux/X86).
448    
449    In the course of adding primops (and playing with them), I discovered that
450    Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly
451    broken.  (Zhong was very right he labeled this stuff as "major gross hack".)
452    To recover, I made type information in INL_PRIM mandatory and changed
453    prim.sml as well as built-in.sml accordingly.  The InLine structure now
454    has complete, correct type information (i.e., no bottom types).
455    
456    Since all these changes mean that we need new binfiles, I also bumped the
457    version number to 110.32.1.
458    
459    ----------------------------------------------------------------------
460    Name: Matthias Blume
461    Date: 2000/12/30 22:10:00 JST
462    Tag: blume-20001230-various
463    Description:
464    
465    Added proxy libraries for MLRISC and let MLRISC libraries refer
466    to each other using path anchors.  (See CM manual for explanation.)
467    
468    Updated CM documentation.
469    
470    Fixed some bugs in CM.
471    
472    Implemented "proxy" libraries (= syntactic sugar for CM).
473    
474    Added "-quiet" option to makeml and changed runtime system accordingly.
475    
476    Added cleanup handler for exportML to reset timers and compiler stats.
477    
478    ----------------------------------------------------------------------
479    Name: Lal George
480    Date: 2000/12/22 22:22:58 EST 2000
481    Tag: Release_110_32
482    Description:
483    
484            Infinite precision used throughout MLRISC.
485            see MLRISC/mltree/machine-int.sig
486    
487    ----------------------------------------------------------------------
488    Name: Matthias Blume
489    Date: 2000/12/22 23:16:00 JST
490    Tag: blume-20001222-warn
491    Description:
492    
493    Corrected wording and formatting of some CM warning message which I
494    broke in my previous patch.
495    
496    ----------------------------------------------------------------------
497    Name: Matthias Blume
498    Date: 2000/12/22 21:20:00 JST
499    Tag: blume-20001222-anchorenv
500    Description:
501    
502    Fixed CM's handling of anchor environments in connection with CMB.make.
503    
504    ----------------------------------------------------------------------
505    Name: Matthias Blume
506    Date: 2000/12/22 13:15:00 JST
507    Tag: blume-20001222-cleanup
508    Description:
509    
510    Removed src/cm/ffi which does not (and did not) belong here.
511    
512    ----------------------------------------------------------------------
513    Name: Matthias Blume
514    Date: 2000/12/21 23:55:00 JST
515    Tag: blume-20001221-exn
516    Description:
517    
518    Probably most important: CM no longer silently swallows all exceptions
519    in the compiler.
520    Plus: some other minor CM changes.  For example, CM now reports some
521    sizes for generated binfiles (code, data, envpickle, lambdapickle).
522    
523    ----------------------------------------------------------------------
524    Name: Matthias Blume
525    Date: 2000/12/15 00:01:05 JST
526    Tag: blume-20001215-dirtool
527    Description:
528    
529    - "dir" tool added.
530    - improvements and cleanup to Tools structure
531    - documentation updates
532    
533  ----------------------------------------------------------------------  ----------------------------------------------------------------------
534  Name: Allen Leung  Name: Allen Leung
535  Date: Thu Dec 14 03:45:24 EST 2000  Date: Thu Dec 14 03:45:24 EST 2000

Legend:
Removed from v.755  
changed lines
  Added in v.834

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