diff options
author | Michael Meissner <meissner@cygnus.com> | 1998-04-22 14:20:29 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1998-04-22 14:20:29 +0000 |
commit | 693e265fc07aa9119906a3ed03318599ae6b5bc5 (patch) | |
tree | c6cc54486f0f7533219114b3a702f4e22a3569c2 /gcc/md.texi | |
parent | 43ee49e8f39d5d3d678f742a2d2e89f073632835 (diff) | |
download | gcc-693e265fc07aa9119906a3ed03318599ae6b5bc5.zip gcc-693e265fc07aa9119906a3ed03318599ae6b5bc5.tar.gz gcc-693e265fc07aa9119906a3ed03318599ae6b5bc5.tar.bz2 |
Add match_insn2; Fix prototype in loop.c
From-SVN: r19377
Diffstat (limited to 'gcc/md.texi')
-rw-r--r-- | gcc/md.texi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/md.texi b/gcc/md.texi index 7a8ecdc..22c3507 100644 --- a/gcc/md.texi +++ b/gcc/md.texi @@ -401,6 +401,25 @@ An insn that matches this pattern might look like: 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. + @findex address @item (address (match_operand:@var{m} @var{n} "address_operand" "")) This complex of expressions is a placeholder for an operand number |