Skip to content
Snippets Groups Projects
Commit b14500d0 authored by rtoy's avatar rtoy
Browse files

Oops. We want a logical right shift, not arithmetic!

parent 37b4da67
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; ;;;
(ext:file-comment (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 @@ ...@@ -1621,7 +1621,7 @@
(t (t
;; The easy case ;; The easy case
(unless (zerop shift) (unless (zerop shift)
(inst sran q shift)))) (inst srln q shift))))
;; Compute the remainder ;; Compute the remainder
(cond ((typep y '(signed-byte 13)) (cond ((typep y '(signed-byte 13))
(inst umul r q y)) (inst umul r q y))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment