From e6ab71ecf4d9f97c2419f145cf141afa6adf35b5 Mon Sep 17 00:00:00 2001
From: toy <toy>
Date: Wed, 7 Aug 2002 15:22:05 +0000
Subject: [PATCH] Target the unsigned-reg, not the signed-reg for
 fast-logand/signed-unsigned=>unsigned.  (Noted by Christophe Rhodes.)

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

diff --git a/compiler/sparc/arith.lisp b/compiler/sparc/arith.lisp
index 9bcba28ba..6c59bf052 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.28 2002/07/30 13:07:09 toy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/arith.lisp,v 1.29 2002/08/07 15:22:05 toy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -172,8 +172,8 @@
 
 (define-vop (fast-logand/signed-unsigned=>unsigned
 	     fast-logand/unsigned=>unsigned)
-    (:args (x :target r :scs (signed-reg))
-	   (y :scs (unsigned-reg)))
+    (:args (x :scs (signed-reg))
+	   (y :target r :scs (unsigned-reg)))
   (:arg-types signed-num unsigned-num))
 
 (define-vop (fast-logand/unsigned-signed=>unsigned
-- 
GitLab