diff options
author | Gael Guennebaud <g.gael@free.fr> | 2019-01-14 21:45:56 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2019-01-14 21:45:56 +0100 |
commit | 250dcd1fdbd3c52a53e57cd8f5d5591fd1e61b56 (patch) | |
tree | 970a20d0fa3f573430d972863a426795a59a9059 /Eigen/src/Core/arch/NEON/Complex.h | |
parent | 3c9e6d206d6ba0fe5146a634d594469b1d76780f (diff) |
bug #1652: fix position of EIGEN_ALIGN16 attributes in Neon and Altivec
Diffstat (limited to 'Eigen/src/Core/arch/NEON/Complex.h')
-rw-r--r-- | Eigen/src/Core/arch/NEON/Complex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/arch/NEON/Complex.h b/Eigen/src/Core/arch/NEON/Complex.h index 306a309be..62d107645 100644 --- a/Eigen/src/Core/arch/NEON/Complex.h +++ b/Eigen/src/Core/arch/NEON/Complex.h @@ -146,7 +146,7 @@ template<> EIGEN_STRONG_INLINE void prefetch<std::complex<float> >(const std::co template<> EIGEN_STRONG_INLINE std::complex<float> pfirst<Packet2cf>(const Packet2cf& a) { - std::complex<float> EIGEN_ALIGN16 x[2]; + EIGEN_ALIGN16 std::complex<float> x[2]; vst1q_f32((float *)x, a.v); return x[0]; } @@ -401,7 +401,7 @@ template<> EIGEN_DEVICE_FUNC inline void pscatter<std::complex<double>, Packet1c template<> EIGEN_STRONG_INLINE std::complex<double> pfirst<Packet1cd>(const Packet1cd& a) { - std::complex<double> EIGEN_ALIGN16 res; + EIGEN_ALIGN16 std::complex<double> res; pstore<std::complex<double> >(&res, a); return res; |