X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Fsystem.lisp;h=23e74b1128c1dcab23241323b19e8e71a75d894d;hb=02f7f85a6554b1ec233e9a515c4c511fe092565e;hp=5a9945acc82e53c4ec2578cf9a262df0cc30fe41;hpb=4cb16425e2ffce3f70ad6ca10f0cde4f1545fa9d;p=sbcl.git diff --git a/src/compiler/alpha/system.lisp b/src/compiler/alpha/system.lisp index 5a9945a..23e74b1 100644 --- a/src/compiler/alpha/system.lisp +++ b/src/compiler/alpha/system.lisp @@ -116,7 +116,7 @@ (inst and t1 widetag-mask t1) (sc-case data (any-reg - (inst sll data (- n-widetag-bits 2) t2) + (inst sll data (- n-widetag-bits n-fixnum-tag-bits) t2) (inst bis t1 t2 t1)) (immediate (let ((c (ash (tn-value data) n-widetag-bits))) @@ -140,22 +140,6 @@ (inst sll ptr 35 res) (inst srl res 33 res))) -(define-vop (make-other-immediate-type) - (:args (val :scs (any-reg descriptor-reg)) - (type :scs (any-reg descriptor-reg immediate) - :target temp)) - (:results (res :scs (any-reg descriptor-reg))) - (:temporary (:scs (non-descriptor-reg)) temp) - (:generator 2 - (sc-case type - ((immediate) - (inst sll val n-widetag-bits temp) - (inst bis temp (tn-value type) res)) - (t - (inst sra type n-fixnum-tag-bits temp) - (inst sll val (- n-widetag-bits n-fixnum-tag-bits) res) - (inst bis res temp res))))) - ;;;; allocation @@ -245,3 +229,9 @@ (inst ldl count offset count-vector) (inst addq count 1 count) (inst stl 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))