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 984, Wed Nov 21 19:00:08 2001 UTC revision 1028, Fri Jan 18 18:57:53 2002 UTC
# Line 8  Line 8 
8  The form of an entry should be:  The form of an entry should be:
9    
10  Name:  Name:
11  Date:  Date: yyyy/mm/dd
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2002/01/18
18    Tag: blume-20020118-use-x86-fp
19    Description:
20    
21    Now that x86-fast-fp seems to be working, I turned it back on again
22    by default.  (Seems to work fine now, even with the FFI.)
23    
24    Other than that, I added some documentation about the FFI to
25    src/ml-nlffigen/README and updated the FFI test examples in
26    src/ml-nlffi-lib/Tests/*.
27    
28    ----------------------------------------------------------------------
29    Name: Allen Leung
30    Date: 2002/01/17
31    Tag: leunga-20020117-x86-fast-fp-call
32    Description:
33    
34       1. Fixed a problem with handling return fp values when x86's fast fp
35          mode is turned on.
36    
37       2. Minor pretty printing fix for cellset.  Print %st(0) as %st(0) instead
38          of %f32.
39    
40       3. Added a constructor INT32lit to the ast of MLRISC tools.
41    
42    ----------------------------------------------------------------------
43    Name: Matthias Blume
44    Date: 2002/01/16
45    Tag: blume-20020116-ffifiddle
46    Description:
47    
48    More fiddling with the FFI interface:
49    
50     - Make constness 'c instead of rw wherever possible.  This eliminates
51       the need for certain explicit coercions.  (However, due to ML's
52       value polymorphism, there will still be many cases where explicit
53       coercions are necessary.  Phantom types are not the whole answer
54       to modeling a subtyping relationship in ML.)
55    
56     - ro/rw coersions for pointers added.  (Avoids the detour through */&.)
57    
58     - "printf" test example added to src/ml-nlffi-lib/Tests.  (Demonstrates
59       clumsy workaround for varargs problem.)
60    
61    ----------------------------------------------------------------------
62    Name: Lal George
63    Date: 2002/01/15
64    Tag: <none>
65    Description:
66    
67    1. Since COPY instructions are no longer native to the architecture,
68       a generic functor can be used to implement the expandCopies function.
69    
70    2. Allowed EXPORT and IMPORT pseudo-op declarations to appear inside a
71       TEXT segment.
72    
73    ----------------------------------------------------------------------
74    Name: Matthias Blume
75    Date: 2002/01/15
76    Tag: blume-20020115-ffiupdates
77    Description:
78    
79    1. Fix for bug resulting in single-precision float values being returned
80       incorrectly from FFI calls.
81    
82    2. Small modifications to C FFI API:
83    
84        - memory-allocation routines return straight objects (no options)
85          and raise an exception in out-of-memory situations
86        - unsafe extensions to cast between function pointers and pointers
87          from/to ints
88        - added structure C_Debug as an alternative to structure C where
89          pointer-dereferencing (|*| and |*!) always check for null-pointers
90        - added open_lib' to DynLinkage;  open_lib' works like open_lib
91          but also takes a (possibly empty) list of existing library handles
92          that the current library depends on
93    
94    ----------------------------------------------------------------------
95    Name: Matthias Blume
96    Date: 2002/01/10
97    Tag: blume-20020110-newffigen
98    Description:
99    
100    1. Updates to portable graph code.
101    
102    2. Major update to ml-nlffigen and ml-nlffi-lib.  Things are much
103       more scalable now so that even huge interfaces such as the one
104       for GTK compile in finite time and space. :-)
105       See src/ml-nlffigen/README for details on what's new.
106    
107    ----------------------------------------------------------------------
108    Name: Lal George
109    Date: 2001/01/09 14:31:35 EST 2002
110    Tag: george-20011206-rm-native-copy
111    Description:
112    
113            Removed the native COPY and FCOPY instructions
114            from all the architectures and replaced it with the
115            explicit COPY instruction from the previous commit.
116    
117            It is now possible to simplify many of the optimizations
118            modules that manipulate copies. This has not been
119            done in this change.
120    
121    ----------------------------------------------------------------------
122    Name: Lal George
123    Date: 2001/12/06 16:50:13 EST 2001
124    Tag: george-20011206-mlrisc-instruction
125    Description:
126    
127    Changed the representation of instructions from being fully abstract
128    to being partially concrete. That is to say:
129    
130      from
131            type instruction
132    
133      to
134            type instr                              (* machine instruction *)
135    
136            datatype instruction =
137                LIVE of {regs: C.cellset, spilled: C.cellset}
138              | KILL of {regs: C.cellset, spilled: C.cellset}
139              | COPYXXX of {k: CB.cellkind, dst: CB.cell list, src: CB.cell list}
140              | ANNOTATION of {i: instruction, a: Annotations.annotation}
141              | INSTR of instr
142    
143    This makes the handling of certain special instructions that appear on
144    all architectures easier and uniform.
145    
146    LIVE and KILL say that a list of registers are live or killed at the
147    program point where they appear. No spill code is generated when an
148    element of the 'regs' field is spilled, but the register is moved to
149    the 'spilled' (which is present, more for debugging than anything else).
150    
151    LIVE replaces the (now deprecated) DEFFREG instruction on the alpha.
152    We used to generate:
153    
154            DEFFREG f1
155            f1 := f2 + f3
156            trapb
157    
158    but now generate:
159    
160            f1 := f2 + f3
161            trapb
162            LIVE {regs=[f1,f2,f3], spilled=[]}
163    
164    Furthermore, the DEFFREG (hack) required that all floating point instruction
165    use all registers mentioned in the instruction. Therefore f1 := f2 + f3,
166    defines f1 and uses [f1,f2,f3]! This hack is no longer required resulting
167    in a cleaner alpha implementation. (Hopefully, intel will not get rid of
168    this architecture).
169    
170    COPYXXX is intended to replace the parallel COPY and FCOPY  available on
171    all the architectures. This will result in further simplification of the
172    register allocator that must be aware of them for coalescing purposes, and
173    will also simplify certain aspects of the machine description that provides
174    callbacks related to parallel copies.
175    
176    ANNOTATION should be obvious, and now INSTR represents the honest to God
177    machine instruction set!
178    
179    The <arch>/instructions/<arch>Instr.sml files define certain utility
180    functions for making porting easier -- essentially converting upper case
181    to lower case. All machine instructions (of type instr) are in upper case,
182    and the lower case form generates an MLRISC instruction. For example on
183    the alpha we have:
184    
185      datatype instr =
186         LDA of {r:cell, b:cell, d:operand}
187       | ...
188    
189      val lda : {r:cell, b:cell, d:operand} -> instruction
190        ...
191    
192    where lda is just (INSTR o LDA), etc.
193    
194    ----------------------------------------------------------------------
195    Name: Matthias Blume
196    Date: 2001/11/22 21:40:00 EST
197    Tag: Release_110_37
198    Description:
199    
200    Release 110.37.  This time for real.
201    
202    ----------------------------------------------------------------------
203    Name: Matthias Blume
204    Date: 2001/11/21 16:35:00 EST
205    Tag: blume-20011121-foot-in-mouth
206    Description:
207    
208    Removed the "Release_110_37" tag because of a serious bug.
209    This will be re-tagged once the bug is fixed.
210    
211    ----------------------------------------------------------------------
212    Name: Matthias Blume
213    Date: 2001/11/21 16:14:00 EST
214    Tag: blume-20011121-forgottenfile
215    Description:
216    
217    Forgot to add a file.  (Just a .tex-file -- part of
218    the CM manual source.)
219    
220    ----------------------------------------------------------------------
221    Name: Matthias Blume
222    Date: 2001/11/21 16:10:00 EST
223    Tag: blume-20011121-invalid_110_37
224    Description:
225    
226    Note: I removed the original tag "Release_110_37" from this commit
227          because we found a serious bug in all non-x86 backends.
228          - Matthias
229    
230    1. Modifications to the SML/NJ code generator and to the runtime system
231       so that code object name strings are directly inserted into code
232       objects at code generation time.  The only business the runtime system
233       has with this is now to read the name strings on occasions.
234       (The encoding of the name string has also changed somewhat.)
235    
236    2. CM now implements a simple "set calculus" for specifying export lists.
237       In particular, it is now possible to refer to the export lists of
238       other libraries/groups/sources and form unions as well as differences.
239       See the latest CM manual for details.
240    
241    3. An separate notion of "proxy" libraries has again be eliminated from
242       CM's model.  (Proxy libraries are now simply a special case of using
243       the export list calculus.)
244    
245    4. Some of the existing libraries now take advantage of the new set
246       calculus.
247       (Notice that not all libraries have been converted because some
248       of the existing .cm-files are supposed to be backward compatible
249       with 110.0.x.)
250    
251    5. Some cleanup in stand-alone programs.  (Don't use "exnMessage" -- use
252       "General.exnMessage"!  The former relies on a certain hook to be
253       initialized, and that often does not happen in the stand-alone case.)
254    
255    ----------------------------------------------------------------------
256  Name: Lal George  Name: Lal George
257  Date: 2001/11/21  13:56:18 EST  Date: 2001/11/21  13:56:18 EST
258  Tag: george-2001121-pseudo-ops  Tag: george-2001121-pseudo-ops

Legend:
Removed from v.984  
changed lines
  Added in v.1028

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