PATCH to rs6000.md, comments?
Richard Henderson
rth@cygnus.com
Thu Jul 16 08:32:00 GMT 1998
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~
More information about the Gcc-bugs
mailing list