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

Legend:
Removed from v.987  
changed lines
  Added in v.1031

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