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 683, Wed Jul 5 00:42:19 2000 UTC revision 744, Fri Dec 8 04:11:42 2000 UTC
# Line 11  Line 11 
11  Date:  Date:
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    
15    ----------------------------------------------------------------------
16    Name: Allen Leung
17    Date: Thu Dec  7 22:01:04 EST 2000
18    Tag:  leunga-20001207-cell-monster-hack
19    Description:
20    
21    Major MLRISC internal changes.  Affect all clients.
22    Summary:
23    
24    1.  Type CELLS.cell = int is now replaced by a datatype.
25        As a result, the old regmap is now gone.  Almost all interfaces
26        in MLRISC change as a consequence.
27    
28    2.  A new brand version of machine description tool (v3.0) that generates
29        modules expecting the new interface.  The old version is removed.
30    
31    3.  The RA interface has been further abstracted into two new functors.
32        RISC_RA and X86RA.  These functors have much simpler interfaces.
33        [See also directory MLRISC/demo.]
34    
35    4.  Some other new source->source code generation tools are available:
36    
37        a. MLRISC/Tools/RewriteGen -- generate rewriters from rules.
38        b. MLRISC/Tools/WhereGen -- expands conditional pattern matching rules.
39           I use this tool to generate the peephole optimizers---with the new
40           cell type changes, peephole rules are becoming difficult to write
41           without conditional pattern matching.
42    
43    5.  More Intmap -> IntHashTable change.  Previous changes by Matthias didn't
44        cover the entire MLRISC source tree so many things broke.
45    
46    6.  CM files have been moved to the subdirectory MLRISC/cm.
47        They are moved because there are a lot of them and they clutter up the
48        root dir.
49    
50    7.  More detailed documentation to come...
51    
52        NOTE: To rebuild from 110.30 (ftp distribution), you'll have to do
53        a makeml -rebuild first.  This is because of other other
54        changes that Matthias has made (see below).
55    
56    
57    ----------------------------------------------------------------------
58    Name: Matthias Blume
59    Date: 2000/11/30 23:12:00 JST
60    Tag: blume-20001130-filereorg
61    Description:
62    
63    Some manual updates and some file reorganizations in CM.
64    
65    ----------------------------------------------------------------------
66    Name: Matthias Blume
67    Date: 2000/11/24 17:45:00 JST
68    Tag: blume-20001124-link
69    Description:
70    
71    Drastically improved link traversal code for the case that the dynamic
72    value was already loaded at bootstrap time.  As a result, CM and CMB
73    now both load blazingly fast -- even on a very slow machine.  Also,
74    memory consumption has been further reduced by this.
75    
76    Warning: The format of the PIDMAP file has changed.  THerefore, to
77    bootstrap you have to do this:
78    
79    1. Run CMB.make
80    2. Make a symbolic link for the boot directory:
81         ln -s sml.boot.ARCH-OS xxx
82    3. "Rebuild" the boot directory:
83         ./makeml -boot xxx -rebuild sml ; rm xxx
84    4. Boot normally:
85          ./makeml
86    
87    ----------------------------------------------------------------------
88    Name: Matthias Blume
89    Date: 2000/11/21 21:20:00 JST
90    Tag: blume-20001121-tools
91    Description:
92    
93    Continued hacking on autoloading problem -- with success this time.
94    Also changed tool-plugin mechanism.  See new CM manual.
95    
96    ----------------------------------------------------------------------
97    Name: Matthias Blume
98    Date: 2000/11/19 14:30:00 JST
99    Tag:  blume-20001119-autoload
100    Description:
101    
102    Some hacking to make autoloading faster.  Success for CMB, no success
103    so far for CM.  There is a reduced structure CM' that autoloads faster.
104    (This is a temporary, non-documented hack to be eliminated again when
105    the general problem is solved.)
106    
107    ----------------------------------------------------------------------
108    Name: Matthias Blume
109    Date: 2000/11/17 14:10:00 JST
110    Tag: blume-20001117-pickle-lib
111    Description:
112    
113    1. Eliminated comp-lib.cm
114    2. Made pickle-lib.cm
115    3. Eliminated all uses of intset.sml (from comp-lib.cm)
116    4. Replaced all uses of intmap.{sig,sml} (from comp-lib.cm) with
117       equivalent constructs from smlnj-lib.cm (INtHashTable).
118    5. Point 4. also goes for those uses of intmap.* in MLRISC.
119       Duplicated intmap modules thrown out.
120    6. Hunted down all duplicated SCC code and replaced it with
121       equivalent stuff (GraphSCCFn from smlnj-lib.cm).
122    7. Rewrote Feedback module.
123    8. Moved sortedlist.sml into viscomp-lib.cm.  Eventually it
124       should be thrown out and equivalent modules from smlnj-lib.cm
125       should be used (IntRedBlackSet, IntListSet, ...).
126    
127    Confirmed that compiler compiles to fixpoint.
128    
129    ----------------------------------------------------------------------
130    Name: Allen Leung
131    Date: 2000/11/10 18:00:00
132    Tag: leunga-20001110-new-x86-fp
133    
134    A new x86 floating point code generator has been added.
135    By default this is turned off.  To turn this on, do:
136    
137        CM.autoload "$smlnj/compiler.cm";
138        Compiler.Control.MLRISC.getFlag "x86-fast-fp" := true;
139    
140    Changes:
141    
142    1.  Changed FTAN to FPTAN so that the assembly output is correct.
143    2.  Changed the extension callback for FTANGENT to generate:
144    
145              fptan
146              fstp  %st(0)
147        instead of
148              fptan
149              fstpl ftempmem
150    
151    3.  Numerous assembly fixes for x86.
152    
153    5.  Cleaned up the machine code output module x86/x86MC.sml and added
154        support for a whole bunch of instructions and addressing modes:
155    
156          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st, %st(n)
157          faddp/fsubp/fsubrp/fmulp/fdivp/fdivrp  %st, %st(n)
158          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st(n), %st
159          fiadd/fisub/fisubr/fimul/fidiv/fidivr mem
160          fxch %st(n)
161          fld %st(n)
162          fst %st(n)
163          fst mem
164          fstp %st(n)
165          fucom %st(n)
166          fucomp %st(n)
167    
168        All these are now generated when the fast fp mode is turned on.
169    
170    6.  Removed the dedicated registers %st(0), ..., %st(7) from X86CpsRegs
171    
172    ----------------------------------------------------------------------
173    Name: Matthias Blume
174    Date: 2000/11/09 11:20:00 JST
175    Tag: blume-20001109-scc
176    Description:
177    
178    Eliminated some code duplication:
179    
180    1. Added "where" clause to GraphSCCFn in SML/NJ Library.
181       (Otherwise the functor is useless.)
182    2. Used GraphSCCFn where SCCUtilFun was used previously.
183    3. Got rid of SCCUtilFun (in comp-lib.cm).
184    
185    ----------------------------------------------------------------------
186    Name: Lal George
187    Date: 2000/11/06 09:02:21 EST 2000
188    Tag: Release_110_30
189    Description:
190    
191    - Version 110.30
192    ----------------------------------------------------------------------
193    Name: Matthias Blume
194    Date: 2000/11/04 14:45:00
195    Tag: blume-20001104-mlbuild
196    Description:
197    
198    - Made ml-build faster on startup.
199    - Documentation fixes.
200    
201    ----------------------------------------------------------------------
202    Name: Matthias Blume
203    Date: 2000/11/02 17:00:00 JST
204    Tag: blume-20001102-condcomp
205    Description:
206    
207    - Small tweaks to pickler -- new BOOTFILES!
208    - Version bumped to 110.29.2.
209    - Added conditional compilation facility to init.cmi (see comment there).
210    ----------------------------------------------------------------------
211    Name: Allen Leung
212    Date: 2000/10/23 19:31:00
213    Tag: leunga-20001023-demo-ra
214    
215    1. Minor RA changes that improves spilling on x86 (affects Moby and C-- only)
216    2. Test programs for the graph library updated
217    3. Some new MLRISC demo programs added
218    
219    ----------------------------------------------------------------------
220    Name: Matthias Blume
221    Date: 2000/08/31 22:15:00 JST
222    Tag: blume-20001017-errmsg
223    Description:
224    
225    More error message grief: Where there used to be no messages, there
226    now were some that had bogus error regions.  Fixed.
227    
228    ----------------------------------------------------------------------
229    Name: Matthias Blume
230    Date: 2000/08/31 17:30:00 JST
231    Tag: blume-20001017-v110p29p1
232    Description:
233    
234    I made a version 110.29.1 with new bootfiles.
235    
236    Changes:  Modified pickler/unpickler for faster and leaner unpickling.
237              CM documentation changes and a small bugfix in CM's error reporting.
238    
239    ----------------------------------------------------------------------
240    Name: Lal George
241    Date: 2000/09/27 14:42:35 EDT
242    Tag: george-20000927-nodestatus
243    Description:
244    
245    Changed the type of the nodestatus, so that:
246    
247            SPILLED(~1)             is now SPILLED
248            SPILLED(m) where m>=0   is now MEMREG(m)
249            SPILLED(s) where s<~1   is now SPILL_LOC(~s)
250    
251    ----------------------------------------------------------------------
252    Name: Matthias Blume
253    Date: 2000/09/07 14:45:00 JST
254    Tag: blume-20000907-cmerrmsg
255    Description:
256    
257    Small tweak to CM to avoid getting ML syntax error messages twice.
258    
259    ----------------------------------------------------------------------
260    Name: Matthias Blume
261    Date: 2000/08/31 18:00:00 JST
262    Tag: blume-20000831-cvsbootfiles
263    Description:
264    
265    New URL for boot files (because the 110.29 files on the BL server do
266    now work correctly with my updated install scripts for yacc and lex).
267    
268    ----------------------------------------------------------------------
269    Name: Matthias Blume
270    Date: 2000/08/08 12:33:00 JST
271    Tag: blume-20000808-manual
272    Description:
273    
274    Tiny update to CM manual.
275    
276    ----------------------------------------------------------------------
277    Name: Allen Leung
278    Date: 2000/08/7 19:31:00
279    Tag: leunga-20000807-a-whole-bunch-of-stuff
280    
281      Moby, C--, SSA, x86, machine descriptions etc.  Should only affect C--
282    and Mobdy.
283    
284    1.  x86
285    
286       a.  Fixes to peephole module by John and Dan.
287       b.  Assembly fix to SETcc by Allen.
288       c.  Fix to c-call by John.
289       d.  Fix to spilling by John.  (This one deals with the missing FSTPT case)
290       e.  Instruction selection optimization to SETcc as suggested by John.
291    
292           For example,
293    
294            MV(32, x, COND(32, CMP(32, LT, a, b), LI 1, LI 0))
295    
296           should generate:
297    
298            MOVL a, x
299            SUBL b, x
300            SHRL 31, x
301    
302    2.  IR stuff
303    
304         A bunch of new DJ-graph related algorithms added.  These
305         speed up SSA construction.
306    
307    3.  SSA + Scheduling
308    
309         Added code for SSA and scheduling to the repository
310    
311    ----------------------------------------------------------------------
312    Name: Lal George
313    Date: 2000/07/27 11:53:14 EDT
314    
315    Tag: lal-20000727-linux-ppc
316    Description:
317    
318     Made changes to support Linux PPC.
319     p.s. I have confirmation that the 110.29 boot files work fine.
320    
321    ----------------------------------------------------------------------
322    Name: Matthias Blume
323    Date: 2000/07/27 17:40:00 JST
324    Tag: blume-20000727-scripts
325    Description:
326    
327    !!!! WARNING !!!!
328    You must recompile the runtime system!
329    !!!! WARNING !!!!
330    
331    This is basically another round of script-enhancements:
332    
333    1. sml, ml-build, and ml-makedepend accept options -D and -U to define
334       and undefine CM preprocessor symbols.
335    
336    2. ml-build avoids generating a new heap image if it finds that the
337       existing one is still ok.  (The condition is that no ML file had to
338       be recompiled and all ML files are found to be older that the heap
339       file.)
340    
341       To make this work smoothly, I also hacked the runtime system as
342       well as SMLofNJ.SysInfo to get access to the heap image suffix
343       (.sparc-solaris, ...) that is currently being used.
344    
345       Moreover, the signature of CM.mk_standalone has changed.  See the
346       CM manual.
347    
348    3. ml-makedepend accepts additional options -n, -a, and -o.  (See the
349       CM manual for details.)
350    
351    4. More CM manual updates:
352        - all of the above has been documented.
353        - there is now a section describing the (CM-related) command line
354          arguments that are accepted by the "sml" command
355    
356    ----------------------------------------------------------------------
357    Name: Matthias Blume
358    Date: 2000/07/25 16:20:00 JST
359    Tag: blume-20000725-makedepend
360    Description:
361    
362    Added a script called ml-makedepend.  This can be used in makefiles
363    for Unix' make in a way very similar to the "makedepend" command for
364    C.
365    
366    The script internally uses function CM.sources.
367    
368    Synopsis:
369    
370        ml-makedepend [-f makefile] cmfile targetname
371    
372    The default for the makefile is "makefile" (or "Makefile" should
373    "makefile" not exist).
374    
375    ml-makedepend adds a cmfile/targetname-specific section to this
376    makefile (after removing the previous version of this section).  The
377    section contains a single dependency specification with targetname on
378    the LHS (targetname is an arbitrary name), and a list of files derived
379    from the cmfile on the RHS.  Some of the files on the RHS are
380    ARCH/OPSYS-specific.  Therefore, ml-makedepend inserts references to
381    "make" variables $(ARCH) and $(OPSYS) in place of the corresponding
382    path names.  The makefile writer is responsible for making sure that
383    these variables have correct at the time "make" is invoked.
384    
385    ----------------------------------------------------------------------
386    Name: Matthias Blume
387    Date: 2000/07/22 23:30:00 JST
388    Tag: blume-20000722-urlupdate
389    Description:
390    
391    Changed BOOT and config/srcarchiveurl to point to BL server:
392    
393        ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.29/
394    
395    ----------------------------------------------------------------------
396    Name: Matthias Blume
397    Date: 2000/07/18 18:00:00 JST
398    Tag: blume-20000718-Version_110_29
399    Description:
400    
401    1. Updated src/compiler/TopLevel/main/version.sml to version 110.29
402    
403    2. Updated config/version to 110.29
404    
405    3. Updated config/srcarchiveurl
406    
407    3. New boot files!
408       ftp://ftp.cs.princeton.edu/pub/people/blume/sml/110.29-autofetch
409    
410    ----------------------------------------------------------------------
411    Name: Matthias Blume
412    Date: 2000/07/11 13:58:00 JST
413    Tag: blume-20000711-doctypo
414    Description:
415    
416    Fixed a few typos in CM manual.
417    
418  ----------------------------------------------------------------------  ----------------------------------------------------------------------
419  Name: Allen Leung  Name: Allen Leung
420  Date: 2000/06/15 00:38:00  Date: 2000/06/15 00:38:00

Legend:
Removed from v.683  
changed lines
  Added in v.744

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