From b14500d00a8c6c7fc6d5905ca550d24b1a06f8a0 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Tue, 13 Apr 2004 21:06:38 +0000
Subject: [PATCH] Oops.  We want a logical right shift, not arithmetic!

---
 compiler/sparc/arith.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/sparc/arith.lisp b/compiler/sparc/arith.lisp
index cbaedfe07..afea367b8 100644
--- a/compiler/sparc/arith.lisp
+++ b/compiler/sparc/arith.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/arith.lisp,v 1.40 2004/04/13 17:18:34 rtoy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/arith.lisp,v 1.41 2004/04/13 21:06:38 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1621,7 +1621,7 @@
             (t
              ;; The easy case
              (unless (zerop shift)
-               (inst sran q shift))))
+               (inst srln q shift))))
       ;; Compute the remainder
       (cond ((typep y '(signed-byte 13))
              (inst umul r q y))
-- 
GitLab