rs6000-c.c (altivec_overloaded_builtins): Add BUILTIN_VEC_XST entries for pointer...
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Tue, 12 Jun 2018 15:49:14 +0000 (15:49 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Tue, 12 Jun 2018 15:49:14 +0000 (15:49 +0000)
[gcc]

2018-06-12  Will Schmidt  <will_schmidt@vnet.ibm.com>

* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
BUILTIN_VEC_XST entries for pointer to double and long long.

From-SVN: r261502

gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c

index 0170e1e8416f841482ef70956c1307e3bfd4df70..48d6d8307b1a3e5ca962fbdf6e17aeb44d5d604d 100644 (file)
@@ -1,3 +1,8 @@
+2018-06-12  Will Schmidt  <will_schmidt@vnet.ibm.com>
+
+       * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
+       BUILTIN_VEC_XST entries for pointer to double and long long.
+
 2018-06-12  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/85990
index 08326c277586fc21cd86039eec658b5b245d2da2..73be09b4e544e95e453aa23e308d1648cb651ba9 100644 (file)
@@ -4067,8 +4067,14 @@ const struct altivec_builtin_types altivec_overloaded_builtins[] = {
     RS6000_BTI_void, RS6000_BTI_unsigned_V16QI, RS6000_BTI_INTSI, ~RS6000_BTI_UINTQI },
   { VSX_BUILTIN_VEC_XST, VSX_BUILTIN_STXVD2X_V2DF,
     RS6000_BTI_void, RS6000_BTI_V2DF, RS6000_BTI_INTSI, ~RS6000_BTI_V2DF },
+  { VSX_BUILTIN_VEC_XST, VSX_BUILTIN_STXVD2X_V2DF,
+    RS6000_BTI_void, RS6000_BTI_V2DF, RS6000_BTI_INTSI, ~RS6000_BTI_double },
   { VSX_BUILTIN_VEC_XST, VSX_BUILTIN_STXVD2X_V2DI,
     RS6000_BTI_void, RS6000_BTI_V2DI, RS6000_BTI_INTSI, ~RS6000_BTI_V2DI },
+  { VSX_BUILTIN_VEC_XST, VSX_BUILTIN_STXVD2X_V2DI,
+    RS6000_BTI_void, RS6000_BTI_V2DI, RS6000_BTI_INTSI, ~RS6000_BTI_long_long },
+  { VSX_BUILTIN_VEC_XST, VSX_BUILTIN_STXVD2X_V2DI, RS6000_BTI_void,
+    RS6000_BTI_unsigned_V2DI, RS6000_BTI_INTSI, ~RS6000_BTI_unsigned_long_long },
   { VSX_BUILTIN_VEC_XST, VSX_BUILTIN_STXVD2X_V2DI,
     RS6000_BTI_void, RS6000_BTI_unsigned_V2DI, RS6000_BTI_INTSI,
     ~RS6000_BTI_unsigned_V2DI },