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

David Miller davem@davemloft.net
Mon Oct 3 17:40:00 GMT 2011


From: Richard Henderson <rth@redhat.com>
Date: Mon, 03 Oct 2011 10:07:26 -0700

> 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.

I see, I'll fix this up, thanks Richard.



More information about the Gcc-patches mailing list