diff options
author | Konstantinos Margaritis <markos@freevec.org> | 2016-04-15 07:08:57 -0400 |
---|---|---|
committer | Konstantinos Margaritis <markos@freevec.org> | 2016-04-15 07:08:57 -0400 |
commit | 0e8fc3108762203867926252c1862a07e16b9514 (patch) | |
tree | c573a5eee63436f401c772a4f0b10c48a656b55d /Eigen/src/Core/arch/ZVector/Complex.h | |
parent | a62e9246562970f384f316c66d17c6ed4bd2a55a (diff) |
remove pgather/pscatter for std::complex<double> for s390x
Diffstat (limited to 'Eigen/src/Core/arch/ZVector/Complex.h')
-rw-r--r-- | Eigen/src/Core/arch/ZVector/Complex.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Eigen/src/Core/arch/ZVector/Complex.h b/Eigen/src/Core/arch/ZVector/Complex.h index 9a8735ac1..e9d83eca6 100644 --- a/Eigen/src/Core/arch/ZVector/Complex.h +++ b/Eigen/src/Core/arch/ZVector/Complex.h @@ -57,21 +57,6 @@ template<> EIGEN_STRONG_INLINE void pstoreu<std::complex<double> >(std::complex< template<> EIGEN_STRONG_INLINE Packet1cd pset1<Packet1cd>(const std::complex<double>& from) { /* here we really have to use unaligned loads :( */ return ploadu<Packet1cd>(&from); } -template<> EIGEN_DEVICE_FUNC inline Packet1cd pgather<std::complex<double>, Packet1cd>(const std::complex<double>* from, Index stride) -{ - std::complex<double> EIGEN_ALIGN16 af[2]; - af[0] = from[0*stride]; - af[1] = from[1*stride]; - return pload<Packet1cd>(af); -} -template<> EIGEN_DEVICE_FUNC inline void pscatter<std::complex<double>, Packet1cd>(std::complex<double>* to, const Packet1cd& from, Index stride) -{ - std::complex<double> EIGEN_ALIGN16 af[2]; - pstore<std::complex<double> >(af, from); - to[0*stride] = af[0]; - to[1*stride] = af[1]; -} - template<> EIGEN_STRONG_INLINE Packet1cd padd<Packet1cd>(const Packet1cd& a, const Packet1cd& b) { return Packet1cd(a.v + b.v); } template<> EIGEN_STRONG_INLINE Packet1cd psub<Packet1cd>(const Packet1cd& a, const Packet1cd& b) { return Packet1cd(a.v - b.v); } template<> EIGEN_STRONG_INLINE Packet1cd pnegate(const Packet1cd& a) { return Packet1cd(pnegate(Packet2d(a.v))); } |