]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Use UNSPSEC_XXSPLTIDP instead of UNSPEC_XXSPLTID
authorMichael Meissner <meissner@linux.ibm.com>
Fri, 3 Sep 2021 18:12:38 +0000 (14:12 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Fri, 3 Sep 2021 18:14:14 +0000 (14:14 -0400)
Backport from master:  2021-08-24  Michael Meissner  <meissner@linux.ibm.com>

2021-09-03  Michael Meissner  <meissner@linux.ibm.com>

gcc/

* config/rs6000/altivec.md (UNSPEC_XXSPLTIDP): Rename from
UNSPEC_XXSPLTID.
(xxspltidp_v2df): Likewise.
(xxspltidp_v2df_inst): Likewise.

gcc/config/rs6000/altivec.md

index df1d2535046b98b56778a3d87e8ef26844637b0e..44fce835e879dbf6cb8d0a608248d0af58724330 100644 (file)
    UNSPEC_SLDB
    UNSPEC_SRDB
    UNSPEC_XXSPLTIW
-   UNSPEC_XXSPLTID
+   UNSPEC_XXSPLTIDP
    UNSPEC_XXSPLTI32DX
    UNSPEC_XXBLEND
    UNSPEC_XXPERMX
 (define_expand "xxspltidp_v2df"
   [(set (match_operand:V2DF 0 "register_operand" )
        (unspec:V2DF [(match_operand:SF 1 "const_double_operand")]
-                    UNSPEC_XXSPLTID))]
+                    UNSPEC_XXSPLTIDP))]
  "TARGET_POWER10"
 {
   long value = rs6000_const_f32_to_i32 (operands[1]);
 (define_insn "xxspltidp_v2df_inst"
   [(set (match_operand:V2DF 0 "register_operand" "=wa")
        (unspec:V2DF [(match_operand:SI 1 "c32bit_cint_operand" "n")]
-                    UNSPEC_XXSPLTID))]
+                    UNSPEC_XXSPLTIDP))]
   "TARGET_POWER10"
   "xxspltidp %x0,%1"
   [(set_attr "type" "vecperm")