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

Legend:
Removed from v.993  
changed lines
  Added in v.1029

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