1.0.24.34: IR2: additional representation for predicates, conditional moves
[sbcl.git] / src / compiler / sparc / pred.lisp
index 4959638..3d00528 100644 (file)
   (:generator 5
     (inst b dest)
     (inst nop)))
+
+\f
+;;;; 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)
+
 \f
 ;;;; 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)