[PATCH] Sparc64 fix

Richard Henderson rth@cygnus.com
Tue Apr 4 10:03:00 GMT 2000


On Tue, Apr 04, 2000 at 06:40:53PM +0200, Jakub Jelinek wrote:
>    [(set (match_operand:DI 0 "register_operand" "")
>          (ne:DI (match_operand:DI 1 "register_operand" "")
>                 (const_int 0)))]
> -  "TARGET_ARCH64"
> +  "TARGET_ARCH64 && REGNO(operands[0]) != REGNO(operands[1])"

register_operand matches subregs too.  Use true_regnum
instead of REGNO.

Otherwise ok.


r~


More information about the Gcc-patches mailing list