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 1183, Fri Mar 29 19:09:48 2002 UTC revision 1189, Fri May 10 20:40:33 2002 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2002/05/10 16:40:00 EDT
18    Tag: blume-20020510-erg-textio
19    Description:
20    
21    Applied the following bugfix provided by Emden Gansner:
22    
23        Output is corrupted when outputSubstr is used rather than output.
24    
25        The problem occurs when a substring
26    
27            ss = (s, dataStart, dataLen)
28    
29        where dataStart > 0, fills a stream buffer with avail bytes left.
30        avail bytes of s, starting at index dataStart, are copied into the
31        buffer, the buffer is flushed, and then the remaining dataLen-avail
32        bytes of ss are copied into the beginning of the buffer. Instead of
33        starting this copy at index dataStart+avail in s, the current code
34        starts the copy at index avail.
35    
36        Fix:
37        In text-io-fn.sml, change line 695 from
38             val needsFlush = copyVec(v, avail, dataLen-avail, buf, 0)
39        to
40             val needsFlush = copyVec(v, dataStart+avail, dataLen-avail, buf, 0)
41    
42    ----------------------------------------------------------------------
43    Name: Matthias Blume
44    Date: 2002/04/12 13:55:00 EDT
45    Tag: blume-20020412-assyntax
46    Description:
47    
48    1. Grabbed newer assyntax.h from the XFree86 project.
49    2. Fiddled with how to compile X86.prim.asm without warnings.
50    3. (Very) Minor cleanup in CM.
51    
52    ----------------------------------------------------------------------
53    Name: Matthias Blume
54    Date: 2002/04/01 (no joke!) 17:07:00 EST
55    Tag: blume-20020401-x86div
56    Description:
57    
58    Added full support for div/mod/rem/quot on the x86, using the machine
59    instruction's two results (without clumsily recomputing the remainder)
60    directly where appropriate.
61    
62    Some more extensive power-of-two support was added to the x86 instruction
63    selector (avoiding expensive divs, mods, and muls where they can be
64    replaced with cheaper shifts and masks).  However, this sort of thing
65    ought to be done earlier, e.g., within the CPS optimizer so that
66    all architectures benefit from it.
67    
68    The compiler compiles to a fixed point, but changes might be somewhat
69    fragile nevertheless.  Please, report any strange things that you might
70    see wrt. div/mod/quot/rem...
71    
72    ----------------------------------------------------------------------
73    Name: Matthias Blume
74    Date: 2002/03/29 17:22:00
75    Tag: blume-20020329-div
76    Description:
77    
78    Fixed my broken div/mod logic.  Unfortunately, this means that the
79    inline code for div/mod now has one more comparison than before.
80    Fast paths (quotient > 0 or remainder = 0) are not affected, though.
81    The problem was with quotient = 0, because that alone does not tell
82    us which way the rounding went.  One then has to look at whether
83    remainder and divisor have the same sign...  :(
84    
85    Anyway, I replaced the bootfiles with fresh ones...
86    
87    ----------------------------------------------------------------------
88    Name: Matthias Blume
89  Date: 2002/03/29 14:10:00 EST  Date: 2002/03/29 14:10:00 EST
90  Tag: blume-20020329-inlprims  Tag: blume-20020329-inlprims
91  Description:  Description:

Legend:
Removed from v.1183  
changed lines
  Added in v.1189

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