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 838, Tue Jun 5 19:10:21 2001 UTC revision 846, Mon Jun 25 16:06:46 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/06/25 12:05:00 EDT
18    Tag: blume-20010625-nlffigen
19    Description:
20    
21    This update fixes a number of minor bugs in ml-nlffigen as reported by
22    Nick Carter <nbc@andrew.cmu.edu>.
23    
24      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
25      2. Default names for generated files are now derived from the name of
26         the C file *without its directory*.  In particular, this causes generated
27         files to be placed locally even if the C file is in some system directory.
28      3. Default names for generated signatures and structures are also derived
29         from the C file name without its directory.  This avoids silly things
30         like "structure GL/GL".
31         (Other silly names are still possible because ml-nlffigen does not do
32          a thorough check of whether generated names are legal ML identifiers.)
33    
34    ----------------------------------------------------------------------
35    Name: Matthias Blume
36    Date: 2001/06/21 12:25:00 EDT
37    Tag: blume-20010621-eXene
38    Description:
39    
40    eXene now compiles and (sort of) works again.
41    
42    The library name (for version > 110.33) is $/eXene.cm.
43    
44    I also added an new example in src/eXene/examples/nbody.  See the
45    README file there for details.
46    
47    ----------------------------------------------------------------------
48    Name: Matthias Blume
49    Date: 2001/06/20 16:40:00 EDT
50    Tag: blume-20010620-cml
51    Description:
52    
53    CML now compiles and works again.
54    
55    Libraries (for version > 110.33):
56    
57      $cml/cml.cm            Main CML library.
58      $cml/basis.cm          CML's version of $/basis.cm.
59      $cml/cml-internal.cm   Internal helper library.
60      $cml/core-cml.cm       Internal helper library.
61      $cml-lib/trace-cml.cm  Tracing facility.
62      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
63    
64    The installer (config/install.sh) has been taught how to properly
65    install this stuff.
66    
67    ----------------------------------------------------------------------
68    Name: Matthias Blume
69    Date: 2001/06/19 17:55:00 EDT
70    Tag: blume-20010619-instantiate
71    Description:
72    
73    This un-breaks the fix for bug 1432.
74    (The bug was originally fixed in 110.9 but I broke it again some
75    time after that.)
76    
77    ----------------------------------------------------------------------
78    Name: Matthias Blume
79    Date: 2001/06/19 17:25:00 EDT
80    Tag: blume-20010619-signals
81    Description:
82    
83    This should (hopefully) fix the long-standing signal handling bug.
84    (The runtime system was constructing a continuation record with an
85    incorrect descriptor which would cause the GC to drop data on the floor...)
86    
87    ----------------------------------------------------------------------
88    Name: Matthias Blume
89    Date: 2001/06/15 15:05:00 EDT
90    Tag: blume-20010615-moresparc
91    Description:
92    
93    Here is a short late-hour update related to Sparc c-calls:
94    
95     -- made handling of double-word arguments a bit smarter
96    
97     -- instruction selection phase tries to collapse certain clumsily
98        constructed ML-Trees; typical example:
99    
100            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
101    
102        This currently has no further impact on SML/NJ since mlriscGen does
103        not seem to generate such patterns in the first place, and c-calls
104        (which did generate them in the beginning) has meanwhile been fixed
105        so as to avoid them as well.
106    
107    ----------------------------------------------------------------------
108    Name: Matthias Blume
109    Date: 2001/06/15 15:05:00 EDT
110    Tag: blume-20010615-sparc
111    Description:
112    
113    The purpose of this update is to provide an implementation of NLFFI
114    on Sparc machines.
115    
116    Here are the changes in detail:
117    
118       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
119       the Sparc implementation of the c-calls API.
120       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
121       for accessing the ML frame.  Thus, we have a real frame pointer and
122       can freely modify %sp without need for an omit-frame-ptr phase.
123       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
124       this case.
125       * ml-nlffigen has been taught to produce code for different architectures
126       and calling conventions.
127       * In a way similar to what was done in the x86 case, the Sparc
128       backend uses its own specific extension to mltree.  (For example,
129       it needs to be able to generate UNIMP instructions which are part
130       of the calling convention.)
131       * ml-nlffi-lib was reorganized to make it more modular (in particular,
132       to make it easier to plug in new machine- and os-dependent parts).
133    
134    There are some other fairly unrelated bug fixes and cleanups as well:
135    
136       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
137       that they properly share their libraries with existing SML/NJ libraries.
138       * I fixed a minor cosmetic bug in CM, supressing certain spurious
139       follow-up error messages.
140       * Updates to CM/CMB documentation.
141    
142    TODO items:
143    
144       * MLRISC should use a different register as its asmTemp on the Sparc.
145         (The current %o2 is a really bad choice because it is part of the
146         calling conventions, so things might interfere in unexpected ways.)
147    
148    ----------------------------------------------------------------------
149    Name: Matthias Blume
150    Date: 2001/06/07
151    Tag: blume-20010607-calls
152    Description:
153    
154    A number of internal changes related to C calls and calling conventions:
155    
156    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
157       number of bytes popped implicitly (by the callee).  In most cases
158       this field is 0 but on x86/win32 it is some non-zero value.  This
159       is information provided for the benefit of the "omit-frameptr" pass.
160    2. The CALL instruction on the x86 carries a similar "pops" field.
161       The instruction selection phase copies its value from the ML-Tree
162       CALL statement.
163    3. On all other architectures, the instruction selection phase checks
164       whether "pops=0" and complains if not.
165    4. The c-calls implementation for x86 now accepts two calling conventions:
166       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
167       up after the call and pops is set to 0.  For "stdcall", the caller
168       does nothing, leaving the cleanup to the callee; pops is set to
169       the number of bytes that were pushed onto the stack.
170    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
171       distinguish between "ccall" and "stdcall".
172    6. The UNIMP instruction has been added to the supported Sparc instruction
173       set. (This is needed for implementing the official C calling convention
174       on this architecture.)
175    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
176       work with the latest CM.
177    
178    ----------------------------------------------------------------------
179    Name: Matthias Blume
180  Date: 2001/06/05 15:10:00 EDT  Date: 2001/06/05 15:10:00 EDT
181  Tag: blume-20010605-cm-index  Tag: blume-20010605-cm-index
182  Description:  Description:

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

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