projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbb525
)
(VOIDmode_compare_op): New operand predicate function.
author
James Van Artsdalen
<jrv@gnu.org>
Fri, 12 Mar 1993 09:26:43 +0000
(09:26 +0000)
committer
James Van Artsdalen
<jrv@gnu.org>
Fri, 12 Mar 1993 09:26:43 +0000
(09:26 +0000)
From-SVN: r3714
gcc/config/i386/i386.c
patch
|
blob
|
history
diff --git
a/gcc/config/i386/i386.c
b/gcc/config/i386/i386.c
index 337228bc14590d55ffbb1007327d4e525710c9be..a8cc47ded786bd313265027815f4983df27d6d77 100644
(file)
--- 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;
+}
\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]