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: S/390: Fix warnings in "*setmem_long..." patterns.


On 12/04/2015 06:15 PM, Dominik Vogt wrote:
> Version 5 with the latest requested changes.  Seems to work now.
> I've dropped the extra patch and rather marked the failing tests
> as "xfail".
> 
> Ciao
> 
> Dominik ^_^  ^_^
> 

Patch applied with minor changes:

> +   ; Convert Pmode to BLKmode
> +   UNSPEC_REPLICATE_BYTE

That comment did not really fit after changing the name of the unspec.

> -(define_expand "setmem_long"
> +(define_expand "setmem_long_<P:mode>"
>    [(parallel
>      [(clobber (match_dup 1))
>       (set (match_operand:BLK 0 "memory_operand" "")
> -          (match_operand 2 "shift_count_or_setmem_operand" ""))
> -     (use (match_operand 1 "general_operand" ""))
> +	  (unspec:BLK [(match_operand:P 2 "shift_count_or_setmem_operand" "Y")

Superfluous constraint removed.

Thanks!

-Andreas-


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