15 #define EIGEN_DEBUG_ALIGNED_LOAD { nb_load++; } 16 #define EIGEN_DEBUG_UNALIGNED_LOAD { nb_loadu++; } 17 #define EIGEN_DEBUG_ALIGNED_STORE { nb_store++; } 18 #define EIGEN_DEBUG_UNALIGNED_STORE { nb_storeu++; } 20 #define VERIFY_ALIGNED_UNALIGNED_COUNT(XPR,AL,UL,AS,US) {\ 21 nb_load = nb_loadu = nb_store = nb_storeu = 0; \ 23 if(!(nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US)) \ 24 std::cerr << " >> " << nb_load << ", " << nb_loadu << ", " << nb_store << ", " << nb_storeu << "\n"; \ 25 VERIFY( (#XPR) && nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US ); \ 33 #if defined(EIGEN_VECTORIZE_AVX512) 34 VectorXf
a(48),
b(48);
40 #elif defined(EIGEN_VECTORIZE_AVX) 41 VectorXf
a(40),
b(40);
47 #elif defined(EIGEN_VECTORIZE_SSE) 48 VectorXf
a(40),
b(40);
EIGEN_DECLARE_TEST(unalignedcount)
#define VERIFY_ALIGNED_UNALIGNED_COUNT(XPR, AL, UL, AS, US)