From: James Van Artsdalen Date: Fri, 12 Mar 1993 09:26:43 +0000 (+0000) Subject: (VOIDmode_compare_op): New operand predicate function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac2afb64fb5d332ed6b559a8045abf5f14cca7a3;p=gcc.git (VOIDmode_compare_op): New operand predicate function. From-SVN: r3714 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 337228bc145..a8cc47ded78 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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; +} /* 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]