From: Janis Johnson Date: Thu, 12 Aug 2004 21:24:49 +0000 (+0000) Subject: rs6000.c (altivec_init_builtins): Fix argument type for vec_dss. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e34b6648c84876b59a36a19f48dfbd0a7768b66c;p=gcc.git rs6000.c (altivec_init_builtins): Fix argument type for vec_dss. 2004-08-12 Janis Johnson * config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type for vec_dss. From-SVN: r85903 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b302e0b9db..3363940a3d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-08-12 Janis Johnson + * 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. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ad09e078f97..8ed2625a0a6 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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);