projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimize (unsigned-byte 32/64) type tests on x86oids.
[sbcl.git]
/
src
/
compiler
/
x86-64
/
type-vops.lisp
diff --git
a/src/compiler/x86-64/type-vops.lisp
b/src/compiler/x86-64/type-vops.lisp
index
7c12dc3
..
5f2e78f
100644
(file)
--- a/
src/compiler/x86-64/type-vops.lisp
+++ b/
src/compiler/x86-64/type-vops.lisp
@@
-306,8
+306,9
@@
(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?