]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s390: Make use of new copysign RTL
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Mon, 9 Oct 2023 06:32:17 +0000 (08:32 +0200)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Mon, 9 Oct 2023 06:32:17 +0000 (08:32 +0200)
gcc/ChangeLog:

* config/s390/s390.md: Make use of new copysign RTL.

gcc/config/s390/s390.md

index 9631b2a8c60cc8cbb3f8ec2bcbbb05e0b1d94bbd..3f29ba214427dea2a02655bf10663671de67f0d6 100644 (file)
 
    ; Byte-wise Population Count
    UNSPEC_POPCNT
-   UNSPEC_COPYSIGN
 
    ; Load FP Integer
    UNSPEC_FPINT_FLOOR
 
 (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")