This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to rs6000.md, comments?
- To: "David S. Miller" <davem at dm dot cobaltmicro dot com>, Franz dot Sirl-kernel at lauterbach dot com
- Subject: Re: PATCH to rs6000.md, comments?
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 16 Jul 1998 08:32:18 -0700
- Cc: law at cygnus dot com, egcs-bugs at cygnus dot com, egcs-patches at cygnus dot com
- References: <21909.900547375@hurl.cygnus.com> <21909.900547375@hurl.cygnus.com> <199807160934.CAA17743@dm.cobaltmicro.com> <199807160940.CAA17903@dm.cobaltmicro.com>
- Reply-To: Richard Henderson <rth at cygnus dot com>
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~