X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fhppa%2Fsystem.lisp;h=ad172c2368779ff62ed9707baa3a2419d518e172;hb=d6f9676ae94419cb5544c45821a8d31adbc1fbe8;hp=c156406b2bb7190849dcd5ee9f05a0fe22e75c9a;hpb=b46345044a6b9e2db26700e297daedb05307919b;p=sbcl.git diff --git a/src/compiler/hppa/system.lisp b/src/compiler/hppa/system.lisp index c156406..ad172c2 100644 --- a/src/compiler/hppa/system.lisp +++ b/src/compiler/hppa/system.lisp @@ -29,7 +29,7 @@ (inst li (logxor other-pointer-lowtag fun-pointer-lowtag) temp2) (inst xor temp1 temp2 temp1) (inst comb := temp1 zero-tn FUNCTION-PTR) - (inst li 3 temp1) ; pick off fixnums + (inst li fixnum-tag-mask temp1) ; pick off fixnums (inst li 1 temp2) (inst and temp1 object result) (inst comb := result zero-tn DONE) @@ -129,7 +129,7 @@ (:results (res :scs (any-reg descriptor-reg))) (:policy :fast-safe) (:generator 1 - (inst zdep ptr 29 29 res))) + (inst zdep ptr n-positive-fixnum-bits n-positive-fixnum-bits res))) (define-vop (make-other-immediate-type) (:args (val :scs (any-reg descriptor-reg)) @@ -259,3 +259,8 @@ (inst addi 1 count count) (inst stw count offset count-vector)))) +;;;; Dummy definition for a spin-loop hint VOP +(define-vop (spin-loop-hint) + (:translate spin-loop-hint) + (:policy :fast-safe) + (:generator 0))