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
This commit is contained in:
Aldy Hernandez 2002-02-05 08:28:23 +00:00 committed by Aldy Hernandez
parent ee67be75ad
commit 8f909017bf
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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++ */