* split PacketMath.h to SSE and Altivec specific files

* improved the flexibility of the new product implementation,
  now all sizes seems to be properly handled.
This commit is contained in:
Gael Guennebaud
2008-05-05 17:19:47 +00:00
parent 46fa4c713f
commit 64c49de7ba
7 changed files with 527 additions and 220 deletions

View File

@@ -84,6 +84,12 @@ using Eigen::MatrixBase;
#define EIGEN_ALWAYS_INLINE
#endif
#if (defined __GNUC__)
#define EIGEN_DONT_INLINE __attribute__((noinline))
#else
#define EIGEN_DONT_INLINE
#endif
#if (defined __GNUC__)
#define EIGEN_ALIGN_128 __attribute__ ((aligned(16)))
#else

View File

@@ -189,6 +189,9 @@ template<typename T> class ei_eval
template<typename T> struct ei_unref { typedef T type; };
template<typename T> struct ei_unref<T&> { typedef T type; };
template<typename T> struct ei_unconst { typedef T type; };
template<typename T> struct ei_unconst<const T> { typedef T type; };
template<typename T> struct ei_is_temporary
{
enum { ret = 0 };