X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Falloc.lisp;h=f903dd43fa328204222f3dec50c143abc170a8db;hb=debae3c18d31b5222be4d5de8dcb2601336e24a4;hp=d2b5a2a1cf2d3b14857284a12401e25d5590b806;hpb=6822034325136cde4e14773c83c3769b42721306;p=sbcl.git diff --git a/src/compiler/ppc/alloc.lisp b/src/compiler/ppc/alloc.lisp index d2b5a2a..f903dd4 100644 --- a/src/compiler/ppc/alloc.lisp +++ b/src/compiler/ppc/alloc.lisp @@ -164,7 +164,7 @@ (define-vop (make-unbound-marker) (:args) - (:results (result :scs (any-reg))) + (:results (result :scs (descriptor-reg any-reg))) (:generator 1 (inst li result unbound-marker-widetag))) @@ -177,12 +177,14 @@ (define-vop (fixed-alloc) (:args) (:info name words type lowtag stack-allocate-p) - (:ignore name stack-allocate-p) + (:ignore name) (:results (result :scs (descriptor-reg))) (:temporary (:scs (non-descriptor-reg)) temp) (:temporary (:sc non-descriptor-reg :offset nl3-offset) pa-flag) (:generator 4 - (with-fixed-allocation (result pa-flag temp type words :lowtag lowtag) + (with-fixed-allocation (result pa-flag temp type words + :lowtag lowtag + :stack-allocate-p stack-allocate-p) ))) (define-vop (var-alloc) @@ -197,7 +199,7 @@ (:temporary (:sc non-descriptor-reg :offset nl3-offset) pa-flag) (:generator 6 (inst addi bytes extra (* (1+ words) n-word-bytes)) - (inst slwi header bytes (- n-widetag-bits 2)) + (inst slwi header bytes (- n-widetag-bits n-fixnum-tag-bits)) (inst addi header header (+ (ash -2 n-widetag-bits) type)) (inst clrrwi bytes bytes n-lowtag-bits) (pseudo-atomic (pa-flag)