mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 13:15:57 +08:00
remove the aligned bit flag for non vectorizable types
This commit is contained in:
parent
3a30a2bc3e
commit
8566ef805b
@ -119,21 +119,11 @@ class ei_compute_matrix_flags
|
|||||||
enum {
|
enum {
|
||||||
row_major_bit = Options&RowMajor ? RowMajorBit : 0,
|
row_major_bit = Options&RowMajor ? RowMajorBit : 0,
|
||||||
is_dynamic_size_storage = MaxRows==Dynamic || MaxCols==Dynamic,
|
is_dynamic_size_storage = MaxRows==Dynamic || MaxCols==Dynamic,
|
||||||
#if EIGEN_ALIGN_STATICALLY
|
|
||||||
is_fixed_size_aligned
|
|
||||||
= (!is_dynamic_size_storage) && (((MaxCols*MaxRows) % ei_packet_traits<Scalar>::size) == 0),
|
|
||||||
#else
|
|
||||||
is_fixed_size_aligned = 0,
|
|
||||||
#endif
|
|
||||||
#if EIGEN_ALIGN
|
|
||||||
is_dynamic_size_aligned = is_dynamic_size_storage,
|
|
||||||
#else
|
|
||||||
is_dynamic_size_aligned = 0,
|
|
||||||
#endif
|
|
||||||
|
|
||||||
aligned_bit =
|
aligned_bit =
|
||||||
(
|
(
|
||||||
((Options&DontAlign)==0)
|
((Options&DontAlign)==0)
|
||||||
|
&& ei_packet_traits<Scalar>::Vectorizable
|
||||||
&& (
|
&& (
|
||||||
#if EIGEN_ALIGN_STATICALLY
|
#if EIGEN_ALIGN_STATICALLY
|
||||||
((!is_dynamic_size_storage) && (((MaxCols*MaxRows) % ei_packet_traits<Scalar>::size) == 0))
|
((!is_dynamic_size_storage) && (((MaxCols*MaxRows) % ei_packet_traits<Scalar>::size) == 0))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user