Skip to content

Commit f28c937

Browse files
marzerserge-sans-paille
authored andcommitted
Fix SSE2 not being detected on MSVC for 32-bit x86 targets
1 parent 8b0efbe commit f28c937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xsimd/config/xsimd_config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
#define XSIMD_WITH_SSE3 1
246246
#endif
247247

248-
#if XSIMD_WITH_SSE3
248+
#if XSIMD_WITH_SSE3 || (defined(_M_IX86_FP) && _M_IX86_FP >= 2)
249249
#undef XSIMD_WITH_SSE2
250250
#define XSIMD_WITH_SSE2 1
251251
#endif

0 commit comments

Comments
 (0)