(VOIDmode_compare_op): New operand predicate function.
authorJames Van Artsdalen <jrv@gnu.org>
Fri, 12 Mar 1993 09:26:43 +0000 (09:26 +0000)
committerJames Van Artsdalen <jrv@gnu.org>
Fri, 12 Mar 1993 09:26:43 +0000 (09:26 +0000)
From-SVN: r3714

gcc/config/i386/i386.c

index 337228bc14590d55ffbb1007327d4e525710c9be..a8cc47ded786bd313265027815f4983df27d6d77 100644 (file)
@@ -1480,6 +1480,17 @@ shift_op (op, mode)
          || GET_CODE (op) == ROTATE
          || GET_CODE (op) == ROTATERT);
 }
+
+/* Return 1 if OP is COMPARE rtx with mode VOIDmode.
+   MODE is not used.  */
+
+int
+VOIDmode_compare_op (op, mode)
+    register rtx op;
+    enum machine_mode mode;
+{
+  return GET_CODE (op) == COMPARE && GET_MODE (op) == VOIDmode;
+}
 \f
 /* Output code to perform a 387 binary operation in INSN, one of PLUS,
    MINUS, MULT or DIV.  OPERANDS are the insn operands, where operands[3]