mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 03:09:01 +08:00
bug #1605: workaround ABI issue with vector types (aka __m128) versus scalar types (aka float)
This commit is contained in:
parent
564ca71e39
commit
de2efbc43c
@ -28,7 +28,7 @@ namespace internal {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined EIGEN_VECTORIZE_AVX) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_MINGW) && (__GXX_ABI_VERSION < 1004)
|
#if ((defined EIGEN_VECTORIZE_AVX) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_MINGW) && (__GXX_ABI_VERSION < 1004)) || EIGEN_OS_QNX
|
||||||
// With GCC's default ABI version, a __m128 or __m256 are the same types and therefore we cannot
|
// With GCC's default ABI version, a __m128 or __m256 are the same types and therefore we cannot
|
||||||
// have overloads for both types without linking error.
|
// have overloads for both types without linking error.
|
||||||
// One solution is to increase ABI version using -fabi-version=4 (or greater).
|
// One solution is to increase ABI version using -fabi-version=4 (or greater).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user