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 836, Fri May 25 19:28:51 2001 UTC revision 839, Thu Jun 7 20:28:44 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/06/07
18    Tag: blume-20010607-calls
19    Description:
20    
21    A number of internal changes related to C calls and calling conventions:
22    
23    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
24       number of bytes popped implicitly (by the callee).  In most cases
25       this field is 0 but on x86/win32 it is some non-zero value.  This
26       is information provided for the benefit of the "omit-frameptr" pass.
27    2. The CALL instruction on the x86 carries a similar "pops" field.
28       The instruction selection phase copies its value from the ML-Tree
29       CALL statement.
30    3. On all other architectures, the instruction selection phase checks
31       whether "pops=0" and complains if not.
32    4. The c-calls implementation for x86 now accepts two calling conventions:
33       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
34       up after the call and pops is set to 0.  For "stdcall", the caller
35       does nothing, leaving the cleanup to the callee; pops is set to
36       the number of bytes that were pushed onto the stack.
37    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
38       distinguish between "ccall" and "stdcall".
39    6. The UNIMP instruction has been added to the supported Sparc instruction
40       set. (This is needed for implementing the official C calling convention
41       on this architecture.)
42    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
43       work with the latest CM.
44    
45    ----------------------------------------------------------------------
46    Name: Matthias Blume
47    Date: 2001/06/05 15:10:00 EDT
48    Tag: blume-20010605-cm-index
49    Description:
50    
51    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
52    
53    1. CM can now generate "index files".  These are human-readable files
54       that list on a per-.cm-file basis each toplevel symbol defined or
55       imported.  The location of the index file for
56       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
57       To enable index-file generation, set CM.Control.generate_index to true
58       or export an environment-symbol: export CM_GENERATE_INDEX=true.
59    
60       The CM manual has been updated accordingly.
61    
62    2. I made some slight modifications to the c-calls API in MLRISC.
63    
64         a) There is now a callback to support saving/restoring of
65            dedicated but caller-save registers around the actual call
66            instruction.
67         b) One can optionally specify a comment-annotation for the
68            call instruction.
69    
70    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
71       (For example, the comment annotation shows the C prototype of
72        the function being called.)
73    
74    ----------------------------------------------------------------------
75    Name: Matthias Blume
76    Date: 2001/06/01 13:30:00 EDT
77    Tag: blume-20010601-nlffi-cleanup
78    Description:
79    
80    This is mostly a cleanup of MLFFI stuff:
81    
82       - some signature files have been put into a more exposed place
83       - the ugly 'f type parameter is gone (simplifies types tremendously!)
84       - ml-nlffigen changed accordingly
85       - tutorial updated
86    
87    Other changes:
88    
89       - author's affiliation in CM manual(s) updated
90       - some more recognized keywords added to Allen's sml.sty
91    
92    ----------------------------------------------------------------------
93    Name: Matthias Blume
94  Date: 2001/05/25 15:30:00 EDT  Date: 2001/05/25 15:30:00 EDT
95  Tag: blume-20010525-iptr  Tag: blume-20010525-iptr
96  Description:  Description:

Legend:
Removed from v.836  
changed lines
  Added in v.839

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