From: Janis Johnson Date: Thu, 12 Aug 2004 21:27:14 +0000 (+0000) Subject: altivec.h (vec_dst): Fix C++ functions whose first argument is float*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e390eb0a14ad9138f396e5e631dfed4eac07ebe0;p=gcc.git altivec.h (vec_dst): Fix C++ functions whose first argument is float*. 2004-08-12 Janis Johnson * config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first argument is float*. From-SVN: r85906 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3363940a3d9..a1baa0f9384 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-08-12 Janis Johnson + * config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first + argument is float*. + * config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type for vec_dss. diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h index ddc95f07c27..b7bb1b67c95 100644 --- a/gcc/config/rs6000/altivec.h +++ b/gcc/config/rs6000/altivec.h @@ -1662,7 +1662,7 @@ vec_dst (const long *a1, int a2, const int a3) } inline void -vec_dst (float *a1, int a2, const int a3) +vec_dst (const float *a1, int a2, const int a3) { __builtin_altivec_dst ((void *) a1, a2, a3); } @@ -1784,7 +1784,7 @@ vec_dstst (const long *a1, int a2, const int a3) } inline void -vec_dstst (float *a1, int a2, const int a3) +vec_dstst (const float *a1, int a2, const int a3) { __builtin_altivec_dstst ((void *) a1, a2, a3); } @@ -1906,7 +1906,7 @@ vec_dststt (const long *a1, int a2, const int a3) } inline void -vec_dststt (float *a1, int a2, const int a3) +vec_dststt (const float *a1, int a2, const int a3) { __builtin_altivec_dststt ((void *) a1, a2, a3); } @@ -2028,7 +2028,7 @@ vec_dstt (const long *a1, int a2, const int a3) } inline void -vec_dstt (float *a1, int a2, const int a3) +vec_dstt (const float *a1, int a2, const int a3) { __builtin_altivec_dstt ((void *) a1, a2, a3); }