rs6000: Fix misnamed built-in
authorBill Schmidt <wschmidt@linux.ibm.com>
Wed, 16 Sep 2020 01:34:22 +0000 (20:34 -0500)
committerBill Schmidt <wschmidt@linux.ibm.com>
Wed, 16 Sep 2020 01:34:22 +0000 (20:34 -0500)
The description in rs6000-builtin.def provides for a builtin named
__builtin_altivec_xst_len_r.  However, it is hand-defined in
altivec_init_builtins as __builtin_xst_len_r, against the usual naming
practice.  Fix that.

2020-09-15  Bill Schmidt  <wschmidt@linux.ibm.com>

gcc/
* config/rs6000/rs6000-call.c (altivec_init_builtins): Fix name
of __builtin_altivec_xst_len_r.

gcc/config/rs6000/rs6000-call.c

index 77c7a1149fb4ed82714a6ab9759073b1a5e168bc..a8b520834c788c5715353950c8c4d6bc948c77a4 100644 (file)
@@ -13490,7 +13490,7 @@ altivec_init_builtins (void)
     {
       def_builtin ("__builtin_altivec_stxvl", void_ftype_v16qi_pvoid_long,
                   P9V_BUILTIN_STXVL);
-      def_builtin ("__builtin_xst_len_r", void_ftype_v16qi_pvoid_long,
+      def_builtin ("__builtin_altivec_xst_len_r", void_ftype_v16qi_pvoid_long,
                   P9V_BUILTIN_XST_LEN_R);
     }