projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.18.36:
[sbcl.git]
/
src
/
compiler
/
x86-64
/
array.lisp
diff --git
a/src/compiler/x86-64/array.lisp
b/src/compiler/x86-64/array.lisp
index
725b457
..
6a8aebd
100644
(file)
--- a/
src/compiler/x86-64/array.lisp
+++ b/
src/compiler/x86-64/array.lisp
@@
-269,7
+269,8
@@
(mask ,(1- (ash 1 bits)))
(shift (* extra ,bits)))
(unless (= value mask)
(mask ,(1- (ash 1 bits)))
(shift (* extra ,bits)))
(unless (= value mask)
- (inst mov mask-tn (lognot (ash mask shift)))
+ (inst mov mask-tn (ldb (byte 64 0)
+ (lognot (ash mask shift))))
(inst and old mask-tn))
(unless (zerop value)
(inst mov mask-tn (ash value shift))
(inst and old mask-tn))
(unless (zerop value)
(inst mov mask-tn (ash value shift))