X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Fmove.lisp;h=b410c4cc0eaf3ea772e58d3eaae56b94736a5ac1;hb=cd8fe50554652680dde36396d7862fc6cc83839c;hp=21f330f45ae57998a97728408a9760137f6626f6;hpb=52cfe54802db8736f1f4e2b67764c43bba9b78b3;p=sbcl.git diff --git a/src/compiler/ppc/move.lisp b/src/compiler/ppc/move.lisp index 21f330f..b410c4c 100644 --- a/src/compiler/ppc/move.lisp +++ b/src/compiler/ppc/move.lisp @@ -224,20 +224,16 @@ (:generator 20 (move x arg) (let ((done (gen-label)) - (one-word (gen-label)) - (initial-alloc (pad-data-block (1+ bignum-digits-offset)))) + (one-word (gen-label))) (inst srawi. temp x 29) (inst slwi y x 2) (inst beq done) - (pseudo-atomic (pa-flag :extra initial-alloc) + (with-fixed-allocation + (y pa-flag temp bignum-widetag (+ 2 bignum-digits-offset)) (inst cmpwi x 0) - (inst ori y alloc-tn other-pointer-lowtag) (inst li temp (logior (ash 1 n-widetag-bits) bignum-widetag)) (inst bge one-word) - (inst addi alloc-tn alloc-tn - (- (pad-data-block (+ bignum-digits-offset 2)) - (pad-data-block (+ bignum-digits-offset 1)))) (inst li temp (logior (ash 2 n-widetag-bits) bignum-widetag)) (emit-label one-word) (storew temp y 0 other-pointer-lowtag)