--- sml/trunk/HISTORY 2000/12/23 05:37:37 761 +++ sml/trunk/HISTORY 2001/05/22 20:30:36 832 @@ -11,6 +11,449 @@ Date: Tag: Description: + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/05/22 16:30:00 EDT +Tag: blume-20010522-minitut +Description: + +1. Bug fix in ml-nlffigen; now (hopefully) correctly handling + struct returns. +2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt. This is some very + incomplete, preliminary documentation for NLFFI. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/05/14 11:30:00 EDT +Tag: blume-20010514-script +Description: + +Some bugs in install script fixed. + +In addition to that I also made a slight change to the NLFFI API: +Functors generated by ml-nlffigen now take the dynamic library as a +straight functor argument, not as a suspended one. (The original +functor code used to force the suspension right away anyway, so there +was nothing gained by this complication of the interface.) + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/05/11 14:35:00 EDT +Tag: blume-20010511-ml-nlffi +Description: + +I finally took the plunge and added my new FFI code to the main +repository. For x86-linux it is now ready for prime-time. + +There are two new subdirectories of "src": + + - ml-nlffi-lib: + The utility library for programs using the FFI interface. + Here is the implementation of $/c.cm and its associated low-level + partners $/c-int.cm and $/memory.cm. + - ml-nlffigen: + A stand-alone program for generating ML glue code from C source + code. + +Building ml-nlffigen requires $/ckit-lib.cm. + +The config/install.sh script has been updates to do the Right Thing +(hopefully). + +Notice that the source tree for the C-Kit will not be put under "src" +but directly under the installation root directory. (This is the +structure that currently exists on the CVS server when you check out +module "sml".) Fortunately, config/install.sh knows about this oddity. + +Bugs: No documentation yet. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/05/09 16:35:00 EDT +Tag: blume-20010509-cpscontract +Description: + +Fixed a bug in the accounting code in cpsopt/contract.sml. (The +wrapper/unwrapper elimination did not decrement usage counts and some +dead variables got overlooked by the dead-up logic.) + +---------------------------------------------------------------------- +Name: Lal George +Date: 2001/05/08 17:26:09 EDT +Tag: george-20010508-omit-frameptr +Description: + +Changes to implement the omit-frame-pointer optimization to support +raw C calls. For now, there is only support on the Intel x86, but +other architectures will follow as more experience is gained with this. + + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/05/07 14:40:00 EDT +Tag: blume-20010507-proxies +Description: + +I made into "proxy libraries" all libraries that qualify for such a +change. (A qualifying library is a library that has another library or +groups as its sole member and repeats that member's export list +verbatim. A proxy library avoids this repetition by omitting its export +list, effectively inheriting the list that its (only) member exports. +See the CM manual for more explanation.) +The main effect is that explicit export lists for these libraries +do not have to be kepts in sync, making maintenance a bit easier. + +I also added copyright notices to many .cm-files. + +Last but not least, I made a new set of bootfiles. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/05/04 17:00:00 EDT +Tag: blume-20010504-cm-lsplit +Description: + +0. John merged pending changes to $/smlnj-lib.cm + +1. Allen's previous change accidentally backed out of one of Lal's + earlier changes. I undid this mistake (re-introducing Lal's change). + +2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm) + within the compiler where applicable. There is some code simplification + because of that. + +3. The "split" phase (in FLINT) is now part of the default list of phases. + Compiler.Control.LambdaSplitting.* can be used to globally control the + lambda-splitting (cross-module-inlining) engine. In addition to that, + it can now also be controlled on a per-source basis: CM has been taught + a new tool parameter applicable to ML source files. + + - To turn lambda-splitting off completely: + local open Compiler.Control.LambdaSplitting in + val _ = set Off + end + - To make "no lambda-splitting" the global default (but allow per-source + overriding); this is the initial setting: + local open Compiler.Control.LambdaSplitting in + val _ = set (Default NONE) + end + - To make "lambda-splitting with aggressiveness a" the global default + (and allow per-source overriding): + local open Compiler.Control.LambdaSplitting in + val _ = set (Default (SOME a)) + end + + - To turn lambda-splitting off for a given ML souce file (say: a.sml) + write (in the respective .cm-file): + a.sml (lambdasplitting:off) + - To turn lambda-splitting for a.sml on with minimal aggressiveness: + a.sml (lambdasplitting:on) + - To turn lambda-splitting for a.sml on with aggressiveness (where + is a decimal non-negative integer): + a.sml (lambdasplitting:) + - To turn lambda-splitting for a.sml on with maximal aggressiveness: + a.sml (lambdasplitting:infinity) + - To use the global default for a.sml: + a.sml (lambdasplitting:default) + or simply + a.sml + +---------------------------------------------------------------------- +Name: Allen Leung +Date: 2001/05/04 01:57:00 EDT +Tag: leunga-20010504-sync +Description: + + MLRISC features. + + 1. Fix to CMPXCHG instructions. + 2. Changed RA interface to allow annotations in callbacks. + 3. Added a new method to the stream interface to allow annotations updates. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/05/01 11:45:00 EDT +Tag: blume-20010501-pcedittmp +Description: + +Changed install.sh to use the current working directory instead of +/usr/tmp for a temporary file (pcedittmp). The previous choice +of /usr/tmp caused trouble with MacOS X because of file premission +problems. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/04/20 11:10:00 EDT +Tag: blume-20010420-inMLflag +Description: + + - added vp_limitPtrMask to vproc-state.h + (for use by the raw-C-calls mechanism to implement proper interrupt + handling) + - made the ML compiler aware of various data-structure offsets so it + can generate code for accessing the vp_inML flag and vp_limitPtrMask + - tweaked mlriscGen.sml to have it emit interrupt-handling code for + raw C-calls + +---------------------------------------------------------------------- +Name: Lal George +Date: 2001/04/20 09:15:28 EDT +Tag: george-20010420-macosX +Description: + + - Changes to port to Mac OS X; Darwin. + + - In the process I found that sqrt was broken on the PPC, because the + fsqrt instruction is not implemented. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/04/18 12:45:00 EDT +Tag: blume-20010418-ccalls +Description: + + - fixed two off-by-4 errors in the x86-specific c-calls implementation + (this bug prevented structure arguments containing pointers from being + passed correctly) + - changed the raw-C-call code in mlriscGen.sml in such a way that + structure arguments are represented as a pointer to the beginning + of the structure (instead of having a series of synthesized arguments, + one for each structure member) + + - made makeml script's verbosity level configurable via environment + variable (MAKEML_VERBOSITY) + + - eliminated placeholder implementations for f32l, w16s, i16s, and f32s + in rawmem-x86.sml; we are now using the real thing + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/03/22 16:25:00 EST +Tag: blume-20010322-bootfiles +Description: + +Created a new set of bootfiles (for your automatic installation convenience). + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/03/22 15:10:00 EST +Tag: blume-20010322-rawmem-parcm +Description: + +1. All "raw memory access" primitives for the new FFI are implemented now + (at least on the x86). +2. Some further cleanup of CM's parallel make mechanism. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/03/19 17:53:00 EST +Tag: blume-20010319-parallel +Description: + +Parallel make (using compile servers) now works again. + +To this end, CM.stabilize and CMB.make have been modified to work in +two passes when compile servers are attached: + 1. Compile everything, do not perform stabilization; this pass + uses compile servers + 2. Stabilize everything; this pass does not use compile servers +If there are no compile servers, the two passes are combined into one +(as before). Splitting the passes increases the inherent parallelism +in the dependency graph because the entire graph including all +libraries is available at the same time. This, in turn, improves +server utilization. The downside is that the master process will +have to do some extra work after compilation is done (because for +technical reasons it must re-read all the binfiles during stabilization). + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/03/16 12:22:00 EST +Tag: blume-20010316-bootfiles +Description: + +Created a new set of bootfiles (for your automatic installation convenience). + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/03/16 11:00:00 EST +Tag: blume-20010316-MLTREE-fixup +Description: + +This is a minor fixup for an (untagged) earlier commit by Allen. +(A file was missing). + +---------------------------------------------------------------------- +Name: Allen Leung +Date: Mon Mar 5 18:54:57 EST 2001 +Tag: leunga-20010305-cut-support + +1. New support for alternative control-flow in MLTREE. + Currently we support + + FLOW_TO(CALL ...., [k1,...,kn]) + + This is needed for 'cuts to' in C-- and try/handle-like constructs + in Moby + + New assembler flag "asm-show-cutsto" to turn on control-flow debugging. + +2. Register Allocator + + Changes in interface [from Fermin, John] + +3. Alpha 8-bit SLL support [Fermin] + +4. All architectures + + A new module (ClusterExpandCopies) for expanding parallel copies. + +---------------------------------------------------------------------- +Name: Allen Leung +Date: 2001/02/27 23:07:00 EST +Tag: leunga-20010227-minor-stuff + +1. Alpha bug fix for CMOVNE +2. Handle mltree COND(..,FCMP ...,...) +3. Bug fix in simplifier + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/01/30 17:50:00 EST +Tag: blume-20010130-sync +Description: + +This is just a minor update to sync my devel branch with the main brach. +The only visible change is the addition of some README files. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/01/12 23:30:00 JST +Tag: blume-20010112-bootfiles +Description: + +Made a new set of bootfiles that goes with the current state of the +repository. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/01/12 21:20:00 JST +Tag: blume-20010112-sync +Description: + +I am just flushing out some minor changes that had accumulated in +my private branch in order to sync with the main tree. (This is +mainly because I had CVS trouble when trying to merge _into_ my +private branch.) + +Most people should be completely unaffected by this. + +---------------------------------------------------------------------- +Name: Allen Leung +Date: Thu Jan 11 21:03:00 EST 2001 +Tag: leunga-20010111-labexp=mltree +Description: + +1. Removed the type LabelExp and replace it by MLTree. +2. Rewritten mltree-simplify with the pattern matcher tool. +3. There were some bugs in alpha code generator which would break + 64-bit code generation. +4. Redo the tools to generate code with the +5. The CM files in MLRISC (and in src/system/smlnj/MLRISC) + are now generated by perl scripts. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/01/10 21:55:00 JST +Tag: blume-20010110-rcc +Description: + +The RCC stuff now seems to work (but only on the x86). +This required hacking of the c-calls interface (and -implementation) in +MLRISC. + +Normal compiler users should be unaffected. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/01/09 01:20:00 JST +Tag: blume-20010109-rcc +Description: + +This is a fairly big patch, flushing out a large number of pending +changes that I made to my development copy over the last couple of days. + +Of practical relevance at this moment is a workaround for a pickling +bug that Allen ran into the other day. The cause of the bug itself is +still unknown and it might be hard to fix it properly, but the +workaround has some merits of its own (namely somewhat reducing pickling +overhead for certain libraries). Therefore, I think this solution should +be satisfactory at this time. + +The rest of the changes (i.e., the vast majority) has to do with my +ongoing efforts of providing direct support for C function calls from +ML. At the moment there is a new primop "RAW_CCALL", typing magic +in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new +case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to +translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to +handle RCC. + +The last part (the changes to mlriscGen.sml) are still known to be +wrong on the x86 and not implemented on all other architectures. But +the infrastructure is in place. I had to change a few functor +signatures in the backend to be able to route the CCalls interface +from MLRISC there, and I had to specialize the mltree type (on the +x86) to include the necessary extensions. (The extensions themselves +were already there and redy to go in MLRISC/x86). + +Everything should be very happy as soon as someone helps me with +mlriscGen.sml... + +In any case, nothing of this should matter to anyone as long as the +new primop is not being used (which is going to be the case unless you +find it where I hid it :). The rest of the compiler is completely +unaffected. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2001/01/05 00:30:00 JST +Tag: blume-20010105-primops +Description: + +Added some experimental support for work that I am doing right now. +These changes mostly concern added primops, but there is also a new +experimental C library in the runtime system (but currently not enabled +anywhere except on Linux/X86). + +In the course of adding primops (and playing with them), I discovered that +Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly +broken. (Zhong was very right he labeled this stuff as "major gross hack".) +To recover, I made type information in INL_PRIM mandatory and changed +prim.sml as well as built-in.sml accordingly. The InLine structure now +has complete, correct type information (i.e., no bottom types). + +Since all these changes mean that we need new binfiles, I also bumped the +version number to 110.32.1. + +---------------------------------------------------------------------- +Name: Matthias Blume +Date: 2000/12/30 22:10:00 JST +Tag: blume-20001230-various +Description: + +Added proxy libraries for MLRISC and let MLRISC libraries refer +to each other using path anchors. (See CM manual for explanation.) + +Updated CM documentation. + +Fixed some bugs in CM. + +Implemented "proxy" libraries (= syntactic sugar for CM). + +Added "-quiet" option to makeml and changed runtime system accordingly. + +Added cleanup handler for exportML to reset timers and compiler stats. + ---------------------------------------------------------------------- Name: Lal George Date: 2000/12/22 22:22:58 EST 2000 @@ -22,11 +465,6 @@ ---------------------------------------------------------------------- Name: Matthias Blume -Date: 2000/12/22 21:20:00 JST -Tag: blume-20001222-anchorenv -Description: ----------------------------------------------------------------------- -Name: Matthias Blume Date: 2000/12/22 23:16:00 JST Tag: blume-20001222-warn Description: @@ -36,6 +474,14 @@ ---------------------------------------------------------------------- Name: Matthias Blume +Date: 2000/12/22 21:20:00 JST +Tag: blume-20001222-anchorenv +Description: + +Fixed CM's handling of anchor environments in connection with CMB.make. + +---------------------------------------------------------------------- +Name: Matthias Blume Date: 2000/12/22 13:15:00 JST Tag: blume-20001222-cleanup Description:
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: ---- +Name: Matthias Blume Date: 2000/12/22 13:15:00 JST Tag: blume-20001222-cleanup Description: