Enable fused madd for Altivec

This commit is contained in:
Gael Guennebaud
2014-04-24 23:17:18 +02:00
parent 8d85ce88e1
commit b0e19db1cf
4 changed files with 21 additions and 5 deletions

View File

@@ -22,6 +22,12 @@ namespace internal {
#define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS (2*sizeof(void*))
#endif
#ifdef EIGEN_VECTORIZE_FMA
#ifndef EIGEN_HAS_FUSED_MADD
#define EIGEN_HAS_FUSED_MADD 1
#endif
#endif
typedef __m256 Packet8f;
typedef __m256i Packet8i;
typedef __m256d Packet4d;