Simplify ppc's MOVE-TO-WORD/INTEGER
authorDavid Lichteblau <david@lichteblau.com>
Thu, 7 Jun 2012 21:49:34 +0000 (23:49 +0200)
committerDavid Lichteblau <david@lichteblau.com>
Thu, 7 Jun 2012 23:16:57 +0000 (01:16 +0200)
src/compiler/ppc/move.lisp

index 63011ee..e0c83fe 100644 (file)
   (:generator 4
     (let ((done (gen-label)))
       (inst andi. temp x fixnum-tag-mask)
-      (sc-case y
-        (signed-reg
-         (inst srawi y x n-fixnum-tag-bits))
-        (unsigned-reg
-         (inst srwi y x n-fixnum-tag-bits)))
+      (inst srawi y x n-fixnum-tag-bits)
 
       (inst beq done)
       (loadw y x bignum-digits-offset other-pointer-lowtag)