[PATCH] Minor fixups to the sparc bmask/bshuffle patterns.

Richard Henderson rth@redhat.com
Mon Oct 3 17:07:00 GMT 2011


On 10/03/2011 09:43 AM, David Miller wrote:
>  (define_insn "bshuffle<V64I:mode>_vis"
>    [(set (match_operand:V64I 0 "register_operand" "=e")
>          (unspec:V64I [(match_operand:V64I 1 "register_operand" "e")
> -	              (match_operand:V64I 2 "register_operand" "e")]
> -                     UNSPEC_BSHUFFLE))
> -   (use (reg:SI GSR_REG))]
> +	              (match_operand:V64I 2 "register_operand" "e")
> +		      (use (reg:SI GSR_REG))]
> +                     UNSPEC_BSHUFFLE))]

I think I was less than clear here.  You don't need the USE either.
The GSR register is simply a normal (third) input to the unspec.


r~



More information about the Gcc-patches mailing list