Skip to content

Commit d0c7def

Browse files
committed
* try to fix error on x86 platform step2.
1 parent 50fa3ad commit d0c7def

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/fast_float/float_common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ using parse_options = parse_options_t<char>;
179179
#if defined(__SSE2__) || (defined(FASTFLOAT_VISUAL_STUDIO) && \
180180
(defined(_M_AMD64) || defined(_M_X64) || \
181181
(defined(_M_IX86_FP) && _M_IX86_FP == 2)))
182-
#define FASTFLOAT_SSE2 1
182+
// try to fix error on x86 platform: disable SSE2 code
183+
//#define FASTFLOAT_SSE2 1
183184
#endif
184185

185186
#if defined(__aarch64__) || defined(_M_ARM64)

0 commit comments

Comments
 (0)