diff options
author | Guoqiang QI <425418567@qq.com> | 2020-11-17 12:27:01 +0000 |
---|---|---|
committer | David Tellenbach <david.tellenbach@me.com> | 2020-11-17 12:27:01 +0000 |
commit | 394f564055f3723ead6dd45fdb9013ea77f8f6ad (patch) | |
tree | 847bbc564d7b265945228f31e66c31bacecea2c6 /Eigen/src/Core/arch/NEON/TypeCasting.h | |
parent | 8e9cc5b10a16dde87c65e9e9c4471095f78e11d4 (diff) |
Unify Inverse_SSE.h and Inverse_NEON.h into a single generic implementation using PacketMath.
Diffstat (limited to 'Eigen/src/Core/arch/NEON/TypeCasting.h')
-rw-r--r-- | Eigen/src/Core/arch/NEON/TypeCasting.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Eigen/src/Core/arch/NEON/TypeCasting.h b/Eigen/src/Core/arch/NEON/TypeCasting.h index 80be213d2..54f97336e 100644 --- a/Eigen/src/Core/arch/NEON/TypeCasting.h +++ b/Eigen/src/Core/arch/NEON/TypeCasting.h @@ -1401,6 +1401,14 @@ template <> EIGEN_STRONG_INLINE Packet2ul preinterpret<Packet2ul, Packet2d>(const Packet2d& a) { return vreinterpretq_u64_f64(a); } +template <> +EIGEN_STRONG_INLINE Packet2d preinterpret<Packet2d, Packet4i>(const Packet4i& a) { + return vreinterpretq_f64_s32(a); +} +template <> +EIGEN_STRONG_INLINE Packet4i preinterpret<Packet4i, Packet2d>(const Packet2d& a) { + return vreinterpretq_s32_f64(a); +} #endif // EIGEN_ARCH_ARM64 |