diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2011-08-31 21:06:59 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-08-31 21:06:59 +0000 |
commit | 0c0d395770c75e5bf509fbe70828f907f13a4a91 (patch) | |
tree | a85157de90f18a976c4a35c69be1bc3cb6be9765 /gcc/rtl.def | |
parent | 091ace5877b03942e6b71fdf13fa4ac2df8e88cf (diff) | |
download | gcc-0c0d395770c75e5bf509fbe70828f907f13a4a91.zip gcc-0c0d395770c75e5bf509fbe70828f907f13a4a91.tar.gz gcc-0c0d395770c75e5bf509fbe70828f907f13a4a91.tar.bz2 |
md.texi: Describe the use of match_tests in attribute tests.
gcc/
* doc/md.texi: Describe the use of match_tests in attribute tests.
* rtl.def (MATCH_TEST): Update commentary.
* genattrtab.c (attr_copy_rtx, check_attr_test, clear_struct_flag)
(write_test_expr, walk_attr_value): Handle MATCH_TEST.
From-SVN: r178388
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r-- | gcc/rtl.def | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def index b098123..dbf320e 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -819,9 +819,8 @@ DEF_RTL_EXPR(MATCH_PAR_DUP, "match_par_dup", "iE", RTX_MATCH) the result of the one before it. */ DEF_RTL_EXPR(MATCH_CODE, "match_code", "ss", RTX_MATCH) -/* Appears only in define_predicate/define_special_predicate - expressions. The argument is a C expression to be injected at this - point in the predicate formula. */ +/* Used to inject a C conditional expression into an .md file. It can + appear in a predicate definition or an attribute expression. */ DEF_RTL_EXPR(MATCH_TEST, "match_test", "s", RTX_MATCH) /* Insn (and related) definitions. */ |