X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Fpred.lisp;h=5ea56ac753e8b4a53f8cd7dbd310602c9272e0d1;hb=debae3c18d31b5222be4d5de8dcb2601336e24a4;hp=f6bd806a2bfee391452bbd1dc7bc5140034851b2;hpb=cab2c71bb1bb8a575d9eebdae335e731daa64183;p=sbcl.git diff --git a/src/compiler/ppc/pred.lisp b/src/compiler/ppc/pred.lisp index f6bd806..5ea56ac 100644 --- a/src/compiler/ppc/pred.lisp +++ b/src/compiler/ppc/pred.lisp @@ -1,6 +1,6 @@ ;;; ;;; Converted by William Lott. -;;; +;;; (in-package "SB!VM") @@ -16,11 +16,27 @@ (inst b dest))) +;;;; Generic conditional VOPs + +;;; The generic conditional branch, emitted immediately after test +;;; VOPs that only set flags. + +(define-vop (branch-if) + (:info dest flags not-p) + (:ignore dest flags not-p) + (:generator 0 + (error "BRANCH-IF not yet implemented"))) + +(defun convert-conditional-move-p (node dst-tn x-tn y-tn) + (declare (ignore node dst-tn x-tn y-tn)) + nil) + + ;;;; Conditional VOPs: (define-vop (if-eq) (:args (x :scs (any-reg descriptor-reg zero null)) - (y :scs (any-reg descriptor-reg zero null))) + (y :scs (any-reg descriptor-reg zero null))) (:conditional) (:info target not-p) (:policy :fast-safe)