rs6000.c (altivec_init_builtins): Fix argument type for vec_dss.
authorJanis Johnson <janis187@us.ibm.com>
Thu, 12 Aug 2004 21:24:49 +0000 (21:24 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 12 Aug 2004 21:24:49 +0000 (21:24 +0000)
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type
for vec_dss.

From-SVN: r85903

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

index 4b302e0b9db1f6f4876bebda8f55879901608855..3363940a3d9cde14d6571b5a9a685c174e0ee913 100644 (file)
@@ -1,5 +1,8 @@
 2004-08-12  Janis Johnson  <janis187@us.ibm.com>
 
+       * config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type
+       for vec_dss.
+
        * doc/extend.texi (AltiVec builtins): Fix description for recent
        changes.  Update operation list to match current support.
 
index ad09e078f97e7fec6de0f73ad8bc46b8e6bb4315..8ed2625a0a6a69386d1bff545154be7b6790bbb9 100644 (file)
@@ -7583,8 +7583,8 @@ altivec_init_builtins (void)
     = build_function_type (V8HI_type_node, void_list_node);
   tree void_ftype_void
     = build_function_type (void_type_node, void_list_node);
-  tree void_ftype_qi
-    = build_function_type_list (void_type_node, char_type_node, NULL_TREE);
+  tree void_ftype_int
+    = build_function_type_list (void_type_node, integer_type_node, NULL_TREE);
 
   tree v16qi_ftype_long_pcvoid
     = build_function_type_list (V16QI_type_node,
@@ -7655,7 +7655,7 @@ altivec_init_builtins (void)
   def_builtin (MASK_ALTIVEC, "__builtin_altivec_mtvscr", void_ftype_v4si, ALTIVEC_BUILTIN_MTVSCR);
   def_builtin (MASK_ALTIVEC, "__builtin_altivec_mfvscr", v8hi_ftype_void, ALTIVEC_BUILTIN_MFVSCR);
   def_builtin (MASK_ALTIVEC, "__builtin_altivec_dssall", void_ftype_void, ALTIVEC_BUILTIN_DSSALL);
-  def_builtin (MASK_ALTIVEC, "__builtin_altivec_dss", void_ftype_qi, ALTIVEC_BUILTIN_DSS);
+  def_builtin (MASK_ALTIVEC, "__builtin_altivec_dss", void_ftype_int, ALTIVEC_BUILTIN_DSS);
   def_builtin (MASK_ALTIVEC, "__builtin_altivec_lvsl", v16qi_ftype_long_pcvoid, ALTIVEC_BUILTIN_LVSL);
   def_builtin (MASK_ALTIVEC, "__builtin_altivec_lvsr", v16qi_ftype_long_pcvoid, ALTIVEC_BUILTIN_LVSR);
   def_builtin (MASK_ALTIVEC, "__builtin_altivec_lvebx", v16qi_ftype_long_pcvoid, ALTIVEC_BUILTIN_LVEBX);