1.0.5.53: cleanup LOAD-TYPE macros
[sbcl.git] / src / compiler / x86-64 / macros.lisp
index be94d71..16a7774 100644 (file)
               (make-ea :byte :base ,n-source :disp ,n-offset)))
       (:big-endian
        `(inst mov ,n-target
-              (make-ea :byte :base ,n-source :disp (+ ,n-offset 4)))))))
+              (make-ea :byte :base ,n-source
+                             :disp (+ ,n-offset (1- n-word-bytes))))))))
 \f
 ;;;; allocation helpers