aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/SSE
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-04-29 00:58:41 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-04-29 00:58:41 +0000
commitfbe7916c552c7ae3159a2e571654092c58ae1d87 (patch)
tree615ec79357960b0cf3767545ff6b034507962caf /Eigen/src/Core/arch/SSE
parent82f54ad144d67c319abe218bcecfc08b05ac5a40 (diff)
Fix compilation error with Clang on Android: _mm_extract_epi64 fails to compile.
Diffstat (limited to 'Eigen/src/Core/arch/SSE')
-rwxr-xr-xEigen/src/Core/arch/SSE/PacketMath.h7
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: