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 676, Sat Jun 24 03:37:03 2000 UTC revision 815, Fri May 4 05:09:10 2001 UTC
# Line 12  Line 12 
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14  ----------------------------------------------------------------------  ----------------------------------------------------------------------
15    Name: Allen Leung
16    Date: 2001/05/04 01:57:00 EDT
17    Tag: leunga-20010504-sync
18    Description:
19    
20      MLRISC features.
21    
22      1. Fix to CMPXCHG instructions.
23      2. Changed RA interface to allow annotations in callbacks.
24      3. Added a new method to the stream interface to allow annotations updates.
25    
26    ----------------------------------------------------------------------
27    Name: Matthias Blume
28    Date: 2001/05/01 11:45:00 EDT
29    Tag: blume-20010501-pcedittmp
30    Description:
31    
32    Changed install.sh to use the current working directory instead of
33    /usr/tmp for a temporary file (pcedittmp).  The previous choice
34    of /usr/tmp caused trouble with MacOS X because of file premission
35    problems.
36    
37    ----------------------------------------------------------------------
38    Name: Matthias Blume
39    Date: 2001/04/20 11:10:00 EDT
40    Tag: blume-20010420-inMLflag
41    Description:
42    
43     - added vp_limitPtrMask to vproc-state.h
44       (for use by the raw-C-calls mechanism to implement proper interrupt
45        handling)
46     - made the ML compiler aware of various data-structure offsets so it
47       can generate code for accessing the vp_inML flag and vp_limitPtrMask
48     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
49       raw C-calls
50    
51    ----------------------------------------------------------------------
52    Name: Lal George
53    Date: 2001/04/20 09:15:28 EDT
54    Tag: george-20010420-macosX
55    Description:
56    
57     - Changes to port to Mac OS X; Darwin.
58    
59     - In the process I found that sqrt was broken on the PPC, because the
60       fsqrt instruction is not implemented.
61    
62    ----------------------------------------------------------------------
63    Name: Matthias Blume
64    Date: 2001/04/18 12:45:00 EDT
65    Tag: blume-20010418-ccalls
66    Description:
67    
68     - fixed two off-by-4 errors in the x86-specific c-calls implementation
69       (this bug prevented structure arguments containing pointers from being
70        passed correctly)
71     - changed the raw-C-call code in mlriscGen.sml in such a way that
72       structure arguments are represented as a pointer to the beginning
73       of the structure (instead of having a series of synthesized arguments,
74       one for each structure member)
75    
76     - made makeml script's verbosity level configurable via environment
77       variable (MAKEML_VERBOSITY)
78    
79     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
80       in rawmem-x86.sml; we are now using the real thing
81    
82    ----------------------------------------------------------------------
83    Name: Matthias Blume
84    Date: 2001/03/22 16:25:00 EST
85    Tag: blume-20010322-bootfiles
86    Description:
87    
88    Created a new set of bootfiles (for your automatic installation convenience).
89    
90    ----------------------------------------------------------------------
91    Name: Matthias Blume
92    Date: 2001/03/22 15:10:00 EST
93    Tag: blume-20010322-rawmem-parcm
94    Description:
95    
96    1. All "raw memory access" primitives for the new FFI are implemented now
97       (at least on the x86).
98    2. Some further cleanup of CM's parallel make mechanism.
99    
100    ----------------------------------------------------------------------
101    Name: Matthias Blume
102    Date: 2001/03/19 17:53:00 EST
103    Tag: blume-20010319-parallel
104    Description:
105    
106    Parallel make (using compile servers) now works again.
107    
108    To this end, CM.stabilize and CMB.make have been modified to work in
109    two passes when compile servers are attached:
110       1. Compile everything, do not perform stabilization; this pass
111          uses compile servers
112       2. Stabilize everything; this pass does not use compile servers
113    If there are no compile servers, the two passes are combined into one
114    (as before).  Splitting the passes increases the inherent parallelism
115    in the dependency graph because the entire graph including all
116    libraries is available at the same time.  This, in turn, improves
117    server utilization.  The downside is that the master process will
118    have to do some extra work after compilation is done (because for
119    technical reasons it must re-read all the binfiles during stabilization).
120    
121    ----------------------------------------------------------------------
122    Name: Matthias Blume
123    Date: 2001/03/16 12:22:00 EST
124    Tag: blume-20010316-bootfiles
125    Description:
126    
127    Created a new set of bootfiles (for your automatic installation convenience).
128    
129    ----------------------------------------------------------------------
130    Name: Matthias Blume
131    Date: 2001/03/16 11:00:00 EST
132    Tag: blume-20010316-MLTREE-fixup
133    Description:
134    
135    This is a minor fixup for an (untagged) earlier commit by Allen.
136    (A file was missing).
137    
138    ----------------------------------------------------------------------
139    Name: Allen Leung
140    Date: Mon Mar  5 18:54:57 EST 2001
141    Tag: leunga-20010305-cut-support
142    
143    1. New support for alternative control-flow in MLTREE.
144       Currently we support
145    
146          FLOW_TO(CALL ...., [k1,...,kn])
147    
148       This is needed for 'cuts to' in C-- and try/handle-like constructs
149       in Moby
150    
151       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
152    
153    2. Register Allocator
154    
155       Changes in interface [from Fermin, John]
156    
157    3. Alpha 8-bit SLL support [Fermin]
158    
159    4. All architectures
160    
161       A new module (ClusterExpandCopies) for expanding parallel copies.
162    
163    ----------------------------------------------------------------------
164    Name: Allen Leung
165    Date: 2001/02/27 23:07:00 EST
166    Tag: leunga-20010227-minor-stuff
167    
168    1. Alpha bug fix for CMOVNE
169    2. Handle mltree COND(..,FCMP ...,...)
170    3. Bug fix in simplifier
171    
172    ----------------------------------------------------------------------
173    Name: Matthias Blume
174    Date: 2001/01/30 17:50:00 EST
175    Tag: blume-20010130-sync
176    Description:
177    
178    This is just a minor update to sync my devel branch with the main brach.
179    The only visible change is the addition of some README files.
180    
181    ----------------------------------------------------------------------
182    Name: Matthias Blume
183    Date: 2001/01/12 23:30:00 JST
184    Tag: blume-20010112-bootfiles
185    Description:
186    
187    Made a new set of bootfiles that goes with the current state of the
188    repository.
189    
190    ----------------------------------------------------------------------
191    Name: Matthias Blume
192    Date: 2001/01/12 21:20:00 JST
193    Tag: blume-20010112-sync
194    Description:
195    
196    I am just flushing out some minor changes that had accumulated in
197    my private branch in order to sync with the main tree.  (This is
198    mainly because I had CVS trouble when trying to merge _into_ my
199    private branch.)
200    
201    Most people should be completely unaffected by this.
202    
203    ----------------------------------------------------------------------
204    Name: Allen Leung
205    Date: Thu Jan 11 21:03:00 EST 2001
206    Tag: leunga-20010111-labexp=mltree
207    Description:
208    
209    1.  Removed the type LabelExp and replace it by MLTree.
210    2.  Rewritten mltree-simplify with the pattern matcher tool.
211    3.  There were some bugs in alpha code generator which would break
212        64-bit code generation.
213    4.  Redo the tools to generate code with the
214    5.  The CM files in MLRISC (and in src/system/smlnj/MLRISC)
215        are now generated by perl scripts.
216    
217    ----------------------------------------------------------------------
218    Name: Matthias Blume
219    Date: 2001/01/10 21:55:00 JST
220    Tag: blume-20010110-rcc
221    Description:
222    
223    The RCC stuff now seems to work (but only on the x86).
224    This required hacking of the c-calls interface (and -implementation) in
225    MLRISC.
226    
227    Normal compiler users should be unaffected.
228    
229    ----------------------------------------------------------------------
230    Name: Matthias Blume
231    Date: 2001/01/09 01:20:00 JST
232    Tag: blume-20010109-rcc
233    Description:
234    
235    This is a fairly big patch, flushing out a large number of pending
236    changes that I made to my development copy over the last couple of days.
237    
238    Of practical relevance at this moment is a workaround for a pickling
239    bug that Allen ran into the other day.  The cause of the bug itself is
240    still unknown and it might be hard to fix it properly, but the
241    workaround has some merits of its own (namely somewhat reducing pickling
242    overhead for certain libraries).  Therefore, I think this solution should
243    be satisfactory at this time.
244    
245    The rest of the changes (i.e., the vast majority) has to do with my
246    ongoing efforts of providing direct support for C function calls from
247    ML.  At the moment there is a new primop "RAW_CCALL", typing magic
248    in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new
249    case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to
250    translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to
251    handle RCC.
252    
253    The last part (the changes to mlriscGen.sml) are still known to be
254    wrong on the x86 and not implemented on all other architectures.  But
255    the infrastructure is in place. I had to change a few functor
256    signatures in the backend to be able to route the CCalls interface
257    from MLRISC there, and I had to specialize the mltree type (on the
258    x86) to include the necessary extensions. (The extensions themselves
259    were already there and redy to go in MLRISC/x86).
260    
261    Everything should be very happy as soon as someone helps me with
262    mlriscGen.sml...
263    
264    In any case, nothing of this should matter to anyone as long as the
265    new primop is not being used (which is going to be the case unless you
266    find it where I hid it :). The rest of the compiler is completely
267    unaffected.
268    
269    ----------------------------------------------------------------------
270    Name: Matthias Blume
271    Date: 2001/01/05 00:30:00 JST
272    Tag: blume-20010105-primops
273    Description:
274    
275    Added some experimental support for work that I am doing right now.
276    These changes mostly concern added primops, but there is also a new
277    experimental C library in the runtime system (but currently not enabled
278    anywhere except on Linux/X86).
279    
280    In the course of adding primops (and playing with them), I discovered that
281    Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly
282    broken.  (Zhong was very right he labeled this stuff as "major gross hack".)
283    To recover, I made type information in INL_PRIM mandatory and changed
284    prim.sml as well as built-in.sml accordingly.  The InLine structure now
285    has complete, correct type information (i.e., no bottom types).
286    
287    Since all these changes mean that we need new binfiles, I also bumped the
288    version number to 110.32.1.
289    
290    ----------------------------------------------------------------------
291    Name: Matthias Blume
292    Date: 2000/12/30 22:10:00 JST
293    Tag: blume-20001230-various
294    Description:
295    
296    Added proxy libraries for MLRISC and let MLRISC libraries refer
297    to each other using path anchors.  (See CM manual for explanation.)
298    
299    Updated CM documentation.
300    
301    Fixed some bugs in CM.
302    
303    Implemented "proxy" libraries (= syntactic sugar for CM).
304    
305    Added "-quiet" option to makeml and changed runtime system accordingly.
306    
307    Added cleanup handler for exportML to reset timers and compiler stats.
308    
309    ----------------------------------------------------------------------
310    Name: Lal George
311    Date: 2000/12/22 22:22:58 EST 2000
312    Tag: Release_110_32
313    Description:
314    
315            Infinite precision used throughout MLRISC.
316            see MLRISC/mltree/machine-int.sig
317    
318    ----------------------------------------------------------------------
319    Name: Matthias Blume
320    Date: 2000/12/22 23:16:00 JST
321    Tag: blume-20001222-warn
322    Description:
323    
324    Corrected wording and formatting of some CM warning message which I
325    broke in my previous patch.
326    
327    ----------------------------------------------------------------------
328    Name: Matthias Blume
329    Date: 2000/12/22 21:20:00 JST
330    Tag: blume-20001222-anchorenv
331    Description:
332    
333    Fixed CM's handling of anchor environments in connection with CMB.make.
334    
335    ----------------------------------------------------------------------
336    Name: Matthias Blume
337    Date: 2000/12/22 13:15:00 JST
338    Tag: blume-20001222-cleanup
339    Description:
340    
341    Removed src/cm/ffi which does not (and did not) belong here.
342    
343    ----------------------------------------------------------------------
344    Name: Matthias Blume
345    Date: 2000/12/21 23:55:00 JST
346    Tag: blume-20001221-exn
347    Description:
348    
349    Probably most important: CM no longer silently swallows all exceptions
350    in the compiler.
351    Plus: some other minor CM changes.  For example, CM now reports some
352    sizes for generated binfiles (code, data, envpickle, lambdapickle).
353    
354    ----------------------------------------------------------------------
355    Name: Matthias Blume
356    Date: 2000/12/15 00:01:05 JST
357    Tag: blume-20001215-dirtool
358    Description:
359    
360    - "dir" tool added.
361    - improvements and cleanup to Tools structure
362    - documentation updates
363    
364    ----------------------------------------------------------------------
365    Name: Allen Leung
366    Date: Thu Dec 14 03:45:24 EST 2000
367    Description:
368    Tag:  leunga-20001214-int-inf
369    Description:
370    
371       In IntInf, added these standard functions, which are missing from our
372    implementation:
373    
374        andb : int * int -> int
375        xorb : int * int -> int
376        orb  : int * int -> int
377        notb : int -> int
378         <<   : int * word -> int
379        ~>>  : int * word -> int
380    
381       Not tested, I hope they are correct.
382    
383    ----------------------------------------------------------------------
384    Name: Allen Leung
385    Date: Fri Dec  8 19:23:26 EST 2000
386    Description:
387    Tag:  leunga-20001208-nowhere
388    Description:
389    
390      Slight improvements to the 'nowhere' tool to handle OR-patterns,
391    to generate better error messages etc.  Plus a brief manual.
392    
393    ----------------------------------------------------------------------
394    Name: Lal George
395    Date: 2000/12/08 09:54:02 EST 2000
396    Tag: Release_110_31
397    Description:
398    
399    - Version 110.31
400    ----------------------------------------------------------------------
401    Name: Allen Leung
402    Date: Thu Dec  7 22:01:04 EST 2000
403    Tag:  leunga-20001207-cell-monster-hack
404    Description:
405    
406    Major MLRISC internal changes.  Affect all clients.
407    Summary:
408    
409    1.  Type CELLS.cell = int is now replaced by a datatype.
410        As a result, the old regmap is now gone.  Almost all interfaces
411        in MLRISC change as a consequence.
412    
413    2.  A new brand version of machine description tool (v3.0) that generates
414        modules expecting the new interface.  The old version is removed.
415    
416    3.  The RA interface has been further abstracted into two new functors.
417        RISC_RA and X86RA.  These functors have much simpler interfaces.
418        [See also directory MLRISC/demo.]
419    
420    4.  Some other new source->source code generation tools are available:
421    
422        a. MLRISC/Tools/RewriteGen -- generate rewriters from rules.
423        b. MLRISC/Tools/WhereGen -- expands conditional pattern matching rules.
424           I use this tool to generate the peephole optimizers---with the new
425           cell type changes, peephole rules are becoming difficult to write
426           without conditional pattern matching.
427    
428    5.  More Intmap -> IntHashTable change.  Previous changes by Matthias didn't
429        cover the entire MLRISC source tree so many things broke.
430    
431    6.  CM files have been moved to the subdirectory MLRISC/cm.
432        They are moved because there are a lot of them and they clutter up the
433        root dir.
434    
435    7.  More detailed documentation to come...
436    
437        NOTE: To rebuild from 110.30 (ftp distribution), you'll have to do
438        a makeml -rebuild first.  This is because of other other
439        changes that Matthias has made (see below).
440    
441    
442    ----------------------------------------------------------------------
443    Name: Matthias Blume
444    Date: 2000/11/30 23:12:00 JST
445    Tag: blume-20001130-filereorg
446    Description:
447    
448    Some manual updates and some file reorganizations in CM.
449    
450    ----------------------------------------------------------------------
451    Name: Matthias Blume
452    Date: 2000/11/24 17:45:00 JST
453    Tag: blume-20001124-link
454    Description:
455    
456    Drastically improved link traversal code for the case that the dynamic
457    value was already loaded at bootstrap time.  As a result, CM and CMB
458    now both load blazingly fast -- even on a very slow machine.  Also,
459    memory consumption has been further reduced by this.
460    
461    Warning: The format of the PIDMAP file has changed.  THerefore, to
462    bootstrap you have to do this:
463    
464    1. Run CMB.make
465    2. Make a symbolic link for the boot directory:
466         ln -s sml.boot.ARCH-OS xxx
467    3. "Rebuild" the boot directory:
468         ./makeml -boot xxx -rebuild sml ; rm xxx
469    4. Boot normally:
470          ./makeml
471    
472    ----------------------------------------------------------------------
473    Name: Matthias Blume
474    Date: 2000/11/21 21:20:00 JST
475    Tag: blume-20001121-tools
476    Description:
477    
478    Continued hacking on autoloading problem -- with success this time.
479    Also changed tool-plugin mechanism.  See new CM manual.
480    
481    ----------------------------------------------------------------------
482    Name: Matthias Blume
483    Date: 2000/11/19 14:30:00 JST
484    Tag:  blume-20001119-autoload
485    Description:
486    
487    Some hacking to make autoloading faster.  Success for CMB, no success
488    so far for CM.  There is a reduced structure CM' that autoloads faster.
489    (This is a temporary, non-documented hack to be eliminated again when
490    the general problem is solved.)
491    
492    ----------------------------------------------------------------------
493    Name: Matthias Blume
494    Date: 2000/11/17 14:10:00 JST
495    Tag: blume-20001117-pickle-lib
496    Description:
497    
498    1. Eliminated comp-lib.cm
499    2. Made pickle-lib.cm
500    3. Eliminated all uses of intset.sml (from comp-lib.cm)
501    4. Replaced all uses of intmap.{sig,sml} (from comp-lib.cm) with
502       equivalent constructs from smlnj-lib.cm (INtHashTable).
503    5. Point 4. also goes for those uses of intmap.* in MLRISC.
504       Duplicated intmap modules thrown out.
505    6. Hunted down all duplicated SCC code and replaced it with
506       equivalent stuff (GraphSCCFn from smlnj-lib.cm).
507    7. Rewrote Feedback module.
508    8. Moved sortedlist.sml into viscomp-lib.cm.  Eventually it
509       should be thrown out and equivalent modules from smlnj-lib.cm
510       should be used (IntRedBlackSet, IntListSet, ...).
511    
512    Confirmed that compiler compiles to fixpoint.
513    
514    ----------------------------------------------------------------------
515    Name: Allen Leung
516    Date: 2000/11/10 18:00:00
517    Tag: leunga-20001110-new-x86-fp
518    
519    A new x86 floating point code generator has been added.
520    By default this is turned off.  To turn this on, do:
521    
522        CM.autoload "$smlnj/compiler.cm";
523        Compiler.Control.MLRISC.getFlag "x86-fast-fp" := true;
524    
525    Changes:
526    
527    1.  Changed FTAN to FPTAN so that the assembly output is correct.
528    2.  Changed the extension callback for FTANGENT to generate:
529    
530              fptan
531              fstp  %st(0)
532        instead of
533              fptan
534              fstpl ftempmem
535    
536    3.  Numerous assembly fixes for x86.
537    
538    5.  Cleaned up the machine code output module x86/x86MC.sml and added
539        support for a whole bunch of instructions and addressing modes:
540    
541          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st, %st(n)
542          faddp/fsubp/fsubrp/fmulp/fdivp/fdivrp  %st, %st(n)
543          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st(n), %st
544          fiadd/fisub/fisubr/fimul/fidiv/fidivr mem
545          fxch %st(n)
546          fld %st(n)
547          fst %st(n)
548          fst mem
549          fstp %st(n)
550          fucom %st(n)
551          fucomp %st(n)
552    
553        All these are now generated when the fast fp mode is turned on.
554    
555    6.  Removed the dedicated registers %st(0), ..., %st(7) from X86CpsRegs
556    
557    ----------------------------------------------------------------------
558    Name: Matthias Blume
559    Date: 2000/11/09 11:20:00 JST
560    Tag: blume-20001109-scc
561    Description:
562    
563    Eliminated some code duplication:
564    
565    1. Added "where" clause to GraphSCCFn in SML/NJ Library.
566       (Otherwise the functor is useless.)
567    2. Used GraphSCCFn where SCCUtilFun was used previously.
568    3. Got rid of SCCUtilFun (in comp-lib.cm).
569    
570    ----------------------------------------------------------------------
571    Name: Lal George
572    Date: 2000/11/06 09:02:21 EST 2000
573    Tag: Release_110_30
574    Description:
575    
576    - Version 110.30
577    ----------------------------------------------------------------------
578    Name: Matthias Blume
579    Date: 2000/11/04 14:45:00
580    Tag: blume-20001104-mlbuild
581    Description:
582    
583    - Made ml-build faster on startup.
584    - Documentation fixes.
585    
586    ----------------------------------------------------------------------
587    Name: Matthias Blume
588    Date: 2000/11/02 17:00:00 JST
589    Tag: blume-20001102-condcomp
590    Description:
591    
592    - Small tweaks to pickler -- new BOOTFILES!
593    - Version bumped to 110.29.2.
594    - Added conditional compilation facility to init.cmi (see comment there).
595    ----------------------------------------------------------------------
596    Name: Allen Leung
597    Date: 2000/10/23 19:31:00
598    Tag: leunga-20001023-demo-ra
599    
600    1. Minor RA changes that improves spilling on x86 (affects Moby and C-- only)
601    2. Test programs for the graph library updated
602    3. Some new MLRISC demo programs added
603    
604    ----------------------------------------------------------------------
605    Name: Matthias Blume
606    Date: 2000/08/31 22:15:00 JST
607    Tag: blume-20001017-errmsg
608    Description:
609    
610    More error message grief: Where there used to be no messages, there
611    now were some that had bogus error regions.  Fixed.
612    
613    ----------------------------------------------------------------------
614    Name: Matthias Blume
615    Date: 2000/08/31 17:30:00 JST
616    Tag: blume-20001017-v110p29p1
617    Description:
618    
619    I made a version 110.29.1 with new bootfiles.
620    
621    Changes:  Modified pickler/unpickler for faster and leaner unpickling.
622              CM documentation changes and a small bugfix in CM's error reporting.
623    
624    ----------------------------------------------------------------------
625    Name: Lal George
626    Date: 2000/09/27 14:42:35 EDT
627    Tag: george-20000927-nodestatus
628    Description:
629    
630    Changed the type of the nodestatus, so that:
631    
632            SPILLED(~1)             is now SPILLED
633            SPILLED(m) where m>=0   is now MEMREG(m)
634            SPILLED(s) where s<~1   is now SPILL_LOC(~s)
635    
636    ----------------------------------------------------------------------
637    Name: Matthias Blume
638    Date: 2000/09/07 14:45:00 JST
639    Tag: blume-20000907-cmerrmsg
640    Description:
641    
642    Small tweak to CM to avoid getting ML syntax error messages twice.
643    
644    ----------------------------------------------------------------------
645    Name: Matthias Blume
646    Date: 2000/08/31 18:00:00 JST
647    Tag: blume-20000831-cvsbootfiles
648    Description:
649    
650    New URL for boot files (because the 110.29 files on the BL server do
651    now work correctly with my updated install scripts for yacc and lex).
652    
653    ----------------------------------------------------------------------
654    Name: Matthias Blume
655    Date: 2000/08/08 12:33:00 JST
656    Tag: blume-20000808-manual
657    Description:
658    
659    Tiny update to CM manual.
660    
661    ----------------------------------------------------------------------
662    Name: Allen Leung
663    Date: 2000/08/7 19:31:00
664    Tag: leunga-20000807-a-whole-bunch-of-stuff
665    
666      Moby, C--, SSA, x86, machine descriptions etc.  Should only affect C--
667    and Mobdy.
668    
669    1.  x86
670    
671       a.  Fixes to peephole module by John and Dan.
672       b.  Assembly fix to SETcc by Allen.
673       c.  Fix to c-call by John.
674       d.  Fix to spilling by John.  (This one deals with the missing FSTPT case)
675       e.  Instruction selection optimization to SETcc as suggested by John.
676    
677           For example,
678    
679            MV(32, x, COND(32, CMP(32, LT, a, b), LI 1, LI 0))
680    
681           should generate:
682    
683            MOVL a, x
684            SUBL b, x
685            SHRL 31, x
686    
687    2.  IR stuff
688    
689         A bunch of new DJ-graph related algorithms added.  These
690         speed up SSA construction.
691    
692    3.  SSA + Scheduling
693    
694         Added code for SSA and scheduling to the repository
695    
696    ----------------------------------------------------------------------
697    Name: Lal George
698    Date: 2000/07/27 11:53:14 EDT
699    
700    Tag: lal-20000727-linux-ppc
701    Description:
702    
703     Made changes to support Linux PPC.
704     p.s. I have confirmation that the 110.29 boot files work fine.
705    
706    ----------------------------------------------------------------------
707    Name: Matthias Blume
708    Date: 2000/07/27 17:40:00 JST
709    Tag: blume-20000727-scripts
710    Description:
711    
712    !!!! WARNING !!!!
713    You must recompile the runtime system!
714    !!!! WARNING !!!!
715    
716    This is basically another round of script-enhancements:
717    
718    1. sml, ml-build, and ml-makedepend accept options -D and -U to define
719       and undefine CM preprocessor symbols.
720    
721    2. ml-build avoids generating a new heap image if it finds that the
722       existing one is still ok.  (The condition is that no ML file had to
723       be recompiled and all ML files are found to be older that the heap
724       file.)
725    
726       To make this work smoothly, I also hacked the runtime system as
727       well as SMLofNJ.SysInfo to get access to the heap image suffix
728       (.sparc-solaris, ...) that is currently being used.
729    
730       Moreover, the signature of CM.mk_standalone has changed.  See the
731       CM manual.
732    
733    3. ml-makedepend accepts additional options -n, -a, and -o.  (See the
734       CM manual for details.)
735    
736    4. More CM manual updates:
737        - all of the above has been documented.
738        - there is now a section describing the (CM-related) command line
739          arguments that are accepted by the "sml" command
740    
741    ----------------------------------------------------------------------
742    Name: Matthias Blume
743    Date: 2000/07/25 16:20:00 JST
744    Tag: blume-20000725-makedepend
745    Description:
746    
747    Added a script called ml-makedepend.  This can be used in makefiles
748    for Unix' make in a way very similar to the "makedepend" command for
749    C.
750    
751    The script internally uses function CM.sources.
752    
753    Synopsis:
754    
755        ml-makedepend [-f makefile] cmfile targetname
756    
757    The default for the makefile is "makefile" (or "Makefile" should
758    "makefile" not exist).
759    
760    ml-makedepend adds a cmfile/targetname-specific section to this
761    makefile (after removing the previous version of this section).  The
762    section contains a single dependency specification with targetname on
763    the LHS (targetname is an arbitrary name), and a list of files derived
764    from the cmfile on the RHS.  Some of the files on the RHS are
765    ARCH/OPSYS-specific.  Therefore, ml-makedepend inserts references to
766    "make" variables $(ARCH) and $(OPSYS) in place of the corresponding
767    path names.  The makefile writer is responsible for making sure that
768    these variables have correct at the time "make" is invoked.
769    
770    ----------------------------------------------------------------------
771    Name: Matthias Blume
772    Date: 2000/07/22 23:30:00 JST
773    Tag: blume-20000722-urlupdate
774    Description:
775    
776    Changed BOOT and config/srcarchiveurl to point to BL server:
777    
778        ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.29/
779    
780    ----------------------------------------------------------------------
781    Name: Matthias Blume
782    Date: 2000/07/18 18:00:00 JST
783    Tag: blume-20000718-Version_110_29
784    Description:
785    
786    1. Updated src/compiler/TopLevel/main/version.sml to version 110.29
787    
788    2. Updated config/version to 110.29
789    
790    3. Updated config/srcarchiveurl
791    
792    3. New boot files!
793       ftp://ftp.cs.princeton.edu/pub/people/blume/sml/110.29-autofetch
794    
795    ----------------------------------------------------------------------
796    Name: Matthias Blume
797    Date: 2000/07/11 13:58:00 JST
798    Tag: blume-20000711-doctypo
799    Description:
800    
801    Fixed a few typos in CM manual.
802    
803    ----------------------------------------------------------------------
804    Name: Allen Leung
805    Date: 2000/06/15 00:38:00
806    Tag: leunga-20000704-sparc-x86
807    
808    1. x86 peephole improvement sp += k; sp -= k => nop  [from John]
809    2. fix to x86 RET bug [found by Dan Grossman]
810    3. sparc assembly bug fix for ticc instructions [found by Fermin]
811    
812       Affects c-- and moby only
813    
814    ----------------------------------------------------------------------
815    Name: Matthias Blume
816    Date: 2000/07/04 15:26:00
817    Tag: blume-20000704-trigger
818    Description:
819    
820    1. Improvements to CM manual.
821    2. SMLofNJ.Internals.BTrace.trigger reinstated as an alternative way
822       of getting a back-trace.  The function, when called, raises an
823       internal exception which explicitly carries the full back-trace history,
824       so it is unaffected by any intervening handle-raise pairs ("trivial"
825       or not).  The interactive loop will print that history once it arrives
826       at top level.
827       Short of having all exceptions implicitly carry the full history, the
828       recommended way of using this facility is:
829         - compile your program with instrumentation "on"
830         - run it, when it raises an exception, look at the history
831         - if the history is "cut off" because of some handler, go and modify
832           your program so that it explicitly calls BTrace.trigger
833         - recompile (still instrumented), and rerun; look at the full history
834    
835    ----------------------------------------------------------------------
836    Name: Matthias Blume
837    Date: 2000/07/03 15:36:00 JST
838    Tag: blume-20000702-manual
839    Description:
840    
841    Small corrections and updates to CM manual.
842    
843    ----------------------------------------------------------------------
844    Name: Matthias Blume
845    Date: 2000/06/29 16:04:00 JST
846    Tag: blume-20000629-yacctool
847    Description:
848    
849    Changes:
850    
851    1. Class "mlyacc" now takes separate arguments to pass options to
852       generated .sml- and .sig-files independently.
853    2. Corresponding CM manual updates.
854    3. BTrace module now also reports call sites.  (However, for loop clusters
855       it only shows from where the cluster was entered.)  There are associated
856       modifications to core.sml, internals.{sig,sml}, btrace.sml, and btimp.sml.
857    
858    ----------------------------------------------------------------------
859    Name: Matthias Blume
860    Date: 2000/06/27 16:51:00 JST
861    Tag: blume-20000627-noweb
862    Description:
863    
864    Changes:
865    
866     1. Implemented "subdir" and "witness" options for noweb tool.
867        This caused some slight internal changes in CM's tool implementation.
868     2. Fixed bug in "tool plugin" mechanism.  This is essentially cleaning
869        some remaining issues from earlier path anchor changes.
870     3. Updated CM manual accordingly.
871    
872     4. Changed implementation of back-tracing so that I now consider it
873        ready for prime-time.
874    
875        In particular, you don't have to explicitly trigger the back-trace
876        anymore.  Instead, if you are running BTrace-instrumented code and
877        there is an uncaught exception (regardless of whether or not it was
878        raised in instrumented code), the top-level evalloop will print
879        the back-trace.
880    
881        Features:
882    
883          - Instrumented and uninstrumented code work together seemlessly.
884            (Of course, uninstrumented code is never mentioned in actual
885             back-traces.)
886    
887          - Asymptotic time- and space-complexity of instrumented code is
888            equal to that of uninstrumented code.  (This means that
889            tail-recursion is preserved by the instrumentation phase.)
890    
891          - Modules whose code has been instrumented in different sessions
892            work together without problem.
893    
894          - There is no penalty whatsoever on uninstrumented code.
895    
896          - There is no penalty on "raise" expressions, even in
897            instrumented code.
898    
899        A potential bug (or perhaps it is a feature, too):
900    
901          A back-trace reaches no further than the outermost instrumented
902          non-trivial "raise".  Here, a "trivial" raise is one that is the
903          sole RHS of a "handle" rule.  Thus, back-traces reach trough
904    
905               <exp> handle e => raise e
906    
907          and even
908    
909               <exp> handle Foo => raise Bar
910    
911          and, of course, through
912    
913               <exp> handle Foo => ...
914    
915         if the exception was not Foo.
916    
917         Back-traces always reach right through any un-instrumented code
918         including any of its "handle" expressions, trivial or not.
919    
920       To try this out, do the following:
921    
922         - Erase all existing binfiles for your program.
923           (You may keep binfiles for those modules where you think you
924            definitely don't need back-tracing.)
925         - Turn on back-trace instrumentation:
926              SMLofNJ.Internals.BTrace.mode (SOME true);
927         - Recompile your program.  (I.e., run "CM.make" or "use".)
928         - You may now turn instrumentation off again (if you want):
929              SMLofNJ.Internals.BTrace.mode (SOME false);
930         - Run your program as usual.  If it raises an exception that
931           reaches the interactive toplevel, then a back-trace will
932           automatically be printed.  After that, the toplevel loop
933           will print the exception history as usual.
934    
935    ----------------------------------------------------------------------
936    Name: Matthias Blume
937    Date: 2000/06/26 09:56:46 JST
938    Tag: blume-20000626-setup
939    Description:
940    
941    CM: - setup-parameter to "sml" added; this can be used to run arbitrary
942          ML code before and after compiling a file (e.g., to set compiler
943          flags)
944    
945    Compiler: - improved btrace API (in core.sml, internals.{sig,sml})
946              - associated changes to btrace.sml (BTrace instrumentation pass)
947              - cleaner implementation of btimp.sml (BTrace tracing and report
948                module)
949    
950    CM manual: * new path encoding documented
951               * description of setup-parameter to "sml" added
952    
953    The biggest user-visible change to back-tracing is that it is no
954    longer necessary to compile all traced modules within the same
955    session.  (This was a real limitation.)
956    
957    ----------------------------------------------------------------------
958  Name: Matthias Blume  Name: Matthias Blume
959  Date: 2000/06/24 12:40:00 JST  Date: 2000/06/24 12:40:00 JST
960  Tag: blume-20000624-startup  Tag: blume-20000624-startup

Legend:
Removed from v.676  
changed lines
  Added in v.815

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