From 032880074ed6d416c35e18d90e4d1bf2077a3aa2 Mon Sep 17 00:00:00 2001 From: Daniel Gomez Ferro Date: Fri, 20 Feb 2009 22:23:25 +0000 Subject: [PATCH] Added new product implementation. Just works for square, power of 2 matrices of floats. --- Eigen/src/Core/CacheFriendlyProduct.h | 62 +++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/Eigen/src/Core/CacheFriendlyProduct.h b/Eigen/src/Core/CacheFriendlyProduct.h index a2ed440c9..1e06c1783 100644 --- a/Eigen/src/Core/CacheFriendlyProduct.h +++ b/Eigen/src/Core/CacheFriendlyProduct.h @@ -99,6 +99,7 @@ static void ei_cache_friendly_product( Scalar* EIGEN_RESTRICT rhsCopy = ei_aligned_stack_new(Scalar, l2BlockSizeAligned*l2BlockSizeAligned); +#ifndef EIGEN_USE_NEW_PRODUCT // loops on each L2 cache friendly blocks of the result for(int l2i=0; l2i