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]
Other format: [Raw text]

Re: Follow-up patch to SPARC predicates


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~


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