Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions include/xsimd/config/xsimd_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,34 +211,42 @@
#ifdef _MSC_VER

#if XSIMD_WITH_AVX512
#undef XSIMD_WITH_AVX2
#define XSIMD_WITH_AVX2 1
#endif

#if XSIMD_WITH_AVX2
#undef XSIMD_WITH_AVX
#define XSIMD_WITH_AVX 1
#endif

#if XSIMD_WITH_AVX
#undef XSIMD_WITH_SSE4_2
#define XSIMD_WITH_SSE4_2 1
#endif

#if !defined(__clang__) && (defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2))
#undef XSIMD_WITH_SSE4_2
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#define XSIMD_WITH_SSE4_2 1
#endif

#if XSIMD_WITH_SSE4_2
#undef XSIMD_WITH_SSE4_1
#define XSIMD_WITH_SSE4_1 1
#endif

#if XSIMD_WITH_SSE4_1
#undef XSIMD_WITH_SSSE3
#define XSIMD_WITH_SSSE3 1
#endif

#if XSIMD_WITH_SSSE3
#undef XSIMD_WITH_SSE3
#define XSIMD_WITH_SSE3 1
#endif

#if XSIMD_WITH_SSE3
#undef XSIMD_WITH_SSE2
#define XSIMD_WITH_SSE2 1
#endif

Expand Down
4 changes: 2 additions & 2 deletions test/test_select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class select_test : public testing::Test
detail::store_batch(out, res, i);
}
size_t diff = detail::get_nb_diff(res, expected);
EXPECT_EQ(diff, 0) << print_function_name("pow");
EXPECT_EQ(diff, 0) << print_function_name("select_dynamic");
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

happen to see this typo

}
struct pattern
{
Expand All @@ -83,7 +83,7 @@ class select_test : public testing::Test
detail::store_batch(out, res, i);
}
size_t diff = detail::get_nb_diff(res, expected);
EXPECT_EQ(diff, 0) << print_function_name("pow");
EXPECT_EQ(diff, 0) << print_function_name("select_static");
}
};

Expand Down