This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: rtl generation & predicates
- To: meissner at cygnus dot com (Michael Meissner)
- Subject: Re: rtl generation & predicates
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Fri, 23 Feb 2001 23:10:51 +0000 (GMT)
- Cc: amylaar at cambridge dot redhat dot com (Joern Rennecke),soubhik at cse dot iitk dot ac dot in (Soubhik Bhattacharya),Richard dot Earnshaw at arm dot com, gcc at gcc dot gnu dot org (GCC Mailing List)
> More to the point, the gen_* functions assume the caller has already called the
> appropriate predicate functions, and adpopted alternative codegen strategies if
> the predicates failed, such as copying the argument to a pseudo registers.
Well, it is also possible that you have multiple patterns that differ only
in their predicates and output templates. Then you can pick one gen_*
function and use it for any of these similar patterns.