* add a IsVectorized mechanism (instead of packet-size>1...)

* vectorize complex<double>
This commit is contained in:
Gael Guennebaud
2010-07-06 23:36:00 +02:00
parent 38d0a0d5d6
commit bfa606d16f
9 changed files with 230 additions and 32 deletions

View File

@@ -376,6 +376,8 @@ template<> struct ei_gemv_selector<OnTheRight,RowMajor,true>
* RhsBlasTraits::extractScalarFactor(prod.rhs());
enum {
// FIXME I think here we really have to check for ei_packet_traits<Scalar>::size==1
// because in this case it is fine to have an inner stride
DirectlyUseRhs = ((ei_packet_traits<Scalar>::size==1) || (_ActualRhsType::Flags&ActualPacketAccessBit))
&& (!(_ActualRhsType::Flags & RowMajorBit))
};