diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-04-29 00:58:41 +0000 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-04-29 00:58:41 +0000 |
commit | fbe7916c552c7ae3159a2e571654092c58ae1d87 (patch) | |
tree | 615ec79357960b0cf3767545ff6b034507962caf /Eigen/src/Core/arch/SSE | |
parent | 82f54ad144d67c319abe218bcecfc08b05ac5a40 (diff) |
Fix compilation error with Clang on Android: _mm_extract_epi64 fails to compile.
Diffstat (limited to 'Eigen/src/Core/arch/SSE')
-rwxr-xr-x | Eigen/src/Core/arch/SSE/PacketMath.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h index 16215ec72..f4a409430 100755 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -776,17 +776,10 @@ template<> EIGEN_STRONG_INLINE int predux<Packet4i>(const Packet4i& a) } #endif -#ifdef EIGEN_VECTORIZE_SSE4_1 -template<> EIGEN_STRONG_INLINE bool predux<Packet16b>(const Packet16b& a) { - Packet16b tmp = _mm_or_si128(a, _mm_unpackhi_epi64(a,a)); - return _mm_extract_epi64(tmp, 0) != 0; -} -#else template<> EIGEN_STRONG_INLINE bool predux<Packet16b>(const Packet16b& a) { Packet4i tmp = _mm_or_si128(a, _mm_unpackhi_epi64(a,a)); return (pfirst(tmp) != 0) || (pfirst<Packet4i>(_mm_shuffle_epi32(tmp, 1)) != 0); } -#endif // Other reduction functions: |