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 1133, Tue Mar 12 03:56:23 2002 UTC revision 1159, Fri Mar 22 03:18:24 2002 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2002/03/21 22:20:00 EST
18    Tag: blume-20020321-kmp-bugfix
19    Description:
20    
21    Changed the interface to the KMP routine in PreString and fixed
22    a minor bug in one place where it was used.
23    
24    ----------------------------------------------------------------------
25    Name: Allen Leung
26    Date: 2002/03/21 20:30:00 EST
27    Tag: leunga-20020321-cfg
28    Description:
29    
30      Fixed a potential problem in cfg edge splitting.
31    
32    ----------------------------------------------------------------------
33    Name: Allen Leung
34    Date: 2002/03/21 17:15:00 EST
35    Tag: leunga-20020321-x86-fp-cfg
36    Description:
37    
38      1. Recoded the buggy parts of x86-fp.
39    
40         a. All the block reordering code has been removed.
41            We now depend on the block placement phases to do this work.
42    
43         b. Critical edge splitting code has been simplified and moved into the
44            CFG modules, as where they belong.
45    
46         Both of these were quite buggy and complex.  The code is now much, much
47         simpler.
48    
49      2. X86 backend.
50    
51         a. Added instructions for 64-bit support.  Instruction selection for
52            64-bit has not been committed, however, since that
53            requires changes to MLTREE which haven't been approved by
54            Lal and John.
55    
56         b. Added support for FUCOMI and FUCOMIP when generating code for
57            PentiumPro and above.  We only generate these instructions in
58            the fast-fp mode.
59    
60         c. Added cases for JP and JNP in X86FreqProps.
61    
62      3. CFG
63    
64         CFG now has a bunch of methods for edge splitting and merging.
65    
66      4. Machine description.
67    
68         John's simplification of MLTREE_BASIS.fcond broke a few machine
69         description things:
70    
71         rtl-build.{sig,sml} and hppa.mdl fixed.
72    
73         NOTE: the machine description stuff in the repository is still broken.
74               Again, I can't put my fixes in because that involves
75               changes to MLTREE.
76    
77    ----------------------------------------------------------------------
78    Name: Matthias Blume
79    Date: 2002/03/20 15:55:00 EST
80    Tag: blume-20020320-kmp
81    Description:
82    
83    Implemented Knuth-Morris-Pratt string matching in PreString and used
84    it for String.isSubstring, Substring.isSubstring, and
85    Substring.position.
86    
87    (Might need some stress-testing.  Simple examples worked fine.)
88    
89    ----------------------------------------------------------------------
90    Name: Matthias Blume
91    Date: 2002/03/19 16:37:00 EST
92    Tag: blume-20020319-witnesses
93    Description:
94    
95    Added a structure C.W and functions convert/Ptr.convert to ml-nlffi-lib.
96    
97    This implements a generic mechanism for changing constness qualifiers
98    anywhere within big C types without resorting to outright "casts".
99    (So far, functions such as C.rw/C.ro or C.Ptr.rw/C.Ptr.ro only let you
100    modify the constness at the outermost level.)
101    The implementation of "convert" is based on the idea of "witness"
102    values -- values that are not used by the operation but whose types
103    "testify" to their applicability.  On the implementation side, "convert"
104    is simply a projection (returning its second curried argument).  With
105    cross-module inlining, it should not result in any machine code being
106    generated.
107    
108    ----------------------------------------------------------------------
109    Name: Matthias Blume
110    Date: 2002/03/15 16:40:00 EST
111    Tag: blume-20020315-basis
112    Description:
113    
114    Provided (preliminary?) implementations for
115    
116      {String,Substring}.{concatWith,isSuffix,isSubstring}
117    
118    and
119    
120      Substring.full
121    
122    Those are in the Basis spec but they were missing in SML/NJ.
123    
124    ----------------------------------------------------------------------
125    Name: Matthias Blume
126    Date: 2002/03/14 21:30:00 EST
127    Tag: blume-20020314-controls
128    Description:
129    
130    Controls:
131    ---------
132    
133    1. Factored out the recently-added Controls : CONTROLS stuff and put
134       it into its own library $/controls-lib.cm.  The source tree for
135       this is under src/smlnj-lib/Controls.
136    
137    2. Changed the names of types and functions in this interface, so they
138       make a bit more "sense":
139    
140          module -> registry
141          'a registry -> 'a group
142    
143    3. The interface now deals in ref cells only.  The getter/setter interface
144       is (mostly) gone.
145    
146    4. Added a function that lets one register an already-existing ref cell.
147    
148    5. Made the corresponding modifications to the rest of the code so that
149       everything compiles again.
150    
151    6. Changed the implementation of Controls.MLRISC back to something closer
152       to the original.  In particular, this module (and therefore MLRISC)
153       does not depend on Controls.  There now is some link-time code in
154       int-sys.sml that registers the MLRISC controls with the Controls
155       module.
156    
157    CM:
158    ---
159    
160      * One can now specify the lambda-split aggressiveness in init.cmi.
161    
162    ----------------------------------------------------------------------
163    Name: Allen Leung
164    Date: 2002/03/13 17:30:00 EST
165    Tag: leunga-20020313-x86-fp-unary
166    Description:
167    
168    Bug fix for:
169    
170    > leunga@weaselbane:~/Yale/tmp/sml-dist{21} bin/sml
171    > Standard ML of New Jersey v110.39.1 [FLINT v1.5], March 08, 2002
172    > - fun f(x,(y,z)) = Real.~ y;
173    > [autoloading]
174    > [autoloading done]
175    >       fchsl   (%eax), 184(%esp)
176    > Error: MLRisc bug: X86MCEmitter.emitInstr
177    >
178    > uncaught exception Error
179    >   raised at: ../MLRISC/control/mlriscErrormsg.sml:16.14-16.19
180    
181    The problem was that the code generator did not generate any fp registers
182    in this case, and the ra didn't know that it needed to run the X86FP phase to
183    translate the pseudo fp instruction.   This only happened with unary fp
184    operators in certain situations.
185    
186    ----------------------------------------------------------------------
187    Name: Matthias Blume
188    Date: 2002/03/13 14:00:00 EST
189    Tag: blume-20020313-overload-etc
190    Description:
191    
192    1. Added _overload as a synonym for overload for backward compatibility.
193       (Control.overloadKW must be true for either version to be accepted.)
194    
195    2. Fixed bug in install script that caused more things to be installed
196       than what was requested in config/targets.
197    
198    3. Made CM aware of the (_)overload construct so that autoloading
199       works.
200    
201    ----------------------------------------------------------------------
202    Name: Matthias Blume
203    Date: 2002/03/12 22:03:00 EST
204    Tag: blume-20020312-url
205    Description:
206    
207    Forgot to update BOOT and srcarchiveurl.
208    
209    ----------------------------------------------------------------------
210    Name: Matthias Blume
211    Date: 2002/03/12 17:30:00 EST
212    Tag: blume-20020312-version110392
213    Description:
214    
215    Yet another version number bump (because of small changes to the
216    binfile format).  Version number is now 110.39.2.  NEW BOOTFILES!
217    
218    Changes:
219    
220      The new pid generation scheme described a few weeks ago was overly
221      complicated.  I implemented a new mechanism that is simpler and
222      provides a bit more "stability":  Once CM has seen a compilation
223      unit, it keeps its identity constant (as long as you do not delete
224      those crucial CM/GUID/* files).  This means that when you change
225      an interface, compile, then go back to the old interface, and
226      compile again, you arrive at the original pid.
227    
228      There now also is a mechanism that instructs CM to use the plain
229      environment hash as a module's pid (effectively making its GUID
230      the empty string).  For this, "noguid" must be specified as an
231      option to the .sml file in question within its .cm file.
232      This is most useful for code that is being generated by tools such
233      as ml-nlffigen (because during development programmers tend to
234      erase the tool's entire output directory tree including CM's cached
235      GUIDs).  "noguid" is somewhat dangerous (since it can be used to locally
236      revert to the old, broken behavior of SML/NJ, but in specific cases
237      where there is no danger of interface confusion, its use is ok
238      (I think).
239    
240      ml-nlffigen by default generates "noguid" annotations.  They can be
241      turned off by specifying -guid in its command line.
242    
243    ----------------------------------------------------------------------
244    Name: Lal George
245    Date: 2002/03/12 12 14:42:36 EST
246    Tag: george-20020312-frequency-computation
247    Description:
248    
249    Integrated jump chaining and static block frequency into the
250    compiler. More details and numbers later.
251    
252    ----------------------------------------------------------------------
253  Name: Lal George  Name: Lal George
254  Date: 2002/03/11 11 22:38:53 EST  Date: 2002/03/11 11 22:38:53 EST
255  Tag: george-20020311-jump-chain-elim  Tag: george-20020311-jump-chain-elim
# Line 60  Line 297 
297  ----------------------------------------------------------------------  ----------------------------------------------------------------------
298  Name: Allen Leung  Name: Allen Leung
299  Date: 2002/03/11 10:30:00 EST  Date: 2002/03/11 10:30:00 EST
300  Tag: leunga-20020310-runtime-string0  Tag: leunga-20020311-runtime-string0
301  Description:  Description:
302    
303     The representation of the empty string now points to a     The representation of the empty string now points to a

Legend:
Removed from v.1133  
changed lines
  Added in v.1159

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