let the user disable alignment altogether by #defining EIGEN_DONT_ALIGN.

Until now, the user had to edit the source code to do that.
Internally, add EIGEN_ALIGN that takes into account both EIGEN_DONT_ALIGN.and
EIGEN_ARCH_WANTS_ALIGNMENT. From now on, only EIGEN_ALIGN should be used to
test whether we want to align.
This commit is contained in:
Benoit Jacob
2009-05-03 13:50:56 +00:00
parent facee57b8d
commit 95bda5e6ab
5 changed files with 22 additions and 11 deletions

View File

@@ -24,7 +24,7 @@
#include "main.h"
#if EIGEN_ARCH_WANTS_ALIGNMENT
#if EIGEN_ALIGN
#define ALIGNMENT 16
#else
#define ALIGNMENT 1