0.9.3.56:
authorChristophe Rhodes <csr21@cam.ac.uk>
Tue, 16 Aug 2005 12:40:31 +0000 (12:40 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Tue, 16 Aug 2005 12:40:31 +0000 (12:40 +0000)
Comment fixes from THS (sbcl-devel 2005-08-16).

src/assembly/mips/arith.lisp
src/code/mips-vm.lisp
src/compiler/assem.lisp
src/compiler/mips/call.lisp
version.lisp-expr

index 1cbbbbd..902acdf 100644 (file)
@@ -1,6 +1,15 @@
 (in-package "SB!VM")
 
 
+\f
+;;;; Addition and subtraction.
+
+;;; static-fun-offset returns the address of the raw_addr slot of
+;;; a static function's fdefn.
+
+;;; Note that there is only one use of static-fun-offset outside this
+;;; file (in genesis.lisp)
+
 (define-assembly-routine (generic-+
                           (:cost 10)
                           (:return-style :full-call)
   DONE)
 
 
+\f
+;;;; Multiplication
+
+
 (define-assembly-routine (generic-*
                           (:cost 25)
                           (:return-style :full-call)
index 4da2a83..257ed24 100644 (file)
@@ -53,7 +53,6 @@
   ;; hacky pointer arithmetic thing.  -- CSR, 2002-09-01
   (int-sap (deref (context-pc-addr context)
                   #!-little-endian 1
-                  ;; Untested
                   #!+little-endian 0)))
 
 (define-alien-routine ("os_context_register_addr" context-register-addr)
index 3745ef1..abaa89d 100644 (file)
 ;;; positions are known. Space is made in SEGMENT for at least SIZE
 ;;; bytes. When all output has been generated, the MAYBE-SHRINK
 ;;; functions for all choosers are called with three arguments: the
-;;; segment, the position, and a magic value. The MAYBE- SHRINK
+;;; segment, the position, and a magic value. The MAYBE-SHRINK
 ;;; decides if it can use a shorter sequence, and if so, emits that
 ;;; sequence to the segment and returns T. If it can't do better than
 ;;; the worst case, it should return NIL (without emitting anything).
 
 ;;; This is called in EMIT-CHOOSER and COMPRESS-SEGMENT in order to
 ;;; recompute the current alignment information in light of this
-;;; chooser. If the alignment guaranteed byte the chooser is less then
-;;; the segments current alignment, we have to adjust the segments
+;;; chooser. If the alignment guaranteed by the chooser is less than
+;;; the segment's current alignment, we have to adjust the segment's
 ;;; notion of the current alignment.
 ;;;
 ;;; The hard part is recomputing the sync posn, because it's not just
   (values))
 
 ;;; Grovel over segment, filling in any backpatches. If any choosers
-;;; are left over, we need to emit their worst case varient.
+;;; are left over, we need to emit their worst case variant.
 (defun process-back-patches (segment)
   (do* ((prev nil)
         (remaining (segment-annotations segment) next)
index 8cb79e2..da5a322 100644 (file)
@@ -35,7 +35,7 @@
       (make-restricted-tn *backend-t-primitive-type* register-arg-scn)))
 
 ;;; This is similar to MAKE-RETURN-PC-PASSING-LOCATION, but makes a
-;;; location to pass Old-FP in. This is (obviously) wired in the
+;;; location to pass OLD-FP in. This is (obviously) wired in the
 ;;; standard convention, but is totally unrestricted in non-standard
 ;;; conventions, since we can always fetch it off of the stack using
 ;;; the arg pointer.
 ;;; In the general case, we have to do three things:
 ;;;  -- Default unsupplied register values.  This need only be done when a
 ;;;     single value is returned, since register values are defaulted by the
-;;;     called in the non-single case.
+;;;     callee in the non-single case.
 ;;;  -- Default unsupplied stack values.  This needs to be done whenever there
 ;;;     are stack values.
 ;;;  -- Reset SP.  This must be done whenever other than 1 value is returned,
@@ -240,7 +240,7 @@ regs-defaulted
         ...
 
 defaulting-done
-        move sp ocfp                    ; Reset SP.
+        move csp ocfp                    ; Reset SP.
 <end of code>
 
 <elsewhere>
@@ -284,7 +284,7 @@ default-value-8
               (inst addu temp nargs-tn (fixnumize (- register-arg-count)))
               (move csp-tn ocfp-tn t)))
 
-        ;; Do the single value calse.
+        ;; Do the single value case.
         (do ((i 1 (1+ i))
              (val (tn-ref-across values) (tn-ref-across val)))
             ((= i (min nvals register-arg-count)))
index 71384b5..25fe9cc 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.3.55"
+"0.9.3.56"