This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]