This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Automatized pattern matching
- From: Michael Matz <matz at suse dot de>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>,<gcc-patches at gcc dot gnu dot org>
- Date: Sat, 7 Jun 2003 00:48:27 +0200 (CEST)
- Subject: Re: [PATCH][RFC] Automatized pattern matching
Hi,
On Fri, 6 Jun 2003, Zack Weinberg wrote:
> if (MATCH_RTX ("(use mem@0)", x)
> && !MEM_VOLATILE_P (_match0))
this is _not_ mem_volatile_p ...
> becomes
>
> if (MATCH_RTX ("(use mem/v@0)", x))
... and this looks like volatile. So, also a negation for matching
unset flags would be needed. But it could be usefull indeed.
> The trouble with this idea is that the /x names for the qualifiers
> are heavily overloaded. It might not be a net win. Ugh.
Ciao,
Michael.