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 1128, Fri Mar 8 21:05:27 2002 UTC revision 1145, Fri Mar 15 02:30:53 2002 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2002/03/14 21:30:00 EST
18    Tag: blume-20020314-controls
19    Description:
20    
21    Controls:
22    ---------
23    
24    1. Factored out the recently-added Controls : CONTROLS stuff and put
25       it into its own library $/controls-lib.cm.  The source tree for
26       this is under src/smlnj-lib/Controls.
27    
28    2. Changed the names of types and functions in this interface, so they
29       make a bit more "sense":
30    
31          module -> registry
32          'a registry -> 'a group
33    
34    3. The interface now deals in ref cells only.  The getter/setter interface
35       is (mostly) gone.
36    
37    4. Added a function that lets one register an already-existing ref cell.
38    
39    5. Made the corresponding modifications to the rest of the code so that
40       everything compiles again.
41    
42    6. Changed the implementation of Controls.MLRISC back to something closer
43       to the original.  In particular, this module (and therefore MLRISC)
44       does not depend on Controls.  There now is some link-time code in
45       int-sys.sml that registers the MLRISC controls with the Controls
46       module.
47    
48    CM:
49    ---
50    
51      * One can now specify the lambda-split aggressiveness in init.cmi.
52    
53    ----------------------------------------------------------------------
54    Name: Allen Leung
55    Date: 2002/03/13 17:30:00 EST
56    Tag: leunga-20020313-x86-fp-unary
57    Description:
58    
59    Bug fix for:
60    
61    > leunga@weaselbane:~/Yale/tmp/sml-dist{21} bin/sml
62    > Standard ML of New Jersey v110.39.1 [FLINT v1.5], March 08, 2002
63    > - fun f(x,(y,z)) = Real.~ y;
64    > [autoloading]
65    > [autoloading done]
66    >       fchsl   (%eax), 184(%esp)
67    > Error: MLRisc bug: X86MCEmitter.emitInstr
68    >
69    > uncaught exception Error
70    >   raised at: ../MLRISC/control/mlriscErrormsg.sml:16.14-16.19
71    
72    The problem was that the code generator did not generate any fp registers
73    in this case, and the ra didn't know that it needed to run the X86FP phase to
74    translate the pseudo fp instruction.   This only happened with unary fp
75    operators in certain situations.
76    
77    ----------------------------------------------------------------------
78    Name: Matthias Blume
79    Date: 2002/03/13 14:00:00 EST
80    Tag: blume-20020313-overload-etc
81    Description:
82    
83    1. Added _overload as a synonym for overload for backward compatibility.
84       (Control.overloadKW must be true for either version to be accepted.)
85    
86    2. Fixed bug in install script that caused more things to be installed
87       than what was requested in config/targets.
88    
89    3. Made CM aware of the (_)overload construct so that autoloading
90       works.
91    
92    ----------------------------------------------------------------------
93    Name: Matthias Blume
94    Date: 2002/03/12 22:03:00 EST
95    Tag: blume-20020312-url
96    Description:
97    
98    Forgot to update BOOT and srcarchiveurl.
99    
100    ----------------------------------------------------------------------
101    Name: Matthias Blume
102    Date: 2002/03/12 17:30:00 EST
103    Tag: blume-20020312-version110392
104    Description:
105    
106    Yet another version number bump (because of small changes to the
107    binfile format).  Version number is now 110.39.2.  NEW BOOTFILES!
108    
109    Changes:
110    
111      The new pid generation scheme described a few weeks ago was overly
112      complicated.  I implemented a new mechanism that is simpler and
113      provides a bit more "stability":  Once CM has seen a compilation
114      unit, it keeps its identity constant (as long as you do not delete
115      those crucial CM/GUID/* files).  This means that when you change
116      an interface, compile, then go back to the old interface, and
117      compile again, you arrive at the original pid.
118    
119      There now also is a mechanism that instructs CM to use the plain
120      environment hash as a module's pid (effectively making its GUID
121      the empty string).  For this, "noguid" must be specified as an
122      option to the .sml file in question within its .cm file.
123      This is most useful for code that is being generated by tools such
124      as ml-nlffigen (because during development programmers tend to
125      erase the tool's entire output directory tree including CM's cached
126      GUIDs).  "noguid" is somewhat dangerous (since it can be used to locally
127      revert to the old, broken behavior of SML/NJ, but in specific cases
128      where there is no danger of interface confusion, its use is ok
129      (I think).
130    
131      ml-nlffigen by default generates "noguid" annotations.  They can be
132      turned off by specifying -guid in its command line.
133    
134    ----------------------------------------------------------------------
135    Name: Lal George
136    Date: 2002/03/12 12 14:42:36 EST
137    Tag: george-20020312-frequency-computation
138    Description:
139    
140    Integrated jump chaining and static block frequency into the
141    compiler. More details and numbers later.
142    
143    ----------------------------------------------------------------------
144    Name: Lal George
145    Date: 2002/03/11 11 22:38:53 EST
146    Tag: george-20020311-jump-chain-elim
147    Description:
148    
149    Tested the jump chain elimination on all architectures (except the
150    hppa).  This is on by default right now and is profitable for the
151    alpha and x86, however, it may not be profitable for the sparc and ppc
152    when compiling the compiler.
153    
154    The gc test will typically jump to a label at the end of the cluster,
155    where there is another jump to an external cluster containing the actual
156    code to invoke gc. This is to allow factoring of common gc invocation
157    sequences. That is to say, we generate:
158    
159            f:
160               testgc
161               ja   L1      % jump if above to L1
162    
163            L1:
164               jmp L2
165    
166    
167    After jump chain elimination the 'ja L1' instructions is converted to
168    'ja L2'. On the sparc and ppc, many of the 'ja L2' instructions may end
169    up being implemented in their long form (if L2 is far away) using:
170    
171            jbe     L3      % jump if below or equal to L3
172            jmp     L2
173         L3:
174            ...
175    
176    
177    For large compilation units L2  may be far away.
178    
179    
180    ----------------------------------------------------------------------
181    Name: Matthias Blume
182    Date: 2002/03/11 13:30:00 EST
183    Tag: blume-20020311-mltreeeval
184    Description:
185    
186    A functor parameter was missing.
187    
188    ----------------------------------------------------------------------
189    Name: Allen Leung
190    Date: 2002/03/11 10:30:00 EST
191    Tag: leunga-20020311-runtime-string0
192    Description:
193    
194       The representation of the empty string now points to a
195    legal null terminated C string instead of unit.  It is now possible
196    to convert an ML string into C string with InlineT.CharVector.getData.
197    This compiles into one single machine instruction.
198    
199    ----------------------------------------------------------------------
200    Name: Allen Leung
201    Date: 2002/03/10 23:55:00 EST
202    Tag: leunga-20020310-x86-call
203    Description:
204    
205       Added machine generation for CALL instruction (relative displacement mode)
206    
207    ----------------------------------------------------------------------
208    Name: Matthias Blume
209  Date: 2002/03/08 16:05:00  Date: 2002/03/08 16:05:00
210  Tag: blume-20020308-entrypoints  Tag: blume-20020308-entrypoints
211  Description:  Description:

Legend:
Removed from v.1128  
changed lines
  Added in v.1145

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