diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-07-08 14:27:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-07-08 14:27:47 +0200 |
commit | 300a226ffa6f51ff8be00b1d01ce34fbdc303033 (patch) | |
tree | 44e0a72f8ca422f611470971911cddba406c1cc1 /Eigen/src/Core/arch/SSE/Complex.h | |
parent | 2a1500915aae55c97e811b7d48707a072a078ada (diff) |
scalars fitting in a single packet requires more work, step 1
* add a, Alignable trait
* update LinearVectorization assignment
Diffstat (limited to 'Eigen/src/Core/arch/SSE/Complex.h')
-rw-r--r-- | Eigen/src/Core/arch/SSE/Complex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/arch/SSE/Complex.h b/Eigen/src/Core/arch/SSE/Complex.h index b288c4cdc..6b73a42f9 100644 --- a/Eigen/src/Core/arch/SSE/Complex.h +++ b/Eigen/src/Core/arch/SSE/Complex.h @@ -38,6 +38,7 @@ template<> struct ei_packet_traits<std::complex<float> > : ei_default_packet_tr typedef Packet2cf type; enum { Vectorizable = 1, + AlignedOnScalar = 1, size = 2, HasAdd = 1, @@ -224,6 +225,7 @@ template<> struct ei_packet_traits<std::complex<double> > : ei_default_packet_t typedef Packet1cd type; enum { Vectorizable = 1, + AlignedOnScalar = 0, size = 1, HasAdd = 1, |