This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: rtl generation & predicates
- To: soubhik at cse dot iitk dot ac dot in (Soubhik Bhattacharya)
- Subject: Re: rtl generation & predicates
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Fri, 23 Feb 2001 18:56:24 +0000 (GMT)
- Cc: Richard dot Earnshaw at arm dot com, gcc at gcc dot gnu dot org (GCC Mailing List)
> it's not that i confused between a predicate and a constraint. but the
> INSN_CODE field of an insn that appears at the filename.rtl dump has a
> value -1, which means, acc to the documentation (section: RTL
> Representation, subsection: Insns):
>
> INSN_CODE (i)
> An integer that says which pattern in the machine description
> matches this insn, or -1 if the matching has not yet been attempted.
>
> as i assumed the only use of predicates is during matching, predicates
> shud not have any role to play during RTL generation.
Predicates are used during rtl generation in general. However, they
are not applied when you use the gen_* function for the insn.