This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, committed] rs6000 predicates
- From: Zack Weinberg <zack at codesourcery dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 13 Aug 2004 10:28:54 -0700
- Subject: Re: [PATCH, committed] rs6000 predicates
- References: <200408131444.i7DEifD33888@makai.watson.ibm.com>
David Edelsohn <dje@watson.ibm.com> writes:
> * config/rs6000/rs6000.h (PREDICATE_CODES): Add
> any_parallel_operand, lmw_operation, stmw_operation,
> mfcr_operation, mtcrf_operation. Remove PARALLEL from any_operand.
I am extremely dubious about predicates whose PREDICATE_CODES set is
not consistent with what their code actually enforces. genrecog
treats the PREDICATE_CODES information as an optimization, and it has
places where it might omit a test because it thinks the predicate will
do it.
zw