Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSVC: fix isnan(fixed_size_simd) somehow returning bool
For inexplicable reasons `isnan(fixed_size_simd<double, 19>())` returns bool. None of the Vc functions could have been the chosen overload of isnan for this too happen. Whatever crazy things Microsoft does to have such an isnan function... now Vc tries harder to grab overloads of fixed_size_simd. In addition, the workaround for a MSVC miscompilation, now is ill-formed when compiled for AVX, since SimdArray<double, 8, SSE::Vector<double>, 2> will use AVX::Vector<double> for its internal_data[01]. Signed-off-by: Matthias Kretz <kretz@kde.org>
- Loading branch information
Showing
2 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters