diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-22 14:20:29 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-22 14:20:29 +0000 |
commit | 839634a003475522ae06257d303b7c1db75b8b24 (patch) | |
tree | c6cc54486f0f7533219114b3a702f4e22a3569c2 /gcc/md.texi | |
parent | 1d889f29dc584c7a88b0304c88515f61ea596c15 (diff) | |
download | gcc-839634a003475522ae06257d303b7c1db75b8b24.tar.gz |
Add match_insn2; Fix prototype in loop.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19377 138bc75d-0d04-0410-961f-82ee72b054a4
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 7a8ecdced64..22c3507b9fb 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 |