Added a ei_palign function align a packet from two others.

This allows much faster code dealing with unligned as
in the updated matrix-vector product functions.
This commit is contained in:
Gael Guennebaud
2008-08-03 15:15:46 +00:00
parent 55aeb1f83a
commit 6d11a07e5e
6 changed files with 162 additions and 30 deletions

View File

@@ -274,7 +274,6 @@ template<typename MatrixType, int BlockRows, int BlockCols> class Block<MatrixTy
inline const Scalar coeff(int row, int col) const
{
// std::cerr << "coeff(int row, int col)\n";
if (IsRowMajor)
return m_data_ptr[col + row * stride()];
else