diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2002-02-05 08:28:23 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2002-02-05 08:28:23 +0000 |
commit | 8f909017bf9194506bde70cc5ddeca6d5c14fd45 (patch) | |
tree | 6a2aa64181f410473e605c40ba006766f0941ec5 /gcc | |
parent | ee67be75ad20ea68221d6899e87380c47c87027c (diff) | |
download | gcc-8f909017bf9194506bde70cc5ddeca6d5c14fd45.zip gcc-8f909017bf9194506bde70cc5ddeca6d5c14fd45.tar.gz gcc-8f909017bf9194506bde70cc5ddeca6d5c14fd45.tar.bz2 |
altivec.h (vec_step_help): Rename to __vec_step_help.
2002-02-05 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h (vec_step_help): Rename to
__vec_step_help.
From-SVN: r49518
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/altivec.h | 18 |
2 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ee7e31..3c7d686 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2002-02-05 Aldy Hernandez <aldyh@redhat.com> + * config/rs6000/altivec.h (vec_step_help): Rename to + __vec_step_help. + +2002-02-05 Aldy Hernandez <aldyh@redhat.com> + * config/rs6000/altivec.h: Fix typos. 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h index acb0022..51749c2 100644 --- a/gcc/config/rs6000/altivec.h +++ b/gcc/config/rs6000/altivec.h @@ -4057,54 +4057,54 @@ vec_any_out (vector float a1, vector float a2) /* vec_step */ template<typename _Tp> -struct vec_step_help +struct __vec_step_help { // All proper vector types will specialize elem. }; template<> -struct vec_step_help<vector signed short> +struct __vec_step_help<vector signed short> { static const int elem = 8; }; template<> -struct vec_step_help<vector unsigned short> +struct __vec_step_help<vector unsigned short> { static const int elem = 8; }; template<> -struct vec_step_help<vector signed int> +struct __vec_step_help<vector signed int> { static const int elem = 4; }; template<> -struct vec_step_help<vector unsigned int> +struct __vec_step_help<vector unsigned int> { static const int elem = 4; }; template<> -struct vec_step_help<vector unsigned char> +struct __vec_step_help<vector unsigned char> { static const int elem = 16; }; template<> -struct vec_step_help<vector signed char> +struct __vec_step_help<vector signed char> { static const int elem = 16; }; template<> -struct vec_step_help<vector float> +struct __vec_step_help<vector float> { static const int elem = 4; }; -#define vec_step(t) vec_step_help<t>::elem +#define vec_step(t) __vec_step_help<t>::elem #else /* not C++ */ |