projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
killing lutexes, adding timeouts
[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
26fd1a9
..
28060d9
100644
(file)
--- a/
src/compiler/x86-64/array.lisp
+++ b/
src/compiler/x86-64/array.lisp
@@
-764,7
+764,8
@@
(:result-types unsigned-num)
(:generator 4
(inst xadd (make-ea :qword :base array
(:result-types unsigned-num)
(:generator 4
(inst xadd (make-ea :qword :base array
- :scale 1 :index index
+ :scale (ash 1 (- word-shift n-fixnum-tag-bits))
+ :index index
:disp (- (* vector-data-offset n-word-bytes)
other-pointer-lowtag))
diff :lock)
:disp (- (* vector-data-offset n-word-bytes)
other-pointer-lowtag))
diff :lock)