X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86-64%2Farray.lisp;h=28060d92075f51aa119aa6ed5b4092077406c6bd;hb=d6f9676ae94419cb5544c45821a8d31adbc1fbe8;hp=26fd1a98f75c002620caaaee1106cd96aa5ce583;hpb=3b5fb548ed34612fb853b11b2bcdd29440834eaa;p=sbcl.git diff --git a/src/compiler/x86-64/array.lisp b/src/compiler/x86-64/array.lisp index 26fd1a9..28060d9 100644 --- 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 - :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)