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 1181, Wed Mar 27 21:27:27 2002 UTC revision 1208, Tue May 21 02:22:43 2002 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2002/05/20 22:25:00 EDT
18    Tag: blume-20020520-controls
19    Description:
20    
21    - Added ControlUtil structure to control-lib.cm.
22    - Use it throughout.
23    - Used Controls facility to define MLRISC controls (as opposed to
24      registering MLRISC control ref cells with Controls after the fact)
25    - Fixed messed-up controls priorities.
26    
27    * Removed again all the stuff from config/preloads that one wouldn't
28      be able to preload at the time the initial heap image is built.
29      (Many libraries, e.g., CML, do not exist yet at this time.  The
30       only libraries that can be preloaded via config/preloads are those
31       that come bundled with the bootfiles.)
32    
33    ----------------------------------------------------------------------
34    Name: Matthias Blume
35    Date: 2002/05/20 10:59:00 EDT
36    Tag: blume-20020520-preloads
37    Description:
38    
39    Added a lot of commented-out suggestions for things to be included
40    in config/preloads.
41    
42    ----------------------------------------------------------------------
43    Name: Allen Leung
44    Date: 2002/05/18 14:20:00 EDT
45    Tag: leunga-20020518-mdl
46    Description:
47    
48    o Made the mdl tool stuff compile and run again.
49    o I've disabled all the stuff that depends on RTL specifications; they
50      are all badly broken anyway.
51    
52    ----------------------------------------------------------------------
53    Name: Matthias Blume
54    Date: 2002/05/17 16:49:00 EDT
55    Tag: blume-20020517-controls
56    Description:
57    
58    0. John Reppy made several modifications to the SML/NJ library.
59       In particular, there is a shiny new controls-lib.cm.
60    
61    1. Pushed new controls interface through compiler so that everything
62       compiles again.
63    
64    2. Added FormatComb and FORMAT_COMB to the CML version of the
65       SML/NJ library (so that CML compiles again).
66    
67    3. Modified init scripts because XXX_DEFAULT environment variables
68       are no longer with us.  (Boot-time initialization is now done
69       using the same environment variables that are also used for
70       startup-time initialization of controls.)
71    
72    ----------------------------------------------------------------------
73    Name: Lal George
74    Date: 2002/05/15 09:20:10 EDT
75    Tag: george-20020515-pseudo-op-decls
76    Description:
77    
78            All pseudo-ops emitted before the first segment declaration
79    such as TEXT, DATA, and BSS directives are assumed to be global
80    declarations and are emitted first in the assembly file. This is
81    useful in a number of situations where one has pseudo-ops that are not
82    specific to any segment, and also works around the constraint that one
83    cannot have client pseudo-ops in the TEXT segment.
84    
85            Because no segment is associated with these declarations it is
86    an error to allocate any space or objects before the first segment
87    directive and an exception will be raised. However, we cannot make
88    this check for client pseudo-ops.
89    
90            These top level declarations are a field in the CFG graph_info.
91    In theory you can continue to add to this field after the CFG has been
92    built -- provided you know what you are doing;-)
93    
94    ----------------------------------------------------------------------
95    Name: Matthias Blume
96    Date: 2002/05/13 16:40:00 EDT
97    Tag: blume-20020513-pp-etc
98    Description:
99    
100    A few minor bugfixes:
101    
102      - Stopgap measure for bug recently reported by Elsa Gunter (ppDec).
103        (Bogus printouts for redefined bindings still occur.  Compiler
104        bug should no longer occur now.  We need to redo the prettyprinter
105        from scratch.)
106    
107      - CM pathname printer now also adds escape sequences for ( and )
108    
109      - commend and docu fixes for ml-nlffi
110    
111    ----------------------------------------------------------------------
112    Name: Matthias Blume
113    Date: 2002/05/10 16:40:00 EDT
114    Tag: blume-20020510-erg-textio
115    Description:
116    
117    Applied the following bugfix provided by Emden Gansner:
118    
119        Output is corrupted when outputSubstr is used rather than output.
120    
121        The problem occurs when a substring
122    
123            ss = (s, dataStart, dataLen)
124    
125        where dataStart > 0, fills a stream buffer with avail bytes left.
126        avail bytes of s, starting at index dataStart, are copied into the
127        buffer, the buffer is flushed, and then the remaining dataLen-avail
128        bytes of ss are copied into the beginning of the buffer. Instead of
129        starting this copy at index dataStart+avail in s, the current code
130        starts the copy at index avail.
131    
132        Fix:
133        In text-io-fn.sml, change line 695 from
134             val needsFlush = copyVec(v, avail, dataLen-avail, buf, 0)
135        to
136             val needsFlush = copyVec(v, dataStart+avail, dataLen-avail, buf, 0)
137    
138    ----------------------------------------------------------------------
139    Name: Matthias Blume
140    Date: 2002/04/12 13:55:00 EDT
141    Tag: blume-20020412-assyntax
142    Description:
143    
144    1. Grabbed newer assyntax.h from the XFree86 project.
145    2. Fiddled with how to compile X86.prim.asm without warnings.
146    3. (Very) Minor cleanup in CM.
147    
148    ----------------------------------------------------------------------
149    Name: Matthias Blume
150    Date: 2002/04/01 (no joke!) 17:07:00 EST
151    Tag: blume-20020401-x86div
152    Description:
153    
154    Added full support for div/mod/rem/quot on the x86, using the machine
155    instruction's two results (without clumsily recomputing the remainder)
156    directly where appropriate.
157    
158    Some more extensive power-of-two support was added to the x86 instruction
159    selector (avoiding expensive divs, mods, and muls where they can be
160    replaced with cheaper shifts and masks).  However, this sort of thing
161    ought to be done earlier, e.g., within the CPS optimizer so that
162    all architectures benefit from it.
163    
164    The compiler compiles to a fixed point, but changes might be somewhat
165    fragile nevertheless.  Please, report any strange things that you might
166    see wrt. div/mod/quot/rem...
167    
168    ----------------------------------------------------------------------
169    Name: Matthias Blume
170    Date: 2002/03/29 17:22:00
171    Tag: blume-20020329-div
172    Description:
173    
174    Fixed my broken div/mod logic.  Unfortunately, this means that the
175    inline code for div/mod now has one more comparison than before.
176    Fast paths (quotient > 0 or remainder = 0) are not affected, though.
177    The problem was with quotient = 0, because that alone does not tell
178    us which way the rounding went.  One then has to look at whether
179    remainder and divisor have the same sign...  :(
180    
181    Anyway, I replaced the bootfiles with fresh ones...
182    
183    ----------------------------------------------------------------------
184    Name: Matthias Blume
185    Date: 2002/03/29 14:10:00 EST
186    Tag: blume-20020329-inlprims
187    Description:
188    
189    NEW BOOTFILES!!!    Version number bumped to 110.39.3.
190    
191    Primops have changed. This means that the bin/boot-file formats have
192    changed as well.
193    
194    To make sure that there is no confusion, I made a new version.
195    
196    
197    CHANGES:
198    
199    * removed REMT from mltree (remainder should never overflow).
200    
201    * added primops to deal with divisions of all flavors to the frontend
202    
203    * handled these primops all the way through so they map to their respective
204      MLRISC support
205    
206    * used these primops in the implementation of Int, Int32, Word, Word32
207    
208    * removed INLDIV, INLMOD, and INLREM as they are no longer necessary
209    
210    * parameterized INLMIN, INLMAX, and INLABS by a numkind
211    
212    * translate.sml now deals with all flavors of INL{MIN,MAX,ABS}, including
213      floating point
214    
215    * used INL{MIN,MAX,ABS} in the implementation of Int, Int32, Word, Word32,
216      and Real (but Real.abs maps to a separate floating-point-only primop)
217    
218    
219    TODO items:
220    
221    * Hacked Alpha32 instruction selection, disabling the selection of REMx
222      instructions because the machine instruction encoder cannot handle
223      them.  (Hppa, PPC, and Sparc instruction selection did not handle
224      REM in the first place, and REM is supported by the x86 machine coder.)
225    
226    * Handle DIV and MOD with DIV_TO_NEGINF directly in the x86 instruction
227      selection phase.  (The two can be streamlined because the hardware
228      delivers both quotient and remainder at the same time anyway.)
229    
230    * Think about what to do with "valOf(Int32.minInt) div ~1" and friends.
231      (Currently the behavior is inconsistent both across architectures and
232      wrt. the draft Basis spec.)
233    
234    * Word8 should eventually be handled natively, too.
235    
236    * There seems to be one serious bug in mltree-gen.sml.  It appears, though,
237      as if there currently is no execution path that could trigger it in
238      SML/NJ.  (The assumptions underlying functions arith and promotable do not
239      hold for things like multiplication and division.)
240    
241    ----------------------------------------------------------------------
242    Name: Matthias Blume
243  Date: 2002/03/27 16:27:00 EST  Date: 2002/03/27 16:27:00 EST
244  Tag: blume-20020327-mlrisc-divisions  Tag: blume-20020327-mlrisc-divisions
245  Description:  Description:

Legend:
Removed from v.1181  
changed lines
  Added in v.1208

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