X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fmips%2Fmacros.lisp;h=63bd0c33dee91fffc3f87f9dc03c63a4f35e70f0;hb=174feb792c8082846666e1218c58d5b0ab3b85b0;hp=4a0efed8ce726d2bbe50a7e7fb3c799784605183;hpb=670010e3f3dcd62efaf23f61abdc73950edb88c6;p=sbcl.git diff --git a/src/compiler/mips/macros.lisp b/src/compiler/mips/macros.lisp index 4a0efed..63bd0c3 100644 --- a/src/compiler/mips/macros.lisp +++ b/src/compiler/mips/macros.lisp @@ -373,7 +373,7 @@ ,(eval offset)))) (:results (value :scs ,scs)) (:result-types ,el-type) - (:generator 5 + (:generator 4 (inst ,(ecase size (:byte (if signed 'lb 'lbu)) (:short (if signed 'lh 'lhu))) @@ -417,9 +417,9 @@ ,el-type) (:results (result :scs ,scs)) (:result-types ,el-type) - (:generator 5 + (:generator 4 (inst ,(ecase size (:byte 'sb) (:short 'sh)) value object - (- (* ,offset n-word-bytes) (* index ,scale) ,lowtag)) + (- (+ (* ,offset n-word-bytes) (* index ,scale)) ,lowtag)) (move result value))))))