public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] s390: Make use of new copysign RTL
@ 2023-10-05  6:46 Stefan Schulze Frielinghaus
  2023-10-07  5:39 ` Andreas Krebbel
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schulze Frielinghaus @ 2023-10-05  6:46 UTC (permalink / raw)
  To: krebbel, gcc-patches; +Cc: Stefan Schulze Frielinghaus

gcc/ChangeLog:

	* config/s390/s390.md: Make use of new copysign RTL.
---
 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")
-- 
2.41.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] s390: Make use of new copysign RTL
  2023-10-05  6:46 [PATCH] s390: Make use of new copysign RTL Stefan Schulze Frielinghaus
@ 2023-10-07  5:39 ` Andreas Krebbel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2023-10-07  5:39 UTC (permalink / raw)
  To: Stefan Schulze Frielinghaus, gcc-patches

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")


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-07  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05  6:46 [PATCH] s390: Make use of new copysign RTL Stefan Schulze Frielinghaus
2023-10-07  5:39 ` Andreas Krebbel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).