X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Ftype-vops.lisp;h=d8723b1b1fa7d3577d85de47bf26cfb36460fa61;hb=b192aee93a1e81f5cdac019daf42bcfa55109757;hp=57e015abf8e621c22d246fa9ea29e3683aac0d6a;hpb=fe36a56422d474a00a58812ec886eb14f024ba0d;p=sbcl.git diff --git a/src/compiler/alpha/type-vops.lisp b/src/compiler/alpha/type-vops.lisp index 57e015a..d8723b1 100644 --- a/src/compiler/alpha/type-vops.lisp +++ b/src/compiler/alpha/type-vops.lisp @@ -13,7 +13,7 @@ (defun %test-fixnum (value target not-p &key temp) (assemble () - (inst and value 3 temp) + (inst and value fixnum-tag-mask temp) (if not-p (inst bne temp target) (inst beq temp target)))) @@ -21,7 +21,7 @@ (defun %test-fixnum-and-headers (value target not-p headers &key temp) (let ((drop-through (gen-label))) (assemble () - (inst and value 3 temp) + (inst and value fixnum-tag-mask temp) (inst beq temp (if not-p drop-through target))) (%test-headers value target not-p nil headers :drop-through drop-through :temp temp))) @@ -137,7 +137,7 @@ (values not-target target) (values target not-target)) (assemble () - (inst and value 3 temp) + (inst and value fixnum-tag-mask temp) (inst beq temp yep) (inst and value lowtag-mask temp) (inst xor temp other-pointer-lowtag temp) @@ -177,7 +177,7 @@ (values target not-target)) (assemble () ;; Is it a fixnum? - (inst and value 3 temp1) + (inst and value fixnum-tag-mask temp1) (inst move value temp) (inst beq temp1 fixnum)