altivec.h (vec_dst): Fix C++ functions whose first argument is float*.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

	* config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first
	argument is float*.

From-SVN: r85906
This commit is contained in:
Janis Johnson 2004-08-12 21:27:14 +00:00 committed by Janis Johnson
parent 174b1783d0
commit e390eb0a14
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2004-08-12 Janis Johnson <janis187@us.ibm.com>
* 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.

View File

@ -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);
}