projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.32.12: Fix slot-value on specialized parameters in SVUC methods
[sbcl.git]
/
src
/
compiler
/
x86-64
/
move.lisp
diff --git
a/src/compiler/x86-64/move.lisp
b/src/compiler/x86-64/move.lisp
index
cd6642b
..
b5c628b
100644
(file)
--- a/
src/compiler/x86-64/move.lisp
+++ b/
src/compiler/x86-64/move.lisp
@@
-248,7
+248,11
@@
(:results (y :scs (signed-reg unsigned-reg)))
(:note "constant load")
(:generator 1
(:results (y :scs (signed-reg unsigned-reg)))
(:note "constant load")
(:generator 1
- (inst mov y (tn-value x))))
+ (cond ((sb!c::tn-leaf x)
+ (inst mov y (tn-value x)))
+ (t
+ (inst mov y x)
+ (inst sar y n-fixnum-tag-bits)))))
(define-move-vop move-to-word-c :move
(constant) (signed-reg unsigned-reg))
(define-move-vop move-to-word-c :move
(constant) (signed-reg unsigned-reg))