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/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1124, Thu Mar 7 19:49:22 2002 UTC revision 1126, Thu Mar 7 21:16:28 2002 UTC
# Line 13  Line 13 
13  Description:  Description:
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2002/03/07 16:15:00 EST
18    Tag: blume-20020307-controls
19    Description:
21    This is a very large but mostly boring patch which makes (almost)
22    every tuneable compiler knob (i.e., pretty much everything under
23    Control.* plus a few other things) configurable via both the command
24    line and environment variables in the style CM did its configuration
25    until now.
27    Try starting sml with '-h' (or, if you are brave, '-H')
29    To this end, I added a structure Controls : CONTROLS to smlnj-lib.cm which
30    implements the underlying generic mechanism.
32    The interface to some of the existing such facilities has changed somewhat.
33    For example, the MLRiscControl module now provides mkFoo instead of getFoo.
34    (The getFoo interface is still there for backward-compatibility, but its
35    use is deprecated.)
37    The ml-build script passes -Cxxx=yyy command-line arguments through so
38    that one can now twiddle the compiler settings when using this "batch"
39    compiler.
41    TODO items:
43    We should go through and throw out all controls that are no longer
44    connected to anything.  Moreover, we should go through and provide
45    meaningful (and correct!) documentation strings for those controls
46    that still are connected.
48    Currently, multiple calls to Controls.new are accepted (only the first
49    has any effect).  Eventually we should make sure that every control
50    is being made (via Controls.new) exactly once.  Future access can then
51    be done using Controls.acc.
53    Finally, it would probably be a good idea to use the getter-setter
54    interface to controls rather than ref cells.  For the time being, both
55    styles are provided by the Controls module, but getter-setter pairs are
56    better if thread-safety is of any concern because they can be wrapped.
58    *****************************************
60    One bug fix: The function blockPlacement in three of the MLRISC
61    backpatch files used to be hard-wired to one of two possibilities at
62    link time (according to the value of the placementFlag).  But (I
63    think) it should rather sense the flag every time.
65    *****************************************
67    Other assorted changes (by other people who did not supply a HISTORY entry):
69    1. the cross-module inliner now works much better (Monnier)
70    2. representation of weights, frequencies, and probabilities in MLRISC
71       changed in preparation of using those for weighted block placement
72       (Reppy, George)
74    ----------------------------------------------------------------------
75  Name: Lal George  Name: Lal George
76  Date: 2002/03/07 14:44:24 EST 2002  Date: 2002/03/07 14:44:24 EST 2002
77  Tag: george-20020307-weighted-block-placement  Tag: george-20020307-weighted-block-placement

Removed from v.1124  
changed lines
  Added in v.1126

ViewVC Help
Powered by ViewVC 1.0.0