X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fppc%2Farith.lisp;h=a0288fbcd4bd7e3785576a378cbb632c0a0f8b04;hb=8b6626faeca6b41a0c7aacb5293c54d115cec154;hp=c8f1eae67d85f673d73543d5d9b1cd4b34a9923d;hpb=a58ade75b2b9d2f89779954c72613714025bb6e6;p=sbcl.git diff --git a/src/compiler/ppc/arith.lisp b/src/compiler/ppc/arith.lisp index c8f1eae..a0288fb 100644 --- a/src/compiler/ppc/arith.lisp +++ b/src/compiler/ppc/arith.lisp @@ -832,7 +832,7 @@ (defknown %logbitp (integer unsigned-byte) boolean (movable foldable flushable)) -(defun %logbitp (index integer) +(defun %logbitp (integer index) (logbitp index integer)) ;;; We only handle the constant cases because those are the only ones @@ -840,6 +840,7 @@ ;;; --njf, 06-02-2006 (define-vop (fast-logbitp-c/fixnum fast-conditional-c/fixnum) (:translate %logbitp) + (:arg-types tagged-num (:constant (integer 0 29))) (:temporary (:scs (any-reg) :to (:result 0)) test) (:generator 4 (if (< y 14) @@ -849,6 +850,7 @@ (define-vop (fast-logbitp-c/signed fast-conditional-c/signed) (:translate %logbitp) + (:arg-types signed-num (:constant (integer 0 31))) (:temporary (:scs (signed-reg) :to (:result 0)) test) (:generator 4 (if (< y 16) @@ -858,6 +860,7 @@ (define-vop (fast-logbitp-c/unsigned fast-conditional-c/unsigned) (:translate %logbitp) + (:arg-types unsigned-num (:constant (integer 0 31))) (:temporary (:scs (unsigned-reg) :to (:result 0)) test) (:generator 4 (if (< y 16)