X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fhppa%2Fsystem.lisp;h=824632326681a3b10272cccaeb9f8dfd32bc5c9e;hb=389b5755b2eab960c1f4c14045a26de5dbd510c1;hp=74bb0d7c468f4f93206d3a3b6daeaa88641649fd;hpb=52cfe54802db8736f1f4e2b67764c43bba9b78b3;p=sbcl.git diff --git a/src/compiler/hppa/system.lisp b/src/compiler/hppa/system.lisp index 74bb0d7..8246323 100644 --- a/src/compiler/hppa/system.lisp +++ b/src/compiler/hppa/system.lisp @@ -105,13 +105,14 @@ (storew temp x 0 other-pointer-lowtag) (move x res))) -(define-vop (make-fixnum) +(define-vop (pointer-hash) + (:translate pointer-hash) (:args (ptr :scs (any-reg descriptor-reg))) (:results (res :scs (any-reg descriptor-reg))) + (:policy :fast-safe) (:generator 1 - ;; - ;; Some code (the hash table code) depends on this returning a - ;; positive number so make sure it does. + ;; FIXME: It would be better if this would mask the lowtag, + ;; and shift the result into a positive fixnum like on x86. (inst zdep ptr 29 29 res))) (define-vop (make-other-immediate-type)