add optimized quaternion * quaternion product specialization for

float/SSE using code from Rohit Garg
This commit is contained in:
Gael Guennebaud
2009-03-07 13:52:44 +00:00
parent 6f95270ede
commit e4f64ce098
4 changed files with 81 additions and 7 deletions

View File

@@ -247,4 +247,16 @@ enum TransformTraits {
Projective = 0x30
};
const int EiArch_Generic = 0x0;
const int EiArch_SSE = 0x1;
const int EiArch_AltiVec = 0x2;
#if defined EIGEN_VECTORIZE_SSE
const int EiArch = EiArch_SSE;
#elif defined EIGEN_VECTORIZE_ALTIVEC
const int EiArch = EiArch_AltiVec;
#else
const int EiArch = EiArch_Generic;
#endif
#endif // EIGEN_CONSTANTS_H