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