X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Fsystem.lisp;h=d640ab93a37cfb619c6f2d5a6db65975b4b868f9;hb=c9b36f04557bd6c7208863e73bae7b1bc6e64842;hp=6a437e140eaccbca80faba0acd224bfcd474acda;hpb=52cfe54802db8736f1f4e2b67764c43bba9b78b3;p=sbcl.git diff --git a/src/compiler/ppc/system.lisp b/src/compiler/ppc/system.lisp index 6a437e1..d640ab9 100644 --- a/src/compiler/ppc/system.lisp +++ b/src/compiler/ppc/system.lisp @@ -128,8 +128,7 @@ ;; ;; Some code (the hash table code) depends on this returning a ;; positive number so make sure it does. - (inst slwi res ptr 3) - (inst srwi res res 1))) + (inst rlwinm res ptr n-fixnum-tag-bits 1 n-positive-fixnum-bits))) (define-vop (make-other-immediate-type) (:args (val :scs (any-reg descriptor-reg))