diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2002-02-05 23:19:13 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2002-02-05 23:19:13 +0000 |
commit | ef238c58cf79aa209db445ea824ee60e189649a7 (patch) | |
tree | 141431bc1c2f38c83d11a87e23d479d152c743fe | |
parent | 8a921c08a7675540dc7c075dbad9c9feaad805cf (diff) | |
download | gcc-ef238c58cf79aa209db445ea824ee60e189649a7.zip gcc-ef238c58cf79aa209db445ea824ee60e189649a7.tar.gz gcc-ef238c58cf79aa209db445ea824ee60e189649a7.tar.bz2 |
altivec.h: Change elem to _S_elem.
2002-02-06 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h: Change elem to _S_elem.
From-SVN: r49532
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/altivec.h | 18 |
2 files changed, 13 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d2c2605..fb83506 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-06 Aldy Hernandez <aldyh@redhat.com> + + * config/rs6000/altivec.h: Change elem to _S_elem. + 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> * config/netbsd.h (WCHAR_TYPE): Define. diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h index 51749c2..a0ba92f 100644 --- a/gcc/config/rs6000/altivec.h +++ b/gcc/config/rs6000/altivec.h @@ -4059,52 +4059,52 @@ vec_any_out (vector float a1, vector float a2) template<typename _Tp> struct __vec_step_help { - // All proper vector types will specialize elem. + // All proper vector types will specialize _S_elem. }; template<> struct __vec_step_help<vector signed short> { - static const int elem = 8; + static const int _S_elem = 8; }; template<> struct __vec_step_help<vector unsigned short> { - static const int elem = 8; + static const int _S_elem = 8; }; template<> struct __vec_step_help<vector signed int> { - static const int elem = 4; + static const int _S_elem = 4; }; template<> struct __vec_step_help<vector unsigned int> { - static const int elem = 4; + static const int _S_elem = 4; }; template<> struct __vec_step_help<vector unsigned char> { - static const int elem = 16; + static const int _S_elem = 16; }; template<> struct __vec_step_help<vector signed char> { - static const int elem = 16; + static const int _S_elem = 16; }; template<> struct __vec_step_help<vector float> { - static const int elem = 4; + static const int _S_elem = 4; }; -#define vec_step(t) __vec_step_help<t>::elem +#define vec_step(t) __vec_step_help<t>::_S_elem #else /* not C++ */ |