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 710, Tue Oct 17 08:21:09 2000 UTC revision 853, Tue Jun 26 20:13:50 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/06/26 16:15:00 EDT
18    Tag: blume-20010626-cmdoc
19    Description:
20    
21    Minor typo fixed in CM manual (syntax diagram for libraries).
22    
23    ----------------------------------------------------------------------
24    Name: Matthias Blume
25    Date: 2001/06/25 22:55:00 EDT
26    Tag: blume-20010625-x86pc
27    Description:
28    
29    Fixed a nasty bug in the X86 assembly code that caused signal
30    handlers to fail (crash) randomly.
31    
32    ----------------------------------------------------------------------
33    Name: Matthias Blume
34    Date: 2001/06/25 12:05:00 EDT
35    Tag: blume-20010625-nlffigen
36    Description:
37    
38    This update fixes a number of minor bugs in ml-nlffigen as reported by
39    Nick Carter <nbc@andrew.cmu.edu>.
40    
41      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
42      2. Default names for generated files are now derived from the name of
43         the C file *without its directory*.  In particular, this causes generated
44         files to be placed locally even if the C file is in some system directory.
45      3. Default names for generated signatures and structures are also derived
46         from the C file name without its directory.  This avoids silly things
47         like "structure GL/GL".
48         (Other silly names are still possible because ml-nlffigen does not do
49          a thorough check of whether generated names are legal ML identifiers.
50          When in doubt, use command line arguments to force particular names.)
51    
52    ----------------------------------------------------------------------
53    Name: Matthias Blume
54    Date: 2001/06/21 12:25:00 EDT
55    Tag: blume-20010621-eXene
56    Description:
57    
58    eXene now compiles and (sort of) works again.
59    
60    The library name (for version > 110.33) is $/eXene.cm.
61    
62    I also added an new example in src/eXene/examples/nbody.  See the
63    README file there for details.
64    
65    ----------------------------------------------------------------------
66    Name: Matthias Blume
67    Date: 2001/06/20 16:40:00 EDT
68    Tag: blume-20010620-cml
69    Description:
70    
71    CML now compiles and works again.
72    
73    Libraries (for version > 110.33):
74    
75      $cml/cml.cm            Main CML library.
76      $cml/basis.cm          CML's version of $/basis.cm.
77      $cml/cml-internal.cm   Internal helper library.
78      $cml/core-cml.cm       Internal helper library.
79      $cml-lib/trace-cml.cm  Tracing facility.
80      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
81    
82    The installer (config/install.sh) has been taught how to properly
83    install this stuff.
84    
85    ----------------------------------------------------------------------
86    Name: Matthias Blume
87    Date: 2001/06/19 17:55:00 EDT
88    Tag: blume-20010619-instantiate
89    Description:
90    
91    This un-breaks the fix for bug 1432.
92    (The bug was originally fixed in 110.9 but I broke it again some
93    time after that.)
94    
95    ----------------------------------------------------------------------
96    Name: Matthias Blume
97    Date: 2001/06/19 17:25:00 EDT
98    Tag: blume-20010619-signals
99    Description:
100    
101    This should (hopefully) fix the long-standing signal handling bug.
102    (The runtime system was constructing a continuation record with an
103    incorrect descriptor which would cause the GC to drop data on the floor...)
104    
105    ----------------------------------------------------------------------
106    Name: Matthias Blume
107    Date: 2001/06/15 15:05:00 EDT
108    Tag: blume-20010615-moresparc
109    Description:
110    
111    Here is a short late-hour update related to Sparc c-calls:
112    
113     -- made handling of double-word arguments a bit smarter
114    
115     -- instruction selection phase tries to collapse certain clumsily
116        constructed ML-Trees; typical example:
117    
118            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
119    
120        This currently has no further impact on SML/NJ since mlriscGen does
121        not seem to generate such patterns in the first place, and c-calls
122        (which did generate them in the beginning) has meanwhile been fixed
123        so as to avoid them as well.
124    
125    ----------------------------------------------------------------------
126    Name: Matthias Blume
127    Date: 2001/06/15 15:05:00 EDT
128    Tag: blume-20010615-sparc
129    Description:
130    
131    The purpose of this update is to provide an implementation of NLFFI
132    on Sparc machines.
133    
134    Here are the changes in detail:
135    
136       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
137       the Sparc implementation of the c-calls API.
138       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
139       for accessing the ML frame.  Thus, we have a real frame pointer and
140       can freely modify %sp without need for an omit-frame-ptr phase.
141       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
142       this case.
143       * ml-nlffigen has been taught to produce code for different architectures
144       and calling conventions.
145       * In a way similar to what was done in the x86 case, the Sparc
146       backend uses its own specific extension to mltree.  (For example,
147       it needs to be able to generate UNIMP instructions which are part
148       of the calling convention.)
149       * ml-nlffi-lib was reorganized to make it more modular (in particular,
150       to make it easier to plug in new machine- and os-dependent parts).
151    
152    There are some other fairly unrelated bug fixes and cleanups as well:
153    
154       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
155       that they properly share their libraries with existing SML/NJ libraries.
156       * I fixed a minor cosmetic bug in CM, supressing certain spurious
157       follow-up error messages.
158       * Updates to CM/CMB documentation.
159    
160    TODO items:
161    
162       * MLRISC should use a different register as its asmTemp on the Sparc.
163         (The current %o2 is a really bad choice because it is part of the
164         calling conventions, so things might interfere in unexpected ways.)
165    
166    ----------------------------------------------------------------------
167    Name: Matthias Blume
168    Date: 2001/06/07
169    Tag: blume-20010607-calls
170    Description:
171    
172    A number of internal changes related to C calls and calling conventions:
173    
174    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
175       number of bytes popped implicitly (by the callee).  In most cases
176       this field is 0 but on x86/win32 it is some non-zero value.  This
177       is information provided for the benefit of the "omit-frameptr" pass.
178    2. The CALL instruction on the x86 carries a similar "pops" field.
179       The instruction selection phase copies its value from the ML-Tree
180       CALL statement.
181    3. On all other architectures, the instruction selection phase checks
182       whether "pops=0" and complains if not.
183    4. The c-calls implementation for x86 now accepts two calling conventions:
184       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
185       up after the call and pops is set to 0.  For "stdcall", the caller
186       does nothing, leaving the cleanup to the callee; pops is set to
187       the number of bytes that were pushed onto the stack.
188    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
189       distinguish between "ccall" and "stdcall".
190    6. The UNIMP instruction has been added to the supported Sparc instruction
191       set. (This is needed for implementing the official C calling convention
192       on this architecture.)
193    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
194       work with the latest CM.
195    
196    ----------------------------------------------------------------------
197    Name: Matthias Blume
198    Date: 2001/06/05 15:10:00 EDT
199    Tag: blume-20010605-cm-index
200    Description:
201    
202    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
203    
204    1. CM can now generate "index files".  These are human-readable files
205       that list on a per-.cm-file basis each toplevel symbol defined or
206       imported.  The location of the index file for
207       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
208       To enable index-file generation, set CM.Control.generate_index to true
209       or export an environment-symbol: export CM_GENERATE_INDEX=true.
210    
211       The CM manual has been updated accordingly.
212    
213    2. I made some slight modifications to the c-calls API in MLRISC.
214    
215         a) There is now a callback to support saving/restoring of
216            dedicated but caller-save registers around the actual call
217            instruction.
218         b) One can optionally specify a comment-annotation for the
219            call instruction.
220    
221    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
222       (For example, the comment annotation shows the C prototype of
223        the function being called.)
224    
225    ----------------------------------------------------------------------
226    Name: Matthias Blume
227    Date: 2001/06/01 13:30:00 EDT
228    Tag: blume-20010601-nlffi-cleanup
229    Description:
230    
231    This is mostly a cleanup of MLFFI stuff:
232    
233       - some signature files have been put into a more exposed place
234       - the ugly 'f type parameter is gone (simplifies types tremendously!)
235       - ml-nlffigen changed accordingly
236       - tutorial updated
237    
238    Other changes:
239    
240       - author's affiliation in CM manual(s) updated
241       - some more recognized keywords added to Allen's sml.sty
242    
243    ----------------------------------------------------------------------
244    Name: Matthias Blume
245    Date: 2001/05/25 15:30:00 EDT
246    Tag: blume-20010525-iptr
247    Description:
248    
249      - put the official 110.33-README (as it appears on the ftp server) under
250        CVS
251      - fixed a small bug related to incomplete pointer types in
252        ml-nlffigen
253      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
254        (it does not need the 'f type parameter)
255    
256    ----------------------------------------------------------------------
257    Name: Matthias Blume
258    Date: 2001/05/23 14:30:00 EDT
259    Tag: Release_110_33
260    Description:
261    
262    New version number (110.33).  New bootfiles.
263    
264    ----------------------------------------------------------------------
265    Name: Matthias Blume
266    Date: 2001/05/22 18:06:00 EDT
267    Tag: blume-20010522-targets
268    Description:
269    
270    Made install.sh use file config/targets.customized if it exists, falling
271    back to config/targets if it doesn't.  This way one can have a customized
272    version of the targets file without touching the "real thing", thus
273    eliminating the constant fear of accidentally checking something bogus
274    back into the CVS repository...  (File config/targets.customized must
275    not be added to the repository!)
276    
277    ----------------------------------------------------------------------
278    Name: Matthias Blume
279    Date: 2001/05/22 16:30:00 EDT
280    Tag: blume-20010522-minitut
281    Description:
282    
283    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
284       struct returns.
285    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
286       incomplete, preliminary documentation for NLFFI.
287    
288    ----------------------------------------------------------------------
289    Name: Matthias Blume
290    Date: 2001/05/14 11:30:00 EDT
291    Tag: blume-20010514-script
292    Description:
293    
294    Some bugs in install script fixed.
295    
296    In addition to that I also made a slight change to the NLFFI API:
297    Functors generated by ml-nlffigen now take the dynamic library as a
298    straight functor argument, not as a suspended one.  (The original
299    functor code used to force the suspension right away anyway, so there
300    was nothing gained by this complication of the interface.)
301    
302    ----------------------------------------------------------------------
303    Name: Matthias Blume
304    Date: 2001/05/11 14:35:00 EDT
305    Tag: blume-20010511-ml-nlffi
306    Description:
307    
308    I finally took the plunge and added my new FFI code to the main
309    repository.  For x86-linux it is now ready for prime-time.
310    
311    There are two new subdirectories of "src":
312    
313      - ml-nlffi-lib:
314           The utility library for programs using the FFI interface.
315           Here is the implementation of $/c.cm and its associated low-level
316           partners $/c-int.cm and $/memory.cm.
317      - ml-nlffigen:
318           A stand-alone program for generating ML glue code from C source
319           code.
320    
321    Building ml-nlffigen requires $/ckit-lib.cm.
322    
323    The config/install.sh script has been updates to do the Right Thing
324    (hopefully).
325    
326    Notice that the source tree for the C-Kit will not be put under "src"
327    but directly under the installation root directory.  (This is the
328    structure that currently exists on the CVS server when you check out
329    module "sml".)  Fortunately, config/install.sh knows about this oddity.
330    
331    Bugs: No documentation yet.
332    
333    ----------------------------------------------------------------------
334    Name: Matthias Blume
335    Date: 2001/05/09 16:35:00 EDT
336    Tag: blume-20010509-cpscontract
337    Description:
338    
339    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
340    wrapper/unwrapper elimination did not decrement usage counts and some
341    dead variables got overlooked by the dead-up logic.)
342    
343    ----------------------------------------------------------------------
344    Name: Lal George
345    Date: 2001/05/08  17:26:09 EDT
346    Tag: george-20010508-omit-frameptr
347    Description:
348    
349    Changes to implement the omit-frame-pointer optimization to support
350    raw C calls. For now, there is only support on the Intel x86, but
351    other architectures will follow as more experience is gained with this.
352    
353    
354    ----------------------------------------------------------------------
355    Name: Matthias Blume
356    Date: 2001/05/07 14:40:00 EDT
357    Tag: blume-20010507-proxies
358    Description:
359    
360    I made into "proxy libraries" all libraries that qualify for such a
361    change.  (A qualifying library is a library that has another library or
362    groups as its sole member and repeats that member's export list
363    verbatim.  A proxy library avoids this repetition by omitting its export
364    list, effectively inheriting the list that its (only) member exports.
365    See the CM manual for more explanation.)
366    The main effect is that explicit export lists for these libraries
367    do not have to be kepts in sync, making maintenance a bit easier.
368    
369    I also added copyright notices to many .cm-files.
370    
371    Last but not least, I made a new set of bootfiles.
372    
373    ----------------------------------------------------------------------
374    Name: Matthias Blume
375    Date: 2001/05/04 17:00:00 EDT
376    Tag: blume-20010504-cm-lsplit
377    Description:
378    
379    0. John merged pending changes to $/smlnj-lib.cm
380    
381    1. Allen's previous change accidentally backed out of one of Lal's
382       earlier changes.  I undid this mistake (re-introducing Lal's change).
383    
384    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
385       within the compiler where applicable.  There is some code simplification
386       because of that.
387    
388    3. The "split" phase (in FLINT) is now part of the default list of phases.
389       Compiler.Control.LambdaSplitting.* can be used to globally control the
390       lambda-splitting (cross-module-inlining) engine.  In addition to that,
391       it can now also be controlled on a per-source basis: CM has been taught
392       a new tool parameter applicable to ML source files.
393    
394       - To turn lambda-splitting off completely:
395            local open Compiler.Control.LambdaSplitting in
396                val _ = set Off
397            end
398       - To make "no lambda-splitting" the global default (but allow per-source
399         overriding); this is the initial setting:
400            local open Compiler.Control.LambdaSplitting in
401                val _ = set (Default NONE)
402            end
403       - To make "lambda-splitting with aggressiveness a" the global default
404         (and allow per-source overriding):
405            local open Compiler.Control.LambdaSplitting in
406                val _ = set (Default (SOME a))
407            end
408    
409       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
410         write (in the respective .cm-file):
411            a.sml (lambdasplitting:off)
412       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
413            a.sml (lambdasplitting:on)
414       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
415         <a> is a decimal non-negative integer):
416            a.sml (lambdasplitting:<a>)
417       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
418            a.sml (lambdasplitting:infinity)
419       - To use the global default for a.sml:
420            a.sml (lambdasplitting:default)
421         or simply
422            a.sml
423    
424    ----------------------------------------------------------------------
425    Name: Allen Leung
426    Date: 2001/05/04 01:57:00 EDT
427    Tag: leunga-20010504-sync
428    Description:
429    
430      MLRISC features.
431    
432      1. Fix to CMPXCHG instructions.
433      2. Changed RA interface to allow annotations in callbacks.
434      3. Added a new method to the stream interface to allow annotations updates.
435    
436    ----------------------------------------------------------------------
437    Name: Matthias Blume
438    Date: 2001/05/01 11:45:00 EDT
439    Tag: blume-20010501-pcedittmp
440    Description:
441    
442    Changed install.sh to use the current working directory instead of
443    /usr/tmp for a temporary file (pcedittmp).  The previous choice
444    of /usr/tmp caused trouble with MacOS X because of file premission
445    problems.
446    
447    ----------------------------------------------------------------------
448    Name: Matthias Blume
449    Date: 2001/04/20 11:10:00 EDT
450    Tag: blume-20010420-inMLflag
451    Description:
452    
453     - added vp_limitPtrMask to vproc-state.h
454       (for use by the raw-C-calls mechanism to implement proper interrupt
455        handling)
456     - made the ML compiler aware of various data-structure offsets so it
457       can generate code for accessing the vp_inML flag and vp_limitPtrMask
458     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
459       raw C-calls
460    
461    ----------------------------------------------------------------------
462    Name: Lal George
463    Date: 2001/04/20 09:15:28 EDT
464    Tag: george-20010420-macosX
465    Description:
466    
467     - Changes to port to Mac OS X; Darwin.
468    
469     - In the process I found that sqrt was broken on the PPC, because the
470       fsqrt instruction is not implemented.
471    
472    ----------------------------------------------------------------------
473    Name: Matthias Blume
474    Date: 2001/04/18 12:45:00 EDT
475    Tag: blume-20010418-ccalls
476    Description:
477    
478     - fixed two off-by-4 errors in the x86-specific c-calls implementation
479       (this bug prevented structure arguments containing pointers from being
480        passed correctly)
481     - changed the raw-C-call code in mlriscGen.sml in such a way that
482       structure arguments are represented as a pointer to the beginning
483       of the structure (instead of having a series of synthesized arguments,
484       one for each structure member)
485    
486     - made makeml script's verbosity level configurable via environment
487       variable (MAKEML_VERBOSITY)
488    
489     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
490       in rawmem-x86.sml; we are now using the real thing
491    
492    ----------------------------------------------------------------------
493    Name: Matthias Blume
494    Date: 2001/03/22 16:25:00 EST
495    Tag: blume-20010322-bootfiles
496    Description:
497    
498    Created a new set of bootfiles (for your automatic installation convenience).
499    
500    ----------------------------------------------------------------------
501    Name: Matthias Blume
502    Date: 2001/03/22 15:10:00 EST
503    Tag: blume-20010322-rawmem-parcm
504    Description:
505    
506    1. All "raw memory access" primitives for the new FFI are implemented now
507       (at least on the x86).
508    2. Some further cleanup of CM's parallel make mechanism.
509    
510    ----------------------------------------------------------------------
511    Name: Matthias Blume
512    Date: 2001/03/19 17:53:00 EST
513    Tag: blume-20010319-parallel
514    Description:
515    
516    Parallel make (using compile servers) now works again.
517    
518    To this end, CM.stabilize and CMB.make have been modified to work in
519    two passes when compile servers are attached:
520       1. Compile everything, do not perform stabilization; this pass
521          uses compile servers
522       2. Stabilize everything; this pass does not use compile servers
523    If there are no compile servers, the two passes are combined into one
524    (as before).  Splitting the passes increases the inherent parallelism
525    in the dependency graph because the entire graph including all
526    libraries is available at the same time.  This, in turn, improves
527    server utilization.  The downside is that the master process will
528    have to do some extra work after compilation is done (because for
529    technical reasons it must re-read all the binfiles during stabilization).
530    
531    ----------------------------------------------------------------------
532    Name: Matthias Blume
533    Date: 2001/03/16 12:22:00 EST
534    Tag: blume-20010316-bootfiles
535    Description:
536    
537    Created a new set of bootfiles (for your automatic installation convenience).
538    
539    ----------------------------------------------------------------------
540    Name: Matthias Blume
541    Date: 2001/03/16 11:00:00 EST
542    Tag: blume-20010316-MLTREE-fixup
543    Description:
544    
545    This is a minor fixup for an (untagged) earlier commit by Allen.
546    (A file was missing).
547    
548    ----------------------------------------------------------------------
549    Name: Allen Leung
550    Date: Mon Mar  5 18:54:57 EST 2001
551    Tag: leunga-20010305-cut-support
552    
553    1. New support for alternative control-flow in MLTREE.
554       Currently we support
555    
556          FLOW_TO(CALL ...., [k1,...,kn])
557    
558       This is needed for 'cuts to' in C-- and try/handle-like constructs
559       in Moby
560    
561       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
562    
563    2. Register Allocator
564    
565       Changes in interface [from Fermin, John]
566    
567    3. Alpha 8-bit SLL support [Fermin]
568    
569    4. All architectures
570    
571       A new module (ClusterExpandCopies) for expanding parallel copies.
572    
573    ----------------------------------------------------------------------
574    Name: Allen Leung
575    Date: 2001/02/27 23:07:00 EST
576    Tag: leunga-20010227-minor-stuff
577    
578    1. Alpha bug fix for CMOVNE
579    2. Handle mltree COND(..,FCMP ...,...)
580    3. Bug fix in simplifier
581    
582    ----------------------------------------------------------------------
583    Name: Matthias Blume
584    Date: 2001/01/30 17:50:00 EST
585    Tag: blume-20010130-sync
586    Description:
587    
588    This is just a minor update to sync my devel branch with the main brach.
589    The only visible change is the addition of some README files.
590    
591    ----------------------------------------------------------------------
592    Name: Matthias Blume
593    Date: 2001/01/12 23:30:00 JST
594    Tag: blume-20010112-bootfiles
595    Description:
596    
597    Made a new set of bootfiles that goes with the current state of the
598    repository.
599    
600    ----------------------------------------------------------------------
601    Name: Matthias Blume
602    Date: 2001/01/12 21:20:00 JST
603    Tag: blume-20010112-sync
604    Description:
605    
606    I am just flushing out some minor changes that had accumulated in
607    my private branch in order to sync with the main tree.  (This is
608    mainly because I had CVS trouble when trying to merge _into_ my
609    private branch.)
610    
611    Most people should be completely unaffected by this.
612    
613    ----------------------------------------------------------------------
614    Name: Allen Leung
615    Date: Thu Jan 11 21:03:00 EST 2001
616    Tag: leunga-20010111-labexp=mltree
617    Description:
618    
619    1.  Removed the type LabelExp and replace it by MLTree.
620    2.  Rewritten mltree-simplify with the pattern matcher tool.
621    3.  There were some bugs in alpha code generator which would break
622        64-bit code generation.
623    4.  Redo the tools to generate code with the
624    5.  The CM files in MLRISC (and in src/system/smlnj/MLRISC)
625        are now generated by perl scripts.
626    
627    ----------------------------------------------------------------------
628    Name: Matthias Blume
629    Date: 2001/01/10 21:55:00 JST
630    Tag: blume-20010110-rcc
631    Description:
632    
633    The RCC stuff now seems to work (but only on the x86).
634    This required hacking of the c-calls interface (and -implementation) in
635    MLRISC.
636    
637    Normal compiler users should be unaffected.
638    
639    ----------------------------------------------------------------------
640    Name: Matthias Blume
641    Date: 2001/01/09 01:20:00 JST
642    Tag: blume-20010109-rcc
643    Description:
644    
645    This is a fairly big patch, flushing out a large number of pending
646    changes that I made to my development copy over the last couple of days.
647    
648    Of practical relevance at this moment is a workaround for a pickling
649    bug that Allen ran into the other day.  The cause of the bug itself is
650    still unknown and it might be hard to fix it properly, but the
651    workaround has some merits of its own (namely somewhat reducing pickling
652    overhead for certain libraries).  Therefore, I think this solution should
653    be satisfactory at this time.
654    
655    The rest of the changes (i.e., the vast majority) has to do with my
656    ongoing efforts of providing direct support for C function calls from
657    ML.  At the moment there is a new primop "RAW_CCALL", typing magic
658    in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new
659    case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to
660    translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to
661    handle RCC.
662    
663    The last part (the changes to mlriscGen.sml) are still known to be
664    wrong on the x86 and not implemented on all other architectures.  But
665    the infrastructure is in place. I had to change a few functor
666    signatures in the backend to be able to route the CCalls interface
667    from MLRISC there, and I had to specialize the mltree type (on the
668    x86) to include the necessary extensions. (The extensions themselves
669    were already there and redy to go in MLRISC/x86).
670    
671    Everything should be very happy as soon as someone helps me with
672    mlriscGen.sml...
673    
674    In any case, nothing of this should matter to anyone as long as the
675    new primop is not being used (which is going to be the case unless you
676    find it where I hid it :). The rest of the compiler is completely
677    unaffected.
678    
679    ----------------------------------------------------------------------
680    Name: Matthias Blume
681    Date: 2001/01/05 00:30:00 JST
682    Tag: blume-20010105-primops
683    Description:
684    
685    Added some experimental support for work that I am doing right now.
686    These changes mostly concern added primops, but there is also a new
687    experimental C library in the runtime system (but currently not enabled
688    anywhere except on Linux/X86).
689    
690    In the course of adding primops (and playing with them), I discovered that
691    Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly
692    broken.  (Zhong was very right he labeled this stuff as "major gross hack".)
693    To recover, I made type information in INL_PRIM mandatory and changed
694    prim.sml as well as built-in.sml accordingly.  The InLine structure now
695    has complete, correct type information (i.e., no bottom types).
696    
697    Since all these changes mean that we need new binfiles, I also bumped the
698    version number to 110.32.1.
699    
700    ----------------------------------------------------------------------
701    Name: Matthias Blume
702    Date: 2000/12/30 22:10:00 JST
703    Tag: blume-20001230-various
704    Description:
705    
706    Added proxy libraries for MLRISC and let MLRISC libraries refer
707    to each other using path anchors.  (See CM manual for explanation.)
708    
709    Updated CM documentation.
710    
711    Fixed some bugs in CM.
712    
713    Implemented "proxy" libraries (= syntactic sugar for CM).
714    
715    Added "-quiet" option to makeml and changed runtime system accordingly.
716    
717    Added cleanup handler for exportML to reset timers and compiler stats.
718    
719    ----------------------------------------------------------------------
720    Name: Lal George
721    Date: 2000/12/22 22:22:58 EST 2000
722    Tag: Release_110_32
723    Description:
724    
725            Infinite precision used throughout MLRISC.
726            see MLRISC/mltree/machine-int.sig
727    
728    ----------------------------------------------------------------------
729    Name: Matthias Blume
730    Date: 2000/12/22 23:16:00 JST
731    Tag: blume-20001222-warn
732    Description:
733    
734    Corrected wording and formatting of some CM warning message which I
735    broke in my previous patch.
736    
737    ----------------------------------------------------------------------
738    Name: Matthias Blume
739    Date: 2000/12/22 21:20:00 JST
740    Tag: blume-20001222-anchorenv
741    Description:
742    
743    Fixed CM's handling of anchor environments in connection with CMB.make.
744    
745    ----------------------------------------------------------------------
746    Name: Matthias Blume
747    Date: 2000/12/22 13:15:00 JST
748    Tag: blume-20001222-cleanup
749    Description:
750    
751    Removed src/cm/ffi which does not (and did not) belong here.
752    
753    ----------------------------------------------------------------------
754    Name: Matthias Blume
755    Date: 2000/12/21 23:55:00 JST
756    Tag: blume-20001221-exn
757    Description:
758    
759    Probably most important: CM no longer silently swallows all exceptions
760    in the compiler.
761    Plus: some other minor CM changes.  For example, CM now reports some
762    sizes for generated binfiles (code, data, envpickle, lambdapickle).
763    
764    ----------------------------------------------------------------------
765    Name: Matthias Blume
766    Date: 2000/12/15 00:01:05 JST
767    Tag: blume-20001215-dirtool
768    Description:
769    
770    - "dir" tool added.
771    - improvements and cleanup to Tools structure
772    - documentation updates
773    
774    ----------------------------------------------------------------------
775    Name: Allen Leung
776    Date: Thu Dec 14 03:45:24 EST 2000
777    Description:
778    Tag:  leunga-20001214-int-inf
779    Description:
780    
781       In IntInf, added these standard functions, which are missing from our
782    implementation:
783    
784        andb : int * int -> int
785        xorb : int * int -> int
786        orb  : int * int -> int
787        notb : int -> int
788         <<   : int * word -> int
789        ~>>  : int * word -> int
790    
791       Not tested, I hope they are correct.
792    
793    ----------------------------------------------------------------------
794    Name: Allen Leung
795    Date: Fri Dec  8 19:23:26 EST 2000
796    Description:
797    Tag:  leunga-20001208-nowhere
798    Description:
799    
800      Slight improvements to the 'nowhere' tool to handle OR-patterns,
801    to generate better error messages etc.  Plus a brief manual.
802    
803    ----------------------------------------------------------------------
804    Name: Lal George
805    Date: 2000/12/08 09:54:02 EST 2000
806    Tag: Release_110_31
807    Description:
808    
809    - Version 110.31
810    ----------------------------------------------------------------------
811    Name: Allen Leung
812    Date: Thu Dec  7 22:01:04 EST 2000
813    Tag:  leunga-20001207-cell-monster-hack
814    Description:
815    
816    Major MLRISC internal changes.  Affect all clients.
817    Summary:
818    
819    1.  Type CELLS.cell = int is now replaced by a datatype.
820        As a result, the old regmap is now gone.  Almost all interfaces
821        in MLRISC change as a consequence.
822    
823    2.  A new brand version of machine description tool (v3.0) that generates
824        modules expecting the new interface.  The old version is removed.
825    
826    3.  The RA interface has been further abstracted into two new functors.
827        RISC_RA and X86RA.  These functors have much simpler interfaces.
828        [See also directory MLRISC/demo.]
829    
830    4.  Some other new source->source code generation tools are available:
831    
832        a. MLRISC/Tools/RewriteGen -- generate rewriters from rules.
833        b. MLRISC/Tools/WhereGen -- expands conditional pattern matching rules.
834           I use this tool to generate the peephole optimizers---with the new
835           cell type changes, peephole rules are becoming difficult to write
836           without conditional pattern matching.
837    
838    5.  More Intmap -> IntHashTable change.  Previous changes by Matthias didn't
839        cover the entire MLRISC source tree so many things broke.
840    
841    6.  CM files have been moved to the subdirectory MLRISC/cm.
842        They are moved because there are a lot of them and they clutter up the
843        root dir.
844    
845    7.  More detailed documentation to come...
846    
847        NOTE: To rebuild from 110.30 (ftp distribution), you'll have to do
848        a makeml -rebuild first.  This is because of other other
849        changes that Matthias has made (see below).
850    
851    
852    ----------------------------------------------------------------------
853    Name: Matthias Blume
854    Date: 2000/11/30 23:12:00 JST
855    Tag: blume-20001130-filereorg
856    Description:
857    
858    Some manual updates and some file reorganizations in CM.
859    
860    ----------------------------------------------------------------------
861    Name: Matthias Blume
862    Date: 2000/11/24 17:45:00 JST
863    Tag: blume-20001124-link
864    Description:
865    
866    Drastically improved link traversal code for the case that the dynamic
867    value was already loaded at bootstrap time.  As a result, CM and CMB
868    now both load blazingly fast -- even on a very slow machine.  Also,
869    memory consumption has been further reduced by this.
870    
871    Warning: The format of the PIDMAP file has changed.  THerefore, to
872    bootstrap you have to do this:
873    
874    1. Run CMB.make
875    2. Make a symbolic link for the boot directory:
876         ln -s sml.boot.ARCH-OS xxx
877    3. "Rebuild" the boot directory:
878         ./makeml -boot xxx -rebuild sml ; rm xxx
879    4. Boot normally:
880          ./makeml
881    
882    ----------------------------------------------------------------------
883    Name: Matthias Blume
884    Date: 2000/11/21 21:20:00 JST
885    Tag: blume-20001121-tools
886    Description:
887    
888    Continued hacking on autoloading problem -- with success this time.
889    Also changed tool-plugin mechanism.  See new CM manual.
890    
891    ----------------------------------------------------------------------
892    Name: Matthias Blume
893    Date: 2000/11/19 14:30:00 JST
894    Tag:  blume-20001119-autoload
895    Description:
896    
897    Some hacking to make autoloading faster.  Success for CMB, no success
898    so far for CM.  There is a reduced structure CM' that autoloads faster.
899    (This is a temporary, non-documented hack to be eliminated again when
900    the general problem is solved.)
901    
902    ----------------------------------------------------------------------
903    Name: Matthias Blume
904    Date: 2000/11/17 14:10:00 JST
905    Tag: blume-20001117-pickle-lib
906    Description:
907    
908    1. Eliminated comp-lib.cm
909    2. Made pickle-lib.cm
910    3. Eliminated all uses of intset.sml (from comp-lib.cm)
911    4. Replaced all uses of intmap.{sig,sml} (from comp-lib.cm) with
912       equivalent constructs from smlnj-lib.cm (INtHashTable).
913    5. Point 4. also goes for those uses of intmap.* in MLRISC.
914       Duplicated intmap modules thrown out.
915    6. Hunted down all duplicated SCC code and replaced it with
916       equivalent stuff (GraphSCCFn from smlnj-lib.cm).
917    7. Rewrote Feedback module.
918    8. Moved sortedlist.sml into viscomp-lib.cm.  Eventually it
919       should be thrown out and equivalent modules from smlnj-lib.cm
920       should be used (IntRedBlackSet, IntListSet, ...).
921    
922    Confirmed that compiler compiles to fixpoint.
923    
924    ----------------------------------------------------------------------
925    Name: Allen Leung
926    Date: 2000/11/10 18:00:00
927    Tag: leunga-20001110-new-x86-fp
928    
929    A new x86 floating point code generator has been added.
930    By default this is turned off.  To turn this on, do:
931    
932        CM.autoload "$smlnj/compiler.cm";
933        Compiler.Control.MLRISC.getFlag "x86-fast-fp" := true;
934    
935    Changes:
936    
937    1.  Changed FTAN to FPTAN so that the assembly output is correct.
938    2.  Changed the extension callback for FTANGENT to generate:
939    
940              fptan
941              fstp  %st(0)
942        instead of
943              fptan
944              fstpl ftempmem
945    
946    3.  Numerous assembly fixes for x86.
947    
948    5.  Cleaned up the machine code output module x86/x86MC.sml and added
949        support for a whole bunch of instructions and addressing modes:
950    
951          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st, %st(n)
952          faddp/fsubp/fsubrp/fmulp/fdivp/fdivrp  %st, %st(n)
953          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st(n), %st
954          fiadd/fisub/fisubr/fimul/fidiv/fidivr mem
955          fxch %st(n)
956          fld %st(n)
957          fst %st(n)
958          fst mem
959          fstp %st(n)
960          fucom %st(n)
961          fucomp %st(n)
962    
963        All these are now generated when the fast fp mode is turned on.
964    
965    6.  Removed the dedicated registers %st(0), ..., %st(7) from X86CpsRegs
966    
967    ----------------------------------------------------------------------
968    Name: Matthias Blume
969    Date: 2000/11/09 11:20:00 JST
970    Tag: blume-20001109-scc
971    Description:
972    
973    Eliminated some code duplication:
974    
975    1. Added "where" clause to GraphSCCFn in SML/NJ Library.
976       (Otherwise the functor is useless.)
977    2. Used GraphSCCFn where SCCUtilFun was used previously.
978    3. Got rid of SCCUtilFun (in comp-lib.cm).
979    
980    ----------------------------------------------------------------------
981    Name: Lal George
982    Date: 2000/11/06 09:02:21 EST 2000
983    Tag: Release_110_30
984    Description:
985    
986    - Version 110.30
987    ----------------------------------------------------------------------
988    Name: Matthias Blume
989    Date: 2000/11/04 14:45:00
990    Tag: blume-20001104-mlbuild
991    Description:
992    
993    - Made ml-build faster on startup.
994    - Documentation fixes.
995    
996    ----------------------------------------------------------------------
997    Name: Matthias Blume
998    Date: 2000/11/02 17:00:00 JST
999    Tag: blume-20001102-condcomp
1000    Description:
1001    
1002    - Small tweaks to pickler -- new BOOTFILES!
1003    - Version bumped to 110.29.2.
1004    - Added conditional compilation facility to init.cmi (see comment there).
1005    ----------------------------------------------------------------------
1006    Name: Allen Leung
1007    Date: 2000/10/23 19:31:00
1008    Tag: leunga-20001023-demo-ra
1009    
1010    1. Minor RA changes that improves spilling on x86 (affects Moby and C-- only)
1011    2. Test programs for the graph library updated
1012    3. Some new MLRISC demo programs added
1013    
1014    ----------------------------------------------------------------------
1015    Name: Matthias Blume
1016    Date: 2000/08/31 22:15:00 JST
1017    Tag: blume-20001017-errmsg
1018    Description:
1019    
1020    More error message grief: Where there used to be no messages, there
1021    now were some that had bogus error regions.  Fixed.
1022    
1023    ----------------------------------------------------------------------
1024    Name: Matthias Blume
1025  Date: 2000/08/31 17:30:00 JST  Date: 2000/08/31 17:30:00 JST
1026  Tag: blume-20001017-v110p29p1  Tag: blume-20001017-v110p29p1
1027  Description:  Description:

Legend:
Removed from v.710  
changed lines
  Added in v.853

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