From: Michael Meissner Date: Fri, 3 Sep 2021 18:12:38 +0000 (-0400) Subject: Use UNSPSEC_XXSPLTIDP instead of UNSPEC_XXSPLTID X-Git-Tag: releases/gcc-11.3.0~937 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1456e6343249aca8f053f0707a51d18f9491eea2;p=thirdparty%2Fgcc.git Use UNSPSEC_XXSPLTIDP instead of UNSPEC_XXSPLTID Backport from master: 2021-08-24 Michael Meissner 2021-09-03 Michael Meissner gcc/ * config/rs6000/altivec.md (UNSPEC_XXSPLTIDP): Rename from UNSPEC_XXSPLTID. (xxspltidp_v2df): Likewise. (xxspltidp_v2df_inst): Likewise. --- diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index df1d2535046b..44fce835e879 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -181,7 +181,7 @@ UNSPEC_SLDB UNSPEC_SRDB UNSPEC_XXSPLTIW - UNSPEC_XXSPLTID + UNSPEC_XXSPLTIDP UNSPEC_XXSPLTI32DX UNSPEC_XXBLEND UNSPEC_XXPERMX @@ -880,7 +880,7 @@ (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]); @@ -891,7 +891,7 @@ (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")