X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Ftype-vops.lisp;h=712d4de591f16ee3ab9ff7429750dc3acc0aa58c;hb=7deecae2d959173eda6a153d490c752c32050a9e;hp=4e46b6dc728df7684415a5c844d832daded9f01c;hpb=f33fdd489e9012e5064d35ca7edc7d4bc3c4a0c2;p=sbcl.git diff --git a/src/compiler/ppc/type-vops.lisp b/src/compiler/ppc/type-vops.lisp index 4e46b6d..712d4de 100644 --- a/src/compiler/ppc/type-vops.lisp +++ b/src/compiler/ppc/type-vops.lisp @@ -164,7 +164,7 @@ (if not-p (values not-target target) (values target not-target)) - (inst andi. temp value #x3) + (inst andi. temp value fixnum-tag-mask) (inst beq yep) (test-type value nope t (other-pointer-lowtag) :temp temp) (loadw temp value 0 other-pointer-lowtag) @@ -177,7 +177,7 @@ (:generator 45 (let ((nope (generate-error-code vop 'object-not-signed-byte-32-error value)) (yep (gen-label))) - (inst andi. temp value #x3) + (inst andi. temp value fixnum-tag-mask) (inst beq yep) (test-type value nope t (other-pointer-lowtag) :temp temp) (loadw temp value 0 other-pointer-lowtag) @@ -203,7 +203,7 @@ (values not-target target) (values target not-target)) ;; Is it a fixnum? - (inst andi. temp value #x3) + (inst andi. temp value fixnum-tag-mask) (inst cmpwi :cr1 value 0) (inst beq fixnum) @@ -244,7 +244,7 @@ (fixnum (gen-label)) (single-word (gen-label))) ;; Is it a fixnum? - (inst andi. temp value #x3) + (inst andi. temp value fixnum-tag-mask) (inst cmpwi :cr1 value 0) (inst beq fixnum)