X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fmips%2Fsystem.lisp;h=9cd4b39c562412f5c6fb0c1ec2c5bbcd4100a0bf;hb=b2ed34b667665e52609cf431c00179b136be450d;hp=e5841e52db6abbce6f71e100e1c5c65c89ca1fe9;hpb=7deecae2d959173eda6a153d490c752c32050a9e;p=sbcl.git diff --git a/src/compiler/mips/system.lisp b/src/compiler/mips/system.lisp index e5841e5..9cd4b39 100644 --- a/src/compiler/mips/system.lisp +++ b/src/compiler/mips/system.lisp @@ -141,22 +141,6 @@ (inst sll res ptr 3) (inst srl res res 1))) -(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 temp val n-widetag-bits) - (inst or res temp (tn-value type))) - (t - (inst sra temp type n-fixnum-tag-bits) - (inst sll res val (- n-widetag-bits n-fixnum-tag-bits)) - (inst or res res temp))))) - ;;;; Allocation @@ -245,3 +229,9 @@ (inst nop) (inst addu count 1) (inst sw count count-vector offset)))) + +;;;; Dummy definition for a spin-loop hint VOP +(define-vop (spin-loop-hint) + (:translate spin-loop-hint) + (:policy :fast-safe) + (:generator 0))