X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Fpred.lisp;h=22aa9a98a93e4aa91aa54beb6ea0f6e2b8fb7502;hb=5745b5a5b2e3b967bf3876b4306f31b3c78495fa;hp=f6bd806a2bfee391452bbd1dc7bc5140034851b2;hpb=cab2c71bb1bb8a575d9eebdae335e731daa64183;p=sbcl.git diff --git a/src/compiler/ppc/pred.lisp b/src/compiler/ppc/pred.lisp index f6bd806..22aa9a9 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,28 @@ (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"))) + +(!def-vm-support-routine + 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)