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 713, Mon Oct 23 23:38:38 2000 UTC revision 808, Wed Apr 18 15:43:09 2001 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2001/04/18 12:45:00 EDT
18    Tag: blume-20010418-ccalls
19    Description:
20    
21     - fixed two off-by-4 errors in the x86-specific c-calls implementation
22       (this bug prevented structure arguments containing pointers from being
23        passed correctly)
24     - changed the raw-C-call code in mlriscGen.sml in such a way that
25       structure arguments are represented as a pointer to the beginning
26       of the structure (instead of having a series of synthesized arguments,
27       one for each structure member)
28    
29     - made makeml script's verbosity level configurable via environment
30       variable (MAKEML_VERBOSITY)
31    
32     - eliminteded placeholder implementations for f32l, w16s, i16s, and f32s
33       in rawmem-x86.sml; we are now using the real thing
34    
35    ----------------------------------------------------------------------
36    Name: Matthias Blume
37    Date: 2001/03/22 16:25:00 EST
38    Tag: blume-20010322-bootfiles
39    Description:
40    
41    Created a new set of bootfiles (for your automatic installation convenience).
42    
43    ----------------------------------------------------------------------
44    Name: Matthias Blume
45    Date: 2001/03/22 15:10:00 EST
46    Tag: blume-20010322-rawmem-parcm
47    Description:
48    
49    1. All "raw memory access" primitives for the new FFI are implemented now
50       (at least on the x86).
51    2. Some further cleanup of CM's parallel make mechanism.
52    
53    ----------------------------------------------------------------------
54    Name: Matthias Blume
55    Date: 2001/03/19 17:53:00 EST
56    Tag: blume-20010319-parallel
57    Description:
58    
59    Parallel make (using compile servers) now works again.
60    
61    To this end, CM.stabilize and CMB.make have been modified to work in
62    two passes when compile servers are attached:
63       1. Compile everything, do not perform stabilization; this pass
64          uses compile servers
65       2. Stabilize everything; this pass does not use compile servers
66    If there are no compile servers, the two passes are combined into one
67    (as before).  Splitting the passes increases the inherent parallelism
68    in the dependency graph because the entire graph including all
69    libraries is available at the same time.  This, in turn, improves
70    server utilization.  The downside is that the master process will
71    have to do some extra work after compilation is done (because for
72    technical reasons it must re-read all the binfiles during stabilization).
73    
74    ----------------------------------------------------------------------
75    Name: Matthias Blume
76    Date: 2001/03/16 12:22:00 EST
77    Tag: blume-20010316-bootfiles
78    Description:
79    
80    Created a new set of bootfiles (for your automatic installation convenience).
81    
82    ----------------------------------------------------------------------
83    Name: Matthias Blume
84    Date: 2001/03/16 11:00:00 EST
85    Tag: blume-20010316-MLTREE-fixup
86    Description:
87    
88    This is a minor fixup for an (untagged) earlier commit by Allen.
89    (A file was missing).
90    
91    ----------------------------------------------------------------------
92    Name: Allen Leung
93    Date: Mon Mar  5 18:54:57 EST 2001
94    Tag: leunga-20010305-cut-support
95    
96    1. New support for alternative control-flow in MLTREE.
97       Currently we support
98    
99          FLOW_TO(CALL ...., [k1,...,kn])
100    
101       This is needed for 'cuts to' in C-- and try/handle-like constructs
102       in Moby
103    
104       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
105    
106    2. Register Allocator
107    
108       Changes in interface [from Fermin, John]
109    
110    3. Alpha 8-bit SLL support [Fermin]
111    
112    4. All architectures
113    
114       A new module (ClusterExpandCopies) for expanding parallel copies.
115    
116    ----------------------------------------------------------------------
117    Name: Allen Leung
118    Date: 2001/02/27 23:07:00 EST
119    Tag: leunga-20010227-minor-stuff
120    
121    1. Alpha bug fix for CMOVNE
122    2. Handle mltree COND(..,FCMP ...,...)
123    3. Bug fix in simplifier
124    
125    ----------------------------------------------------------------------
126    Name: Matthias Blume
127    Date: 2001/01/30 17:50:00 EST
128    Tag: blume-20010130-sync
129    Description:
130    
131    This is just a minor update to sync my devel branch with the main brach.
132    The only visible change is the addition of some README files.
133    
134    ----------------------------------------------------------------------
135    Name: Matthias Blume
136    Date: 2001/01/12 23:30:00 JST
137    Tag: blume-20010112-bootfiles
138    Description:
139    
140    Made a new set of bootfiles that goes with the current state of the
141    repository.
142    
143    ----------------------------------------------------------------------
144    Name: Matthias Blume
145    Date: 2001/01/12 21:20:00 JST
146    Tag: blume-20010112-sync
147    Description:
148    
149    I am just flushing out some minor changes that had accumulated in
150    my private branch in order to sync with the main tree.  (This is
151    mainly because I had CVS trouble when trying to merge _into_ my
152    private branch.)
153    
154    Most people should be completely unaffected by this.
155    
156    ----------------------------------------------------------------------
157    Name: Allen Leung
158    Date: Thu Jan 11 21:03:00 EST 2001
159    Tag: leunga-20010111-labexp=mltree
160    Description:
161    
162    1.  Removed the type LabelExp and replace it by MLTree.
163    2.  Rewritten mltree-simplify with the pattern matcher tool.
164    3.  There were some bugs in alpha code generator which would break
165        64-bit code generation.
166    4.  Redo the tools to generate code with the
167    5.  The CM files in MLRISC (and in src/system/smlnj/MLRISC)
168        are now generated by perl scripts.
169    
170    ----------------------------------------------------------------------
171    Name: Matthias Blume
172    Date: 2001/01/10 21:55:00 JST
173    Tag: blume-20010110-rcc
174    Description:
175    
176    The RCC stuff now seems to work (but only on the x86).
177    This required hacking of the c-calls interface (and -implementation) in
178    MLRISC.
179    
180    Normal compiler users should be unaffected.
181    
182    ----------------------------------------------------------------------
183    Name: Matthias Blume
184    Date: 2001/01/09 01:20:00 JST
185    Tag: blume-20010109-rcc
186    Description:
187    
188    This is a fairly big patch, flushing out a large number of pending
189    changes that I made to my development copy over the last couple of days.
190    
191    Of practical relevance at this moment is a workaround for a pickling
192    bug that Allen ran into the other day.  The cause of the bug itself is
193    still unknown and it might be hard to fix it properly, but the
194    workaround has some merits of its own (namely somewhat reducing pickling
195    overhead for certain libraries).  Therefore, I think this solution should
196    be satisfactory at this time.
197    
198    The rest of the changes (i.e., the vast majority) has to do with my
199    ongoing efforts of providing direct support for C function calls from
200    ML.  At the moment there is a new primop "RAW_CCALL", typing magic
201    in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new
202    case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to
203    translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to
204    handle RCC.
205    
206    The last part (the changes to mlriscGen.sml) are still known to be
207    wrong on the x86 and not implemented on all other architectures.  But
208    the infrastructure is in place. I had to change a few functor
209    signatures in the backend to be able to route the CCalls interface
210    from MLRISC there, and I had to specialize the mltree type (on the
211    x86) to include the necessary extensions. (The extensions themselves
212    were already there and redy to go in MLRISC/x86).
213    
214    Everything should be very happy as soon as someone helps me with
215    mlriscGen.sml...
216    
217    In any case, nothing of this should matter to anyone as long as the
218    new primop is not being used (which is going to be the case unless you
219    find it where I hid it :). The rest of the compiler is completely
220    unaffected.
221    
222    ----------------------------------------------------------------------
223    Name: Matthias Blume
224    Date: 2001/01/05 00:30:00 JST
225    Tag: blume-20010105-primops
226    Description:
227    
228    Added some experimental support for work that I am doing right now.
229    These changes mostly concern added primops, but there is also a new
230    experimental C library in the runtime system (but currently not enabled
231    anywhere except on Linux/X86).
232    
233    In the course of adding primops (and playing with them), I discovered that
234    Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly
235    broken.  (Zhong was very right he labeled this stuff as "major gross hack".)
236    To recover, I made type information in INL_PRIM mandatory and changed
237    prim.sml as well as built-in.sml accordingly.  The InLine structure now
238    has complete, correct type information (i.e., no bottom types).
239    
240    Since all these changes mean that we need new binfiles, I also bumped the
241    version number to 110.32.1.
242    
243    ----------------------------------------------------------------------
244    Name: Matthias Blume
245    Date: 2000/12/30 22:10:00 JST
246    Tag: blume-20001230-various
247    Description:
248    
249    Added proxy libraries for MLRISC and let MLRISC libraries refer
250    to each other using path anchors.  (See CM manual for explanation.)
251    
252    Updated CM documentation.
253    
254    Fixed some bugs in CM.
255    
256    Implemented "proxy" libraries (= syntactic sugar for CM).
257    
258    Added "-quiet" option to makeml and changed runtime system accordingly.
259    
260    Added cleanup handler for exportML to reset timers and compiler stats.
261    
262    ----------------------------------------------------------------------
263    Name: Lal George
264    Date: 2000/12/22 22:22:58 EST 2000
265    Tag: Release_110_32
266    Description:
267    
268            Infinite precision used throughout MLRISC.
269            see MLRISC/mltree/machine-int.sig
270    
271    ----------------------------------------------------------------------
272    Name: Matthias Blume
273    Date: 2000/12/22 23:16:00 JST
274    Tag: blume-20001222-warn
275    Description:
276    
277    Corrected wording and formatting of some CM warning message which I
278    broke in my previous patch.
279    
280    ----------------------------------------------------------------------
281    Name: Matthias Blume
282    Date: 2000/12/22 21:20:00 JST
283    Tag: blume-20001222-anchorenv
284    Description:
285    
286    Fixed CM's handling of anchor environments in connection with CMB.make.
287    
288    ----------------------------------------------------------------------
289    Name: Matthias Blume
290    Date: 2000/12/22 13:15:00 JST
291    Tag: blume-20001222-cleanup
292    Description:
293    
294    Removed src/cm/ffi which does not (and did not) belong here.
295    
296    ----------------------------------------------------------------------
297    Name: Matthias Blume
298    Date: 2000/12/21 23:55:00 JST
299    Tag: blume-20001221-exn
300    Description:
301    
302    Probably most important: CM no longer silently swallows all exceptions
303    in the compiler.
304    Plus: some other minor CM changes.  For example, CM now reports some
305    sizes for generated binfiles (code, data, envpickle, lambdapickle).
306    
307    ----------------------------------------------------------------------
308    Name: Matthias Blume
309    Date: 2000/12/15 00:01:05 JST
310    Tag: blume-20001215-dirtool
311    Description:
312    
313    - "dir" tool added.
314    - improvements and cleanup to Tools structure
315    - documentation updates
316    
317    ----------------------------------------------------------------------
318    Name: Allen Leung
319    Date: Thu Dec 14 03:45:24 EST 2000
320    Description:
321    Tag:  leunga-20001214-int-inf
322    Description:
323    
324       In IntInf, added these standard functions, which are missing from our
325    implementation:
326    
327        andb : int * int -> int
328        xorb : int * int -> int
329        orb  : int * int -> int
330        notb : int -> int
331         <<   : int * word -> int
332        ~>>  : int * word -> int
333    
334       Not tested, I hope they are correct.
335    
336    ----------------------------------------------------------------------
337    Name: Allen Leung
338    Date: Fri Dec  8 19:23:26 EST 2000
339    Description:
340    Tag:  leunga-20001208-nowhere
341    Description:
342    
343      Slight improvements to the 'nowhere' tool to handle OR-patterns,
344    to generate better error messages etc.  Plus a brief manual.
345    
346    ----------------------------------------------------------------------
347    Name: Lal George
348    Date: 2000/12/08 09:54:02 EST 2000
349    Tag: Release_110_31
350    Description:
351    
352    - Version 110.31
353    ----------------------------------------------------------------------
354    Name: Allen Leung
355    Date: Thu Dec  7 22:01:04 EST 2000
356    Tag:  leunga-20001207-cell-monster-hack
357    Description:
358    
359    Major MLRISC internal changes.  Affect all clients.
360    Summary:
361    
362    1.  Type CELLS.cell = int is now replaced by a datatype.
363        As a result, the old regmap is now gone.  Almost all interfaces
364        in MLRISC change as a consequence.
365    
366    2.  A new brand version of machine description tool (v3.0) that generates
367        modules expecting the new interface.  The old version is removed.
368    
369    3.  The RA interface has been further abstracted into two new functors.
370        RISC_RA and X86RA.  These functors have much simpler interfaces.
371        [See also directory MLRISC/demo.]
372    
373    4.  Some other new source->source code generation tools are available:
374    
375        a. MLRISC/Tools/RewriteGen -- generate rewriters from rules.
376        b. MLRISC/Tools/WhereGen -- expands conditional pattern matching rules.
377           I use this tool to generate the peephole optimizers---with the new
378           cell type changes, peephole rules are becoming difficult to write
379           without conditional pattern matching.
380    
381    5.  More Intmap -> IntHashTable change.  Previous changes by Matthias didn't
382        cover the entire MLRISC source tree so many things broke.
383    
384    6.  CM files have been moved to the subdirectory MLRISC/cm.
385        They are moved because there are a lot of them and they clutter up the
386        root dir.
387    
388    7.  More detailed documentation to come...
389    
390        NOTE: To rebuild from 110.30 (ftp distribution), you'll have to do
391        a makeml -rebuild first.  This is because of other other
392        changes that Matthias has made (see below).
393    
394    
395    ----------------------------------------------------------------------
396    Name: Matthias Blume
397    Date: 2000/11/30 23:12:00 JST
398    Tag: blume-20001130-filereorg
399    Description:
400    
401    Some manual updates and some file reorganizations in CM.
402    
403    ----------------------------------------------------------------------
404    Name: Matthias Blume
405    Date: 2000/11/24 17:45:00 JST
406    Tag: blume-20001124-link
407    Description:
408    
409    Drastically improved link traversal code for the case that the dynamic
410    value was already loaded at bootstrap time.  As a result, CM and CMB
411    now both load blazingly fast -- even on a very slow machine.  Also,
412    memory consumption has been further reduced by this.
413    
414    Warning: The format of the PIDMAP file has changed.  THerefore, to
415    bootstrap you have to do this:
416    
417    1. Run CMB.make
418    2. Make a symbolic link for the boot directory:
419         ln -s sml.boot.ARCH-OS xxx
420    3. "Rebuild" the boot directory:
421         ./makeml -boot xxx -rebuild sml ; rm xxx
422    4. Boot normally:
423          ./makeml
424    
425    ----------------------------------------------------------------------
426    Name: Matthias Blume
427    Date: 2000/11/21 21:20:00 JST
428    Tag: blume-20001121-tools
429    Description:
430    
431    Continued hacking on autoloading problem -- with success this time.
432    Also changed tool-plugin mechanism.  See new CM manual.
433    
434    ----------------------------------------------------------------------
435    Name: Matthias Blume
436    Date: 2000/11/19 14:30:00 JST
437    Tag:  blume-20001119-autoload
438    Description:
439    
440    Some hacking to make autoloading faster.  Success for CMB, no success
441    so far for CM.  There is a reduced structure CM' that autoloads faster.
442    (This is a temporary, non-documented hack to be eliminated again when
443    the general problem is solved.)
444    
445    ----------------------------------------------------------------------
446    Name: Matthias Blume
447    Date: 2000/11/17 14:10:00 JST
448    Tag: blume-20001117-pickle-lib
449    Description:
450    
451    1. Eliminated comp-lib.cm
452    2. Made pickle-lib.cm
453    3. Eliminated all uses of intset.sml (from comp-lib.cm)
454    4. Replaced all uses of intmap.{sig,sml} (from comp-lib.cm) with
455       equivalent constructs from smlnj-lib.cm (INtHashTable).
456    5. Point 4. also goes for those uses of intmap.* in MLRISC.
457       Duplicated intmap modules thrown out.
458    6. Hunted down all duplicated SCC code and replaced it with
459       equivalent stuff (GraphSCCFn from smlnj-lib.cm).
460    7. Rewrote Feedback module.
461    8. Moved sortedlist.sml into viscomp-lib.cm.  Eventually it
462       should be thrown out and equivalent modules from smlnj-lib.cm
463       should be used (IntRedBlackSet, IntListSet, ...).
464    
465    Confirmed that compiler compiles to fixpoint.
466    
467    ----------------------------------------------------------------------
468    Name: Allen Leung
469    Date: 2000/11/10 18:00:00
470    Tag: leunga-20001110-new-x86-fp
471    
472    A new x86 floating point code generator has been added.
473    By default this is turned off.  To turn this on, do:
474    
475        CM.autoload "$smlnj/compiler.cm";
476        Compiler.Control.MLRISC.getFlag "x86-fast-fp" := true;
477    
478    Changes:
479    
480    1.  Changed FTAN to FPTAN so that the assembly output is correct.
481    2.  Changed the extension callback for FTANGENT to generate:
482    
483              fptan
484              fstp  %st(0)
485        instead of
486              fptan
487              fstpl ftempmem
488    
489    3.  Numerous assembly fixes for x86.
490    
491    5.  Cleaned up the machine code output module x86/x86MC.sml and added
492        support for a whole bunch of instructions and addressing modes:
493    
494          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st, %st(n)
495          faddp/fsubp/fsubrp/fmulp/fdivp/fdivrp  %st, %st(n)
496          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st(n), %st
497          fiadd/fisub/fisubr/fimul/fidiv/fidivr mem
498          fxch %st(n)
499          fld %st(n)
500          fst %st(n)
501          fst mem
502          fstp %st(n)
503          fucom %st(n)
504          fucomp %st(n)
505    
506        All these are now generated when the fast fp mode is turned on.
507    
508    6.  Removed the dedicated registers %st(0), ..., %st(7) from X86CpsRegs
509    
510    ----------------------------------------------------------------------
511    Name: Matthias Blume
512    Date: 2000/11/09 11:20:00 JST
513    Tag: blume-20001109-scc
514    Description:
515    
516    Eliminated some code duplication:
517    
518    1. Added "where" clause to GraphSCCFn in SML/NJ Library.
519       (Otherwise the functor is useless.)
520    2. Used GraphSCCFn where SCCUtilFun was used previously.
521    3. Got rid of SCCUtilFun (in comp-lib.cm).
522    
523    ----------------------------------------------------------------------
524    Name: Lal George
525    Date: 2000/11/06 09:02:21 EST 2000
526    Tag: Release_110_30
527    Description:
528    
529    - Version 110.30
530    ----------------------------------------------------------------------
531    Name: Matthias Blume
532    Date: 2000/11/04 14:45:00
533    Tag: blume-20001104-mlbuild
534    Description:
535    
536    - Made ml-build faster on startup.
537    - Documentation fixes.
538    
539    ----------------------------------------------------------------------
540    Name: Matthias Blume
541    Date: 2000/11/02 17:00:00 JST
542    Tag: blume-20001102-condcomp
543    Description:
544    
545    - Small tweaks to pickler -- new BOOTFILES!
546    - Version bumped to 110.29.2.
547    - Added conditional compilation facility to init.cmi (see comment there).
548    ----------------------------------------------------------------------
549  Name: Allen Leung  Name: Allen Leung
550  Date: 2000/10/23 19:31:00  Date: 2000/10/23 19:31:00
551  Tag: leunga-20001023-demo-ra  Tag: leunga-20001023-demo-ra

Legend:
Removed from v.713  
changed lines
  Added in v.808

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