On 10/5/23 08:46, Stefan Schulze Frielinghaus wrote:
> gcc/ChangeLog:
> 
>       * config/s390/s390.md: Make use of new copysign RTL.

Ok. Thanks!

Andreas

> ---
>  gcc/config/s390/s390.md | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
> index 9631b2a8c60..3f29ba21442 100644
> --- a/gcc/config/s390/s390.md
> +++ b/gcc/config/s390/s390.md
> @@ -124,7 +124,6 @@
>  
>     ; Byte-wise Population Count
>     UNSPEC_POPCNT
> -   UNSPEC_COPYSIGN
>  
>     ; Load FP Integer
>     UNSPEC_FPINT_FLOOR
> @@ -11918,9 +11917,8 @@
>  
>  (define_insn "copysign<mode>3<tf_fpr>"
>    [(set (match_operand:FP 0 "register_operand" "=f")
> -      (unspec:FP [(match_operand:FP 1 "register_operand" "<fT0>")
> -                  (match_operand:FP 2 "register_operand" "f")]
> -                  UNSPEC_COPYSIGN))]
> +     (copysign:FP (match_operand:FP 1 "register_operand" "<fT0>")
> +                  (match_operand:FP 2 "register_operand" "f")))]
>    "TARGET_Z196"
>    "cpsdr\t%0,%2,%1"
>    [(set_attr "op_type"  "RRF")

Reply via email to