From 4b5f9c3f26a8bd29a5eb1a140cb48b6db5569109 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Sat, 20 May 2006 01:48:51 +0000
Subject: [PATCH] Add comment about what this is trying to do.

---
 compiler/generic/new-genesis.lisp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/compiler/generic/new-genesis.lisp b/compiler/generic/new-genesis.lisp
index 5f7316ba2..6178f1253 100644
--- a/compiler/generic/new-genesis.lisp
+++ b/compiler/generic/new-genesis.lisp
@@ -4,7 +4,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/new-genesis.lisp,v 1.77 2005/12/11 20:30:46 rtoy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/new-genesis.lisp,v 1.78 2006/05/20 01:48:51 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -2219,6 +2219,9 @@
  		 (l (ldb (byte 16 0) value)))
  	    (setf (sap-ref-16 sap 2)
  		  (maybe-byte-swap-short
+		   ;; This takes care of the fact that the low part is
+		   ;; signed extended by addi when we add in the low
+		   ;; part to the high part.
 		   (if (logbitp 15 l) (ldb (byte 16 0) (1+ h)) h)))))
  	 (:l
   	  (setf (sap-ref-16 sap 2)
-- 
GitLab