Fix for vcmpequt builtin
authorCarl Love <cel@us.ibm.com>
Thu, 10 Jun 2021 22:36:25 +0000 (17:36 -0500)
committerCarl Love <cel@us.ibm.com>
Tue, 15 Jun 2021 15:43:33 +0000 (10:43 -0500)
The vcmpequt builtin define eqvv1ti3 points to the eqv define instruction
for the eqv instruction.  The vcmpequt builtin define should point to the
vector_eqv1ti instruction definition for the vcmpequq instruction.

2021-06-15  Carl Love  <cel@us.ibm.com>

gcc/ChangeLog
PR target/101022
* config/rs6000/rs6000-builtin.def (VCMPEQUT): Fix the ICODE for the
enum definition.
(VRLQ, VSLQ, VSRQ, VSRAQ): Remove unused BU_P10_OVERLOAD_2
definitions.

gcc/config/rs6000/rs6000-builtin.def

index 231e7c9..d7ce4de 100644 (file)
@@ -2924,7 +2924,7 @@ BU_P10V_VSX_2 (XXGENPCVM_V4SI, "xxgenpcvm_v4si", CONST, xxgenpcvm_v4si)
 BU_P10V_VSX_2 (XXGENPCVM_V2DI, "xxgenpcvm_v2di", CONST, xxgenpcvm_v2di)
 BU_P10V_AV_2 (VCMPGTUT,                "vcmpgtut",     CONST,  vector_gtuv1ti)
 BU_P10V_AV_2 (VCMPGTST,                "vcmpgtst",     CONST,  vector_gtv1ti)
-BU_P10V_AV_2 (VCMPEQUT,                "vcmpequt",     CONST,  eqvv1ti3)
+BU_P10V_AV_2 (VCMPEQUT,                "vcmpequt",     CONST,  vector_eqv1ti)
 BU_P10V_AV_2 (CMPNET,          "vcmpnet",      CONST,  vcmpnet)
 BU_P10V_AV_2 (CMPGE_1TI,       "cmpge_1ti",    CONST,  vector_nltv1ti)
 BU_P10V_AV_2 (CMPGE_U1TI,      "cmpge_u1ti",   CONST,  vector_nltuv1ti)
@@ -3078,10 +3078,6 @@ BU_P10_OVERLOAD_2 (CLRR, "clrr")
 BU_P10_OVERLOAD_2 (GNB, "gnb")
 BU_P10_OVERLOAD_4 (XXEVAL, "xxeval")
 BU_P10_OVERLOAD_2 (XXGENPCVM, "xxgenpcvm")
-BU_P10_OVERLOAD_2 (VRLQ, "vrlq")
-BU_P10_OVERLOAD_2 (VSLQ, "vslq")
-BU_P10_OVERLOAD_2 (VSRQ, "vsrq")
-BU_P10_OVERLOAD_2 (VSRAQ, "vsraq")
 
 BU_P10_OVERLOAD_3 (EXTRACTL, "extractl")
 BU_P10_OVERLOAD_3 (EXTRACTH, "extracth")