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 832, Tue May 22 20:30:36 2001 UTC revision 842, Tue Jun 19 21:24:35 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/06/19 17:25:00 EDT
18    Tag: blume-20010619-signals
19    Description:
20    
21    This should (hopefully) fix the long-standing signal handling bug.
22    (The runtime system was constructing a continuation record with an
23    incorrect descriptor which would cause the GC to drop data on the floor...)
24    
25    ----------------------------------------------------------------------
26    Name: Matthias Blume
27    Date: 2001/06/15 15:05:00 EDT
28    Tag: blume-20010615-moresparc
29    Description:
30    
31    Here is a short late-hour update related to Sparc c-calls:
32    
33     -- made handling of double-word arguments a bit smarter
34    
35     -- instruction selection phase tries to collapse certain clumsily
36        constructed ML-Trees; typical example:
37    
38            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
39    
40        This currently has no further impact on SML/NJ since mlriscGen does
41        not seem to generate such patterns in the first place, and c-calls
42        (which did generate them in the beginning) has meanwhile been fixed
43        so as to avoid them as well.
44    
45    ----------------------------------------------------------------------
46    Name: Matthias Blume
47    Date: 2001/06/15 15:05:00 EDT
48    Tag: blume-20010615-sparc
49    Description:
50    
51    The purpose of this update is to provide an implementation of NLFFI
52    on Sparc machines.
53    
54    Here are the changes in detail:
55    
56       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
57       the Sparc implementation of the c-calls API.
58       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
59       for accessing the ML frame.  Thus, we have a real frame pointer and
60       can freely modify %sp without need for an omit-frame-ptr phase.
61       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
62       this case.
63       * ml-nlffigen has been taught to produce code for different architectures
64       and calling conventions.
65       * In a way similar to what was done in the x86 case, the Sparc
66       backend uses its own specific extension to mltree.  (For example,
67       it needs to be able to generate UNIMP instructions which are part
68       of the calling convention.)
69       * ml-nlffi-lib was reorganized to make it more modular (in particular,
70       to make it easier to plug in new machine- and os-dependent parts).
71    
72    There are some other fairly unrelated bug fixes and cleanups as well:
73    
74       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
75       that they properly share their libraries with existing SML/NJ libraries.
76       * I fixed a minor cosmetic bug in CM, supressing certain spurious
77       follow-up error messages.
78       * Updates to CM/CMB documentation.
79    
80    TODO items:
81    
82       * MLRISC should use a different register as its asmTemp on the Sparc.
83         (The current %o2 is a really bad choice because it is part of the
84         calling conventions, so things might interfere in unexpected ways.)
85    
86    ----------------------------------------------------------------------
87    Name: Matthias Blume
88    Date: 2001/06/07
89    Tag: blume-20010607-calls
90    Description:
91    
92    A number of internal changes related to C calls and calling conventions:
93    
94    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
95       number of bytes popped implicitly (by the callee).  In most cases
96       this field is 0 but on x86/win32 it is some non-zero value.  This
97       is information provided for the benefit of the "omit-frameptr" pass.
98    2. The CALL instruction on the x86 carries a similar "pops" field.
99       The instruction selection phase copies its value from the ML-Tree
100       CALL statement.
101    3. On all other architectures, the instruction selection phase checks
102       whether "pops=0" and complains if not.
103    4. The c-calls implementation for x86 now accepts two calling conventions:
104       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
105       up after the call and pops is set to 0.  For "stdcall", the caller
106       does nothing, leaving the cleanup to the callee; pops is set to
107       the number of bytes that were pushed onto the stack.
108    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
109       distinguish between "ccall" and "stdcall".
110    6. The UNIMP instruction has been added to the supported Sparc instruction
111       set. (This is needed for implementing the official C calling convention
112       on this architecture.)
113    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
114       work with the latest CM.
115    
116    ----------------------------------------------------------------------
117    Name: Matthias Blume
118    Date: 2001/06/05 15:10:00 EDT
119    Tag: blume-20010605-cm-index
120    Description:
121    
122    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
123    
124    1. CM can now generate "index files".  These are human-readable files
125       that list on a per-.cm-file basis each toplevel symbol defined or
126       imported.  The location of the index file for
127       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
128       To enable index-file generation, set CM.Control.generate_index to true
129       or export an environment-symbol: export CM_GENERATE_INDEX=true.
130    
131       The CM manual has been updated accordingly.
132    
133    2. I made some slight modifications to the c-calls API in MLRISC.
134    
135         a) There is now a callback to support saving/restoring of
136            dedicated but caller-save registers around the actual call
137            instruction.
138         b) One can optionally specify a comment-annotation for the
139            call instruction.
140    
141    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
142       (For example, the comment annotation shows the C prototype of
143        the function being called.)
144    
145    ----------------------------------------------------------------------
146    Name: Matthias Blume
147    Date: 2001/06/01 13:30:00 EDT
148    Tag: blume-20010601-nlffi-cleanup
149    Description:
150    
151    This is mostly a cleanup of MLFFI stuff:
152    
153       - some signature files have been put into a more exposed place
154       - the ugly 'f type parameter is gone (simplifies types tremendously!)
155       - ml-nlffigen changed accordingly
156       - tutorial updated
157    
158    Other changes:
159    
160       - author's affiliation in CM manual(s) updated
161       - some more recognized keywords added to Allen's sml.sty
162    
163    ----------------------------------------------------------------------
164    Name: Matthias Blume
165    Date: 2001/05/25 15:30:00 EDT
166    Tag: blume-20010525-iptr
167    Description:
168    
169      - put the official 110.33-README (as it appears on the ftp server) under
170        CVS
171      - fixed a small bug related to incomplete pointer types in
172        ml-nlffigen
173      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
174        (it does not need the 'f type parameter)
175    
176    ----------------------------------------------------------------------
177    Name: Matthias Blume
178    Date: 2001/05/23 14:30:00 EDT
179    Tag: Release_110_33
180    Description:
181    
182    New version number (110.33).  New bootfiles.
183    
184    ----------------------------------------------------------------------
185    Name: Matthias Blume
186    Date: 2001/05/22 18:06:00 EDT
187    Tag: blume-20010522-targets
188    Description:
189    
190    Made install.sh use file config/targets.customized if it exists, falling
191    back to config/targets if it doesn't.  This way one can have a customized
192    version of the targets file without touching the "real thing", thus
193    eliminating the constant fear of accidentally checking something bogus
194    back into the CVS repository...  (File config/targets.customized must
195    not be added to the repository!)
196    
197    ----------------------------------------------------------------------
198    Name: Matthias Blume
199  Date: 2001/05/22 16:30:00 EDT  Date: 2001/05/22 16:30:00 EDT
200  Tag: blume-20010522-minitut  Tag: blume-20010522-minitut
201  Description:  Description:

Legend:
Removed from v.832  
changed lines
  Added in v.842

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