1.0.5.53: cleanup LOAD-TYPE macros
[sbcl.git] / src / compiler / hppa / macros.lisp
index d3e8070..95f7563 100644 (file)
@@ -52,7 +52,7 @@
     (:little-endian
      `(inst ldb ,offset ,source ,target))
     (:big-endian
-     `(inst ldb (+ ,offset 3) ,source ,target))))
+     `(inst ldb (+ ,offset (1- n-word-bytes)) ,source ,target))))
 
 ;;; Macros to handle the fact that we cannot use the machine native call and
 ;;; return instructions.