aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/PreprocessorDirectives.dox
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-05-24 22:14:34 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-05-24 22:14:34 +0200
commit9216abe28df723a21f9cb26b28a2e40e021948df (patch)
treeeb9aa66c9618780fa913b1bf4df865d281c8dde2 /doc/PreprocessorDirectives.dox
parent0fd953c217d4cb042ea9521a2bfce7683eb6e915 (diff)
Document EIGEN_UNALIGNED_VECTORIZE.
Diffstat (limited to 'doc/PreprocessorDirectives.dox')
-rw-r--r--doc/PreprocessorDirectives.dox3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/PreprocessorDirectives.dox b/doc/PreprocessorDirectives.dox
index 7f60c70c6..2f9c4c370 100644
--- a/doc/PreprocessorDirectives.dox
+++ b/doc/PreprocessorDirectives.dox
@@ -108,6 +108,9 @@ run time. However, these assertions do cost time and can thus be turned off.
See \ref TopicMultiThreading for details.
- \b EIGEN_DONT_VECTORIZE - disables explicit vectorization when defined. Not defined by default, unless
alignment is disabled by %Eigen's platform test or the user defining \c EIGEN_DONT_ALIGN.
+ - \b EIGEN_UNALIGNED_VECTORIZE - disables/enables vectorization with unaligned stores. Default is 1 (enabled).
+ If set to 0 (disabled), then expression for which the destination cannot be aligned are not vectorized (e.g., unaligned
+ small fixed size vectors or matrices)
- \b EIGEN_FAST_MATH - enables some optimizations which might affect the accuracy of the result. This currently
enables the SSE vectorization of sin() and cos(), and speedups sqrt() for single precision. Defined to 1 by default.
Define it to 0 to disable.