projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't consider an interpreted->compiled function change interesting
[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
..
0727ca6
100644
(file)
--- a/
src/compiler/x86-64/type-vops.lisp
+++ b/
src/compiler/x86-64/type-vops.lisp
@@
-264,9
+264,10
@@
(if not-p
(values not-target target)
(values target not-target))
(if not-p
(values not-target target)
(values target not-target))
- (generate-fixnum-test value)
- (inst jmp :e yep)
(move-qword-to-eax value)
(move-qword-to-eax value)
+ (inst test al-tn fixnum-tag-mask)
+ (inst jmp :e yep)
+
(inst and al-tn lowtag-mask)
(inst cmp al-tn other-pointer-lowtag)
(inst jmp :ne nope)
(inst and al-tn lowtag-mask)
(inst cmp al-tn other-pointer-lowtag)
(inst jmp :ne nope)
@@
-306,8
+307,8
@@
(values not-target target)
(values target not-target))
;; Is it a fixnum?
(values not-target target)
(values target not-target))
;; Is it a fixnum?
- (generate-fixnum-test value)
(move rax-tn value)
(move rax-tn value)
+ (inst test al-tn fixnum-tag-mask)
(inst jmp :e fixnum)
;; If not, is it an other pointer?
(inst jmp :e fixnum)
;; If not, is it an other pointer?