[gcc r11-8956] Use UNSPSEC_XXSPLTIDP instead of UNSPEC_XXSPLTID
Michael Meissner
meissner@gcc.gnu.org
Fri Sep 3 18:15:09 GMT 2021
https://gcc.gnu.org/g:1456e6343249aca8f053f0707a51d18f9491eea2
commit r11-8956-g1456e6343249aca8f053f0707a51d18f9491eea2
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Fri Sep 3 14:12:38 2021 -0400
Use UNSPSEC_XXSPLTIDP instead of UNSPEC_XXSPLTID
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.
Diff:
---
gcc/config/rs6000/altivec.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md
index df1d2535046..44fce835e87 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")
More information about the Gcc-cvs
mailing list