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