mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
scalars fitting in a single packet requires more work, step 1
* add a, Alignable trait * update LinearVectorization assignment
This commit is contained in:
@@ -67,6 +67,7 @@ template<> struct ei_packet_traits<float> : ei_default_packet_traits
|
||||
typedef Packet4f type;
|
||||
enum {
|
||||
Vectorizable = 1,
|
||||
AlignedOnScalar = 1,
|
||||
size=4,
|
||||
|
||||
HasDiv = 1,
|
||||
@@ -82,6 +83,7 @@ template<> struct ei_packet_traits<double> : ei_default_packet_traits
|
||||
typedef Packet2d type;
|
||||
enum {
|
||||
Vectorizable = 1,
|
||||
AlignedOnScalar = 1,
|
||||
size=2,
|
||||
|
||||
HasDiv = 1
|
||||
@@ -93,6 +95,7 @@ template<> struct ei_packet_traits<int> : ei_default_packet_traits
|
||||
enum {
|
||||
// FIXME check the Has*
|
||||
Vectorizable = 1,
|
||||
AlignedOnScalar = 1,
|
||||
size=4
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user