summaryrefslogtreecommitdiffhomepage
path: root/eigen/test/vectorization_logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/test/vectorization_logic.cpp')
-rw-r--r--eigen/test/vectorization_logic.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/eigen/test/vectorization_logic.cpp b/eigen/test/vectorization_logic.cpp
index 83c1439..37e7495 100644
--- a/eigen/test/vectorization_logic.cpp
+++ b/eigen/test/vectorization_logic.cpp
@@ -207,6 +207,12 @@ struct vectorization_logic
VERIFY(test_redux(Vector1(),
LinearVectorizedTraversal,CompleteUnrolling));
+ VERIFY(test_redux(Vector1().array()*Vector1().array(),
+ LinearVectorizedTraversal,CompleteUnrolling));
+
+ VERIFY(test_redux((Vector1().array()*Vector1().array()).col(0),
+ LinearVectorizedTraversal,CompleteUnrolling));
+
VERIFY(test_redux(Matrix<Scalar,PacketSize,3>(),
LinearVectorizedTraversal,CompleteUnrolling));