diff options
author | Janis Johnson <janis187@us.ibm.com> | 2004-08-12 21:27:14 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2004-08-12 21:27:14 +0000 |
commit | e390eb0a14ad9138f396e5e631dfed4eac07ebe0 (patch) | |
tree | e4931ef8c108fe1c9bc5c11ceaa577a5dbd9d95d | |
parent | 174b1783d052ecf338b60d47d2db3a5dc5256757 (diff) | |
download | gcc-e390eb0a14ad9138f396e5e631dfed4eac07ebe0.zip gcc-e390eb0a14ad9138f396e5e631dfed4eac07ebe0.tar.gz gcc-e390eb0a14ad9138f396e5e631dfed4eac07ebe0.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/altivec.h | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3363940..a1baa0f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h index ddc95f0..b7bb1b6 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); } |