Optimize (unsigned-byte 32/64) type tests on x86oids.
[sbcl.git] / src / compiler / x86-64 / type-vops.lisp
index 7c12dc3..5f2e78f 100644 (file)
               (values not-target target)
               (values target not-target))
         ;; Is it a fixnum?
-        (generate-fixnum-test value)
+        ;; Is it a fixnum?
         (move rax-tn value)
+        (inst test al-tn fixnum-tag-mask)
         (inst jmp :e fixnum)
 
         ;; If not, is it an other pointer?