Enable SSE vectorization of Quaternion and cross3() with AVX

This commit is contained in:
Gael Guennebaud
2019-02-23 10:45:40 +01:00
parent 0b25a5c431
commit e409dbba14
2 changed files with 26 additions and 18 deletions

View File

@@ -49,9 +49,8 @@
#include "src/Geometry/AlignedBox.h"
#include "src/Geometry/Umeyama.h"
// Use the SSE optimized version whenever possible. At the moment the
// SSE version doesn't compile when AVX is enabled
#if defined EIGEN_VECTORIZE_SSE && !defined EIGEN_VECTORIZE_AVX
// Use the SSE optimized version whenever possible.
#if defined EIGEN_VECTORIZE_SSE
#include "src/Geometry/arch/Geometry_SSE.h"
#endif