X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Fchar.lisp;h=bb306f2d5c379160203113debd806500949205e8;hb=8eb6f7d3da3960c827b704e23b5a47008274be7d;hp=5a73ff2c1bd2a73b501e92583de425ff78ac6393;hpb=63fcb94b875a97e468d9add229e220ecceec2352;p=sbcl.git diff --git a/src/compiler/alpha/char.lisp b/src/compiler/alpha/char.lisp index 5a73ff2..bb306f2 100644 --- a/src/compiler/alpha/char.lisp +++ b/src/compiler/alpha/char.lisp @@ -18,7 +18,7 @@ (:args (x :scs (any-reg descriptor-reg))) (:results (y :scs (base-char-reg))) (:generator 1 - (inst srl x sb!vm:type-bits y))) + (inst srl x sb!vm:n-widetag-bits y))) ;;; (define-move-vop move-to-base-char :move (any-reg descriptor-reg) (base-char-reg)) @@ -28,8 +28,8 @@ (:args (x :scs (base-char-reg))) (:results (y :scs (any-reg descriptor-reg))) (:generator 1 - (inst sll x sb!vm:type-bits y) - (inst bis y sb!vm:base-char-type y))) + (inst sll x sb!vm:n-widetag-bits y) + (inst bis y sb!vm:base-char-widetag y))) ;;; (define-move-vop move-from-base-char :move (base-char-reg) (any-reg descriptor-reg))