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]

Re: PATCH to rs6000.md, comments?


On Thu, Jul 16, 1998 at 02:40:17AM -0700, David S. Miller wrote:
>    David, one question, there are 2 or 3 constructs like the ones
>    below in rs6000.c, should I return 1 for CONSTANT_P_RTX in both
>    cases?
> 
> Yes, if it allows CONST_INT in any case then change it to allow
> CONSTANT_P_RTX in all cases as well.

Well, no.  It should only match CONSTANT_P_RTX where it would
also match (const_int 0) or (const_int 1).

So the non_logical_cint_operand should not match.


r~


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