summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/altivec.h
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-05 08:28:23 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-05 08:28:23 +0000
commit6ec6ead44c824fa8daf578fa49e529dcc8e3f3fc (patch)
tree6a2aa64181f410473e605c40ba006766f0941ec5 /gcc/config/rs6000/altivec.h
parent92238ded7d4a85a54a1e0a9984691b856f9a6dbf (diff)
downloadgcc-6ec6ead44c824fa8daf578fa49e529dcc8e3f3fc.tar.gz
2002-02-05 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h (vec_step_help): Rename to __vec_step_help. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/altivec.h')
-rw-r--r--gcc/config/rs6000/altivec.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h
index acb00223598..51749c26ea1 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++ */