This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Follow-up patch to SPARC predicates
- From: Richard Henderson <rth at redhat dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Apr 2005 09:57:01 -0700
- Subject: Re: Follow-up patch to SPARC predicates
- References: <200504221525.35738.ebotcazou@libertysurf.fr>
On Fri, Apr 22, 2005 at 03:25:35PM +0200, Eric Botcazou wrote:
> - (match_operand:SI 2 "" ""))))
> + (match_operand:SI 2 "const_int_operand" ""))))
> (clobber (match_operand:SI 3 "register_operand" ""))]
> - "GET_CODE (operands[2]) == CONST_INT
> - && !SMALL_INT (operands[2])
> - && (INTVAL (operands[2]) & 0x3ff) == 0x3ff"
> + "!SMALL_INT (operands[2]) && (INTVAL (operands[2]) & 0x3ff) == 0x3ff"
This pattern appears several times. Consider making a special
predicate to match it.
r~