X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fhppa%2Fpred.lisp;h=8c40e9a137d81f8bcec785e5f44dd865c013b262;hb=9c510b74eca61bbcc2014dc2b1d02049dff50508;hp=894ff0b2f4c0a6f9f70892b62f724433cfea7e6f;hpb=8a19c6876412b8ad1cf729297c2a373d63a0d0ec;p=sbcl.git diff --git a/src/compiler/hppa/pred.lisp b/src/compiler/hppa/pred.lisp index 894ff0b..8c40e9a 100644 --- a/src/compiler/hppa/pred.lisp +++ b/src/compiler/hppa/pred.lisp @@ -12,11 +12,27 @@ (inst b dest :nullify t))) +;;;; 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)