* genrecog.c: Likewise.
* gensupport.c: Likewise.
* rtl.def (match_insn): Remove.
* doc/md.texi (match_insn, match_insn2): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78768
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
+
+ * genattrtab.c: Don't handle MATCH_INSN.
+ * genrecog.c: Likewise.
+ * gensupport.c: Likewise.
+ * rtl.def (match_insn): Remove.
+ * doc/md.texi (match_insn, match_insn2): Remove.
+
2004-03-02 Mark Mitchell <mark@codesourcery.com>
* doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this
Like @code{match_op_dup}, but for @code{match_parallel} instead of
@code{match_operator}.
-@findex match_insn
-@item (match_insn @var{predicate})
-Match a complete insn. Unlike the other @code{match_*} recognizers,
-@code{match_insn} does not take an operand number.
-
-The machine mode @var{m} of @code{match_insn} works like that of
-@code{match_operand}: it is passed as the second argument to the
-predicate function, and that function is solely responsible for
-deciding whether the expression to be matched ``has'' that mode.
-
-@findex match_insn2
-@item (match_insn2 @var{n} @var{predicate})
-Match a complete insn.
-
-The machine mode @var{m} of @code{match_insn2} works like that of
-@code{match_operand}: it is passed as the second argument to the
-predicate function, and that function is solely responsible for
-deciding whether the expression to be matched ``has'' that mode.
-
@end table
@node Output Template
XEXP (exp, 0) = check_attr_test (XEXP (exp, 0), is_const, lineno);
break;
- case MATCH_INSN:
case MATCH_OPERAND:
if (is_const)
fatal ("RTL operator \"%s\" not valid in constant attribute test",
XSTR (exp, 1), XINT (exp, 0), GET_MODE_NAME (GET_MODE (exp)));
break;
- case MATCH_INSN:
- printf ("%s (insn)", XSTR (exp, 0));
- break;
-
/* Constant integer. */
case CONST_INT:
printf (HOST_WIDE_INT_PRINT_DEC, XWINT (exp, 0));
code = GET_CODE (pattern);
if ((code == MATCH_SCRATCH
- || code == MATCH_INSN
|| code == MATCH_OPERAND
|| code == MATCH_OPERATOR
|| code == MATCH_PARALLEL)
error_count++;
}
break;
- case MATCH_INSN:
case MATCH_OPERAND:
case MATCH_OPERATOR:
{
case MATCH_OPERAND:
case MATCH_SCRATCH:
case MATCH_OPERATOR:
- case MATCH_INSN:
{
const char *pred_name;
RTX_CODE was_code = code;
case MATCH_OPERATOR:
case MATCH_SCRATCH:
case MATCH_PARALLEL:
- case MATCH_INSN:
i = XINT (pattern, 0);
if (i > *pmax)
*pmax = i;
case MATCH_OPERATOR:
case MATCH_SCRATCH:
case MATCH_PARALLEL:
- case MATCH_INSN:
XINT (pattern, 0) += max_op;
break;
DEF_RTL_EXPR(MATCH_PAR_DUP, "match_par_dup", "iE", 'm')
/* Appears only in machine descriptions.
- Operand 0 is the operand number, as in match_operand.
- Operand 1 is the predicate to apply to the insn. */
-DEF_RTL_EXPR(MATCH_INSN, "match_insn", "is", 'm')
-
-/* Appears only in machine descriptions.
Defines the pattern for one kind of instruction.
Operand:
0: names this instruction.