From 235bcfe08d4db305d21f6b8adc34bc30861444c8 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Tue, 25 Feb 2020 01:07:28 +0000 Subject: [PATCH] Revert "Pick full packet unconditionally when EIGEN_UNALIGNED_VECTORIZE" This reverts commit 44df2109c8c700222643a9a45f144676348f4df1 --- Eigen/src/Core/util/XprHelper.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 22f8bdd6c..26aa609fe 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -194,20 +194,8 @@ template struct unpacket_traits }; }; -// If we vectorize regardless of alignment, always pick the full-sized packet, -// if we have enough data to process. -// -// Otherwise, pick the packet size we know is going to work with the alignment -// of the given data. See -// for more -// information. -#if EIGEN_UNALIGNED_VECTORIZE template= unpacket_traits::size || is_same::half>::value> -#else -template::size)==0 || is_same::half>::value> -#endif struct find_best_packet_helper; template< int Size, typename PacketType>