From a5522a13818af02001abad4c36b5195011ea0348 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Tue, 29 Oct 2013 12:42:46 +0100 Subject: [PATCH] Use aligned loads in Matrix-Vector product where possible. Fixes bug #689 --- Eigen/src/Core/products/GeneralMatrixVector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/products/GeneralMatrixVector.h b/Eigen/src/Core/products/GeneralMatrixVector.h index c1cb78498..c4bf0be5c 100644 --- a/Eigen/src/Core/products/GeneralMatrixVector.h +++ b/Eigen/src/Core/products/GeneralMatrixVector.h @@ -265,7 +265,7 @@ EIGEN_DONT_INLINE void general_matrix_vector_product(&lhs0[i]), ptmp0, pload(&res[i]))); + pstore(&res[i], pcj.pmadd(pload(&lhs0[i]), ptmp0, pload(&res[i]))); else for (Index i = alignedStart;i(&lhs0[i]), ptmp0, pload(&res[i])));