From 8fb78de4ce5e728a83b0a145d16971274577ef8f Mon Sep 17 00:00:00 2001 From: jrv Date: Fri, 12 Mar 1993 09:26:43 +0000 Subject: [PATCH] (VOIDmode_compare_op): New operand predicate function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3714 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/i386/i386.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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] -- 2.11.0