diff --git a/Eigen/src/Core/products/GeneralBlockPanelKernel.h b/Eigen/src/Core/products/GeneralBlockPanelKernel.h index 565e97d40..179d41c03 100644 --- a/Eigen/src/Core/products/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/products/GeneralBlockPanelKernel.h @@ -1221,6 +1221,7 @@ struct lhs_process_one_packet // (LhsProgress x depth) for(Index i=peelStart; i=8) { for(Index j2=0; j2=8) { for(Index j2=0; j2=8) { for(Index j2=0; j2=8) { // loop on each panel of the rhs for(Index j2=0; j2=8) { for(Index j2=0; j2=4) { @@ -3149,6 +3157,8 @@ struct gemm_pack_rhs=8 ? (cols/8) * 8 : 0; Index packet_cols4 = nr>=4 ? (cols/4) * 4 : 0; Index count = 0; + +#if EIGEN_ARCH_ARM64 EIGEN_IF_CONSTEXPR(nr>=8) { for(Index j2=0; j2=4) { for(Index j2=packet_cols8; j2