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 1494, Thu May 20 03:09:17 2004 UTC revision 1548, Wed Jul 14 21:25:43 2004 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/07/14 16:25:00 CDT
18    Tag: blume-20040714-union
19    Description:
20    
21    Added C_UNION to c-calls/c-types.sml and updated the machinery
22    (ml-nlffigen, cproto.sml) that conveys C function interface
23    information to the code generator.
24    
25    However, the actual architecture-specific implementation of function
26    arguments and results that are C unions is still not implemented.
27    
28    ----------------------------------------------------------------------
29    Name: Allen Leung (leunga (at) reservoir (dot) com)
30    Date: 2004/07/14 14:38:00 EST
31    Tag: leunga-110_46_1-ppc-lwzu
32    Description:
33    
34        Added these instructions to the PowerPC architecture:
35        LBZU(X), LHZU(X), LWZU(X),
36        STWU(X), STFDU, STFSU
37    
38        etc...
39    
40        Note: I haven't added their instruction encoding into the description.
41    
42    ----------------------------------------------------------------------
43    Name: Allen Leung (leunga (at) reservoir (dot) com)
44    Date: 2004/07/13 15:04:00 EST
45    Tag: leunga-110_46_1-ppc-lwarx
46    Description:
47    
48       Added the two instructions LWARX and STWCX to the PowerPC
49    instruction set.
50    
51       A (untested) rewrite of loop-structure.sml.  The old version
52    is completely broken.
53    
54    ----------------------------------------------------------------------
55    Name: Matthias Blume (blume (at) tti - c (dot) org)
56    Date: 2004/07/13 13:50:00 CDT
57    Tag: blume-20040713-nlffi
58    Description:
59    
60    - use paramAlloc to report c-calls with too many arguments
61      (for PPC version where parameter area is pre-allocated)
62    - added ccall_maxargspace to machspec (to implement the above)
63    - made "make" commend in CM's "make" tool configurable
64    - added option (default: on) for passing the name of the SML/NJ's "bin"
65      directory to "make"; the call looks like this:
66    
67         make <options> SMLNJ_BINDIR=<dir> <target>
68    
69      This can be used by the Makefile to, e.g., pick the "right" version
70      of ml-nlffigen.
71    - minor code tweaks
72    
73    ----------------------------------------------------------------------
74    Name: Matthias Blume (blume (at) tti - c (dot) org)
75    Date: 2004/07/12 22:50:00 CDT
76    Tag: blume-110_46_1-macosx-nlffi
77    Description:
78    
79    NLFFI under Mac OS X now working (sort of).  This is largely untested,
80    though.
81    
82    Note:  1. You have to make a new, clean build of the runtime system.
83           2. There are new BOOTFILES, you have to use them!
84              (Doing the bootstrap process yourself would be *very* painful!
85               If you absolutely have to do it, build the system under
86               a different architecture and then cross-compile.)
87    
88    Version bumped to 110.46.1 to account for runtime data format changes.
89    
90    ----------------------------------------------------------------------
91    Name: Matthias Blume (blume (at) tti - c (dot) org)
92    Date: 2004/06/18 14:30:00 CDT
93    Tag: blume-20040618-unix
94    Description:
95    
96    Changed the implementation of structure Unix so that the same stream
97    is returned every time one of the {text,bin}{In,Out}streamOf functions
98    is invoked on the same proc.  This is not what the spec currently
99    says -- although IMO it arguably should.  (See discussion below.)
100    
101    ----------------------------------------------------------------------
102    Name: Matthias Blume (blume (at) tti - c (dot) org)
103    Date: 2004/06/17 18:15:00 CDT
104    Tag: Release_110_46
105    Description:
106    
107    New working version (110.46).  NEW BOOTFILES!
108    
109    ----------------------------------------------------------------------
110    Name: Matthias Blume (blume (at) tti - c (dot) org)
111    Date: 2004/06/17 17:20:00 CDT
112    Tag: blume-20040617-timer-unix
113    Description:
114    
115    Changed the interface of structures Timer and Unix to match the most
116    recent Basis spec.
117    
118    In the case of Unix there still seems to be an open/weird issue:
119    
120       The {text,bin}{In,Out}streamOf functions are supposed to create
121       fresh streams whenever they are called -- as opposed to have them
122       return the same stream every time.  This design is supposed to
123       prevent space leaks caused by proc values hanging on to streams.
124    
125       The reap function, on the other hand, is supposed to close the
126       streams.  This cannot be done without having a handle on the
127       stream in proc after all...
128    
129    I took the liberty to implement the following stopgap solution:
130    
131      The proc value hangs on to the most recently created stream(s).
132      Reap closes those.  If either or both of the two streams hadn't
133      been created at all yet, then reap will close the corresponding
134      file descriptors directly.
135    
136    PS: I don't understand the original space leak argument anymore.  If
137    a proc hangs on to the imperative stream, then I/O operations on those
138    will advance the state of the cached stream and avoid the space leak.
139    
140    ----------------------------------------------------------------------
141    Name: Matthias Blume (blume (at) tti - c (dot) org)
142    Date: 2004/05/28 16:45:00 CDT
143    Tag: blume-20040528-basis
144    Description:
145    
146    Added signature PACK_REAL and exported functor PrimIO.
147    
148    ----------------------------------------------------------------------
149    Name: Matthias Blume (blume (at) tti - c (dot) org)
150    Date: 2004/05/25 16:00:00 CDT
151    Tag: blume-20040525-group-owner
152    Description:
153    
154    CM now ignores (but still accepts) the "owner" information in group
155    descriptions.  The owner of a group is its next enclosing
156    library. Each group must have a unique owner.  (There is a virtual
157    "toplevel" library that owns groups which are not nested within a real
158    library.)  Previously, each group had to explicitly declare its owner,
159    and CM would check that such a declaration is correct.  The new scheme
160    is to have CM check that for each group there is precisely one owning
161    library.
162    
163    The advantage of the new scheme is that the programmer no longer needs
164    to maintain the somewhat annoying owner information.  The downside is
165    that CM cannot enforce the ownership rule across multiple runs of
166    CM.make.  Fortunately, enclosing the same group in two different
167    libraries A and B which are not part of the same program does not
168    cause real problems.
169    
170    ----------------------------------------------------------------------
171    Name: Matthias Blume (blume (at) tti - c (dot) org)
172    Date: 2004/05/20 16:00:00 CDT
173    Tag: blume-20040520-win32
174    Description:
175    
176    Made the win32 version work again.  (Strangely, a misplaced comma had
177    slipped into win32-process.c which prevented the runtime from being
178    compiled correctly.)
179    
180    Also, included a minor addition to ml-build.bat analogous to what was
181    done in blume-20040519-ml-build.
182    
183    ----------------------------------------------------------------------
184    Name: Matthias Blume (blume (at) tti - c (dot) org)
185  Date: 2004/05/19 22:10:00 CDT  Date: 2004/05/19 22:10:00 CDT
186  Tag: blume-20040519-ml-build  Tag: blume-20040519-ml-build
187  Description:  Description:

Legend:
Removed from v.1494  
changed lines
  Added in v.1548

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